Bug 869259

Summary: Add device operations support for libvirt (lxc)
Product: [Community] Virtualization Tools Reporter: Heiher <admin>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, eblake, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-23 23:04:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Add device operations support for libvirt lxc. none

Description Heiher 2012-10-23 12:26:05 UTC
Currently, libvirt is not support device operations for lxc.

This is a patch that add device operations support for libvirt 0.10.2.
1. lxcDomainAttachDevice
2. lxcDomainAttachDeviceFlags
3. lxcDomainDetachDevice
4. lxcDomainDetachDeviceFlags
5. lxcDomainUpdateDeviceFlags

In live mode, set devices.allow/deny to instance's cgroup and insert disk config into current domain.
In config mode, just insert disk config into current domain.
  
This is part of 'Fix up attach/detach volume for nova (openstack)'.

Comment 1 Heiher 2012-10-23 12:27:41 UTC
Created attachment 632064 [details]
Add device operations support for libvirt lxc.

Comment 2 Eric Blake 2012-10-23 12:39:40 UTC
Please post this patch to the upstream list, libvir-list, for faster review.  Not all the list participants actively follow bugzilla for patches.

Comment 3 Cole Robinson 2016-03-23 23:04:06 UTC
attach/detach device was eventually added upstream for lxc