Re: [libvirt] [PATCH] Add device operations for lxc v1

2012-11-22 Thread Daniel P. Berrange
On Wed, Oct 24, 2012 at 11:38:25AM +0800, Heiher wrote: > Hello, > > Operations: > 1. lxcDomainAttachDevice > 2. lxcDomainAttachDeviceFlags > 3. lxcDomainDetachDevice > 4. lxcDomainDetachDeviceFlags > 5. lxcDomainUpdateDeviceFlags > > In live mode, set devices.allow/deny to instance's cgroup

[libvirt] [PATCH] Add device operations for lxc v1

2012-10-23 Thread Heiher
Hello, Operations: 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 dis