mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Validate PCI controller options (busNr)
This change catches an invalid use of the option in our test suite. https://bugzilla.redhat.com/show_bug.cgi?id=1483816 Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<address type='pci' bus='0x00' slot='4'/>
|
||||
</controller>
|
||||
<controller type='pci' index='2' model='pcie-root-port'>
|
||||
<target busNr='220'>
|
||||
<target>
|
||||
<node>1</node>
|
||||
</target>
|
||||
<address type='pci' bus='0x01'/>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</controller>
|
||||
<controller type='pci' index='2' model='pcie-root-port'>
|
||||
<model name='ioh3420'/>
|
||||
<target chassis='2' port='0x0' busNr='220'>
|
||||
<target chassis='2' port='0x0'>
|
||||
<node>1</node>
|
||||
</target>
|
||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||
|
||||
Reference in New Issue
Block a user