[libvirt] [PATCH 02/14] Fix path used for USB device attach with LXC

2014-02-07 Thread Daniel P. Berrange
The LXC code missed the 'usb' component out of the path /dev/bus/usb/$BUSNUM/$DEVNUM, so it failed to actually setup cgroups for the device. This was in fact lucky because the call to virLXCSetupHostUsbDeviceCgroup was also mistakenly passing 'priv-cgroup' instead of just 'priv-cgroup'. So once

Re: [libvirt] [PATCH 02/14] Fix path used for USB device attach with LXC

2014-02-07 Thread Eric Blake
On 02/07/2014 08:33 AM, Daniel P. Berrange wrote: The LXC code missed the 'usb' component out of the path /dev/bus/usb/$BUSNUM/$DEVNUM, so it failed to actually setup cgroups for the device. This was in fact lucky because the call to virLXCSetupHostUsbDeviceCgroup was also mistakenly passing