[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2] Implement path lookup for USB by vendor:product



On 01/13/2010 03:50 PM, Cole Robinson wrote:
> Based off how QEMU does it, look through /sys/bus/usb/devices/* for
> matching vendor:product info, and if found, use info from the surrounding
> files to build the device's /dev/bus/usb path.
> 
> This fixes USB device assignment by vendor:product when running qemu
> as non-root (well, it should, but for some reason I couldn't reproduce
> the failure people are seeing in [1], but it appears to work properly)
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=542450
> 
> v2:
>     Drop 'bus.addr only' checks in security drivers
>     Use various util helpers
> 

Pushed now with my other pending patches (except the ia64 one which had comments).

- Cole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]