Logo
Explore Help
Sign In
NuKVM/virt-manager
3
0
Fork 0
You've already forked virt-manager
mirror of https://github.com/virt-manager/virt-manager.git synced 2025-02-25 18:55:27 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
ec266d3cda29651aed5bf10b455fdef37aeafcf3
virt-manager/tests/nodedev-xml/devxml/usbdev2.xml

9 lines
174 B
XML
Raw Normal View History

xmlbuilder: Always keep around an xml node, even if building from scratch This further unifies the 'parse existing' vs. 'build new' case.
2013-07-24 14:37:07 -04:00
<hostdev mode="subsystem" type="usb" managed="yes">
<source>
hostdev: add an address element for USB host devs if necessary 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>
2015-07-23 13:15:26 +02:00
<vendor id="0x1d6b"/>
<product id="0x0002"/>
<address bus="2" device="1"/>
xmlbuilder: Always keep around an xml node, even if building from scratch This further unifies the 'parse existing' vs. 'build new' case.
2013-07-24 14:37:07 -04:00
</source>
</hostdev>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 31ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API