]> xenbits.xensource.com Git - libvirt.git/commit
qemu: don't be as insistent about adding dmi-to-pci-bridge or pci-bridge
authorLaine Stump <laine@laine.org>
Tue, 19 Apr 2016 21:37:51 +0000 (17:37 -0400)
committerLaine Stump <laine@laine.org>
Thu, 16 Jun 2016 17:32:11 +0000 (13:32 -0400)
commit97b215a45079640a83a1d996ec974715620a5a72
tree9262ecb8790b10e4a7a5187f68d6be519c166b3c
parente9df53052e905c3c9dceef6058b5fdbc1ddd377a
qemu: don't be as insistent about adding dmi-to-pci-bridge or pci-bridge

Previously there was no way to have a Q35 domain that didn't have
these two controllers. This patch skips their creation as long as
there are some other kinds of pci controllers at index 1 and 2
(e.g. some pcie-root-port controllers).

I'm hoping that soon we won't add them at all, plugging all devices
into auto-added pcie-*-port ports instead, but in the meantime this
makes it easier to experiment with alternative bus hierarchies.
src/qemu/qemu_domain.c