mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Automatically add multifunction address parameter when needed
Also check for use of duplicate addresses before passing such XML to libvirt. And fix tests (of course).
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</controller>
|
||||
<controller type="usb" index="0" model="ich9-uhci1">
|
||||
<master startport="0"/>
|
||||
<address type="pci" domain="0" bus="0" slot="4" function="0"/>
|
||||
<address type="pci" domain="0" bus="0" slot="4" function="0" multifunction="on"/>
|
||||
</controller>
|
||||
<controller type="usb" index="0" model="ich9-uhci2">
|
||||
<master startport="2"/>
|
||||
@@ -134,7 +134,7 @@
|
||||
</controller>
|
||||
<controller type="usb" index="0" model="ich9-uhci1">
|
||||
<master startport="0"/>
|
||||
<address type="pci" domain="0" bus="0" slot="4" function="0"/>
|
||||
<address type="pci" domain="0" bus="0" slot="4" function="0" multifunction="on"/>
|
||||
</controller>
|
||||
<controller type="usb" index="0" model="ich9-uhci2">
|
||||
<master startport="2"/>
|
||||
|
||||
Reference in New Issue
Block a user