[libvirt] [PATCH 04/14] Fix reset of cgroup when detaching USB device from LXC guests

2014-02-07 Thread Daniel P. Berrange
When detaching a USB device from an LXC guest we must remove the device from the cgroup ACL. Unfortunately we were telling the cgroup code to use the guest /dev path, not the host /dev path, and the guest device node had already been unlinked. This was, however, fortunate since the code passed

Re: [libvirt] [PATCH 04/14] Fix reset of cgroup when detaching USB device from LXC guests

2014-02-07 Thread Eric Blake
On 02/07/2014 08:33 AM, Daniel P. Berrange wrote: When detaching a USB device from an LXC guest we must remove the device from the cgroup ACL. Unfortunately we were telling the cgroup code to use the guest /dev path, not the host /dev path, and the guest device node had already been unlinked.