[libvirt] [PATCH 1/3] usb: create functions to search usb device accurately

Guannan Ren gren at redhat.com
Tue May 1 08:25:49 UTC 2012


On 04/30/2012 04:00 PM, Martin Kletzander wrote:
> On 04/28/2012 12:13 PM, Guannan Ren wrote:
>> usbFindDevice():get usb device according to
>>                  idVendor, idProduct, bus, device
>>                  it is the most strict search
>>
>> usbFindDevByBus():get usb device according to bus, device
>>                    it returns only one usb device same as usbFindDevice
>>
>> usbFindDevByVendor():get usb device according to idVendor,idProduct
>>                       it probably returns multiple usb devices.
>>
>> usbDeivceSearch(): a helper function to do the actual search
> Typo:
>
> s/Deivce/Device/
>
> but unfortunately in the whole patch =)
>

      Thanks, fixed in v2.

      Guannan Ren




More information about the libvir-list mailing list