提交 b156546c 编写于 作者: L Lukáš Doktor

qemu..smbios: Avoid defining extra pci_controllers

The extra pci_controllers are needed on q35 for hotplug purposes, but
this test even on q35 machine-type attempts to boot all supported
machine-types including i440fx. The i440fx requires additional PCIE
root-complex and this is not handled by Avocado-vt automatically and
would require complex handling only to get something that is not needed
by the test. Let's simply not create the additional controllers as we
don't need them.

Without this patch we are getting:

    "Can't add chassis slot, error -16"

because Avocado-vt does not define chassis for PCI busses (it does that
only for PCIE busses). Yes, it'd be possible to add support for extra
controllers for i440fx, but at this point it is not necessary and this
solution is way simpler.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 27c77793
......@@ -5,6 +5,10 @@
type = smbios_table
requires_root = yes
start_vm = no
# Remove extra pci_controllers as they only make sense for q35 but we
# might be booting i440fx machines as well which would require PCIE
# bridge
pcie_extra_root_port = 0
SKU_System = "KVM"
Family_System = "VIRT"
dmikeyword_Bios = Vendor Version Date
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册