]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virQEMUCapsHasPCIMultiBus: use def->os.arch
authorJán Tomko <jtomko@redhat.com>
Wed, 29 Nov 2017 13:51:22 +0000 (14:51 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 30 Nov 2017 15:49:05 +0000 (16:49 +0100)
commitfdf354fb51e7f00b582d0daa18961d432155df83
tree65b0de7c9b39f863abd671e111c8faffa6959139
parentdacfc6b10bcff1c275d21a37edf0bc83e0947492
virQEMUCapsHasPCIMultiBus: use def->os.arch

We do not fill out qemuCaps->arch when parsing status XML.

Use def->os.arch like we do for PPC.

This fixes hotplug after daemon restart for domains that use
a user alias for the implicit pci-root on x86.

https://bugzilla.redhat.com/show_bug.cgi?id=1518148
src/qemu/qemu_capabilities.c
tests/qemuhotplugtestcpus/ppc64-modern-bulk-result-live.xml
tests/qemuhotplugtestcpus/ppc64-modern-individual-result-live.xml
tests/qemuhotplugtestcpus/x86-modern-bulk-result-live.xml
tests/qemuhotplugtestcpus/x86-modern-individual-add-result-live.xml
tests/qemuhotplugtestcpus/x86-old-bulk-result-live.xml