[libvirt] Add device operations support for libvirt (lxc)

Heiher admin at heiher.info
Tue Oct 23 12:53:11 UTC 2012


Hello,

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)'.

Please see: https://bugzilla.redhat.com/show_bug.cgi?id=869259

-- 
Best regards!
Heiher
https://heiher.info




More information about the libvir-list mailing list