[libvirt] sharing multiple identical USB devices?

Guido Günther agx at sigxcpu.org
Fri Jan 16 13:07:52 UTC 2009


On Thu, Jan 15, 2009 at 04:41:00PM -0500, Dr. Michael J. Chudobiak wrote:
> However, I can't seem to get two of these to work at the same time. I  
> want to do:
>
>           <hostdev mode='subsystem' type='usb'>
>             <source>
>               <vendor id='0x0403'/>
>               <product id='0x6001'/>
>               <address bus='0x03' device='0x02'/>
>             </source>
>           </hostdev>
>           <hostdev mode='subsystem' type='usb'>
>             <source>
>               <vendor id='0x0403'/>
>               <product id='0x6001'/>
>               <address bus='0x03' device='0x03'/>
>             </source>
>           </hostdev>
>
> using the "address" stanza to identify the devices uniquely, but it just  
> doesn't work. Is this a bug, or am I doing something wrong?
Qemu/KVM allow to either use vendor/product or address/bus so with two
identical USB devices you need to resort to address/bus only. Does
dropping vendor/product from the XML completely help?
 -- Guido




More information about the libvir-list mailing list