Re: [libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-05-16 Thread Michal Privoznik
On 04.05.2012 10:25, Guannan Ren wrote: refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand qemuPrepareHostUSBDevices to perform the usb

Re: [libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-05-06 Thread Guannan Ren
On 05/05/2012 03:36 AM, Eric Blake wrote: On 05/04/2012 02:25 AM, Guannan Ren wrote: refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand

[libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-05-04 Thread Guannan Ren
refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand qemuPrepareHostUSBDevices to perform the usb search, rollback on failure. ---

Re: [libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-05-04 Thread Eric Blake
On 05/04/2012 02:25 AM, Guannan Ren wrote: refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand qemuPrepareHostUSBDevices to perform the

[libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-05-03 Thread Guannan Ren
refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand qemuPrepareHostUSBDevices to perform the usb search, rollback on failure. ---

[libvirt] [PATCH 2/3] qemu: make use of usb search function to initialize usb devices

2012-04-28 Thread Guannan Ren
refactor qemuPrepareHostdevUSBDevices function, make it focus on adding usb device to activeUsbHostdevs after check. After that, the usb hotplug function qemuDomainAttachHostDevice also could use it. expand qemuPrepareHostUSBDevices to perform the usb search, rollback on failure. ---