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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]