]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: only force an available legacy-PCI slot on domains with pci-root
authorLaine Stump <laine@laine.org>
Mon, 19 Sep 2016 18:17:59 +0000 (14:17 -0400)
committerLaine Stump <laine@laine.org>
Mon, 14 Nov 2016 19:18:49 +0000 (14:18 -0500)
commitb2c887844f278f7122106b6362994a9072884ab6
treec9f00e33780c59b1ab84d4d3c635d687458eaa4d
parent5266426b211c23c80aae272e858e9500d7f4332c
qemu: only force an available legacy-PCI slot on domains with pci-root

Andrea had the right idea when he disabled the "reserve an extra
unused slot" bit for aarch64/virt. For *any* PCI Express-based
machine, it is pointless since 1) an extra legacy-PCI slot can't be
used for hotplug, since hotplug into legacy PCI slots doesn't work on
PCI Express machinetypes, and 2) even for "coldplug" expansion,
everybody will want to expand using Express controllers, not legacy
PCI.

This patch eliminates the extra slot reserve unless the system has a
pci-root (i.e. legacy PCI)
src/qemu/qemu_domain_address.c