mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
b06c91d2fc
This issue was fixed for few years but only in virt-manager, virt-install has the same bug. If you have two USB devices with same vendor and product ID, you need to use also address element to create a valid XML to define that device into a guest. This patch moves the logic from vmmAddHardware into VirtualHostDevice in order to not duplicate that code for virt-manager and virt-install. Also update the tests files to properly check this functionality. I've changed the USB device according the 'tests/testdriver.xml' and picked one of the USB HUBs, because they have the same vendor and product ID. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1230611 Signed-off-by: Pavel Hrdina <phrdina@redhat.com> |
||
---|---|---|
.. | ||
pcidev.xml | ||
usbdev1.xml | ||
usbdev2.xml |