]> xenbits.xensource.com Git - libvirt.git/commit
qemu: don't add pci-bridge to Q35/arm domains unless it's needed
authorLaine Stump <laine@laine.org>
Fri, 22 Apr 2016 21:01:33 +0000 (17:01 -0400)
committerLaine Stump <laine@laine.org>
Thu, 16 Jun 2016 17:48:25 +0000 (13:48 -0400)
commitd5fb8f4564aa68ec78cc5c784bd8c6eb01a3744d
treeaeffc25cb8ee56b317eb15fbaebff1edad24fe07
parent97b215a45079640a83a1d996ec974715620a5a72
qemu: don't add pci-bridge to Q35/arm domains unless it's needed

Until now, a Q35 domain (or arm/virt, or any other domain that has a
pcie-root bus) would always have a pci-bridge added, so that there
would be a hotpluggable standard PCI slot available to plug in any PCI
devices that might be added. This patch removes the explicit add,
instead relying on the pci-bridge being auto-added during PCI address
assignment (it will add a pci-bridge if there are no free slots).

This doesn't eliminate the dmi-to-pci-bridge controller that is
explicitly added whether or not a standard PCI slot is required (and
that is almost never used as anything other than a converter between
pcie.0's PCIe slots and standard PCI). That will be done separately.
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.args
tests/qemuxml2argvdata/qemuxml2argv-pcie-root.args
tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-pcie-root.xml