]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use PHBs to fill holes in PCI bus numbering
authorAndrea Bolognani <abologna@redhat.com>
Fri, 26 May 2017 17:34:21 +0000 (19:34 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Sat, 15 Jul 2017 12:50:42 +0000 (14:50 +0200)
commit045515d36935e958a87745cb4723e401cb8b2cdd
treea36af8c885911db38d9e4ee74e8a3a77449ee9d1
parentca1c362a30f8451472e2800b7ef2880761559b35
qemu: Use PHBs to fill holes in PCI bus numbering

PCI bus has to be numbered sequentially, and no index can be
missing, so libvirt will fill in the blanks automatically for
the user.

Up until now, it has done so using either pci-bridge, for machine
types based on legacy PCI, or pcie-root-port, for machine types
based on PCI Express. Neither choice is good for pSeries guests,
where PHBs (pci-root) should be used instead.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
src/qemu/qemu_domain_address.c
tests/qemuxml2argvdata/qemuxml2argv-pseries-many-buses-2.args
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-many-buses-2.xml
tests/qemuxml2xmltest.c