mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
When there are multiple usb devices with same vendor/product in the host device list, the bus/addr is going to be used when attaching one of usb devices. Currently is_dup flag is only useful to VirtualHostDeviceUSB. I put get_nodedevs_number() in connection.py, so the startup hooks can use it.
8 lines
201 B
XML
8 lines
201 B
XML
<hostdev mode='subsystem' type='usb' managed='yes'>
|
|
<source>
|
|
<vendor id='0x0781'/>
|
|
<product id='0x5151'/>
|
|
<address bus='1' device='4'/>
|
|
</source>
|
|
</hostdev>
|