Re: [libvirt] [PATCH 06/14] Move check for cgroup devices ACL upfront in LXC hotplug

2014-02-07 Thread Eric Blake
On 02/07/2014 08:33 AM, Daniel P. Berrange wrote: > The check for whether the cgroup devices ACL is available is > done quite late during LXC hotplug - in fact after the device > node is already created in the container in some cases. Better > todo it upfront so we fail immediately. s/todo/to do/

[libvirt] [PATCH 06/14] Move check for cgroup devices ACL upfront in LXC hotplug

2014-02-07 Thread Daniel P. Berrange
The check for whether the cgroup devices ACL is available is done quite late during LXC hotplug - in fact after the device node is already created in the container in some cases. Better todo it upfront so we fail immediately. Signed-off-by: Daniel P. Berrange --- src/lxc/lxc_driver.c | 36 ++