[libvirt] [PATCH] conf: fix a failure when detaching a usb device

2013-03-26 Thread Guannan Ren
#virsh detach-device $guest usb.xml error: Failed to detach device from usb2.xml error: operation failed: host usb device vendor=0x0951 \ product=0x1625 not found This regresstion is due to a typo in matching function. The first argument is always the usb device that we are checking for. If

Re: [libvirt] [PATCH] conf: fix a failure when detaching a usb device

2013-03-26 Thread Michal Privoznik
On 26.03.2013 15:17, Guannan Ren wrote: #virsh detach-device $guest usb.xml error: Failed to detach device from usb2.xml error: operation failed: host usb device vendor=0x0951 \ product=0x1625 not found This regresstion is due to a typo in matching function. The first argument is

Re: [libvirt] [PATCH] conf: fix a failure when detaching a usb device

2013-03-26 Thread Guannan Ren
On 03/26/2013 11:04 PM, Michal Privoznik wrote: On 26.03.2013 15:17, Guannan Ren wrote: #virsh detach-device $guest usb.xml error: Failed to detach device from usb2.xml error: operation failed: host usb device vendor=0x0951 \ product=0x1625 not found This regresstion is due to a typo