@samitouri / QOSamiQemu / commits / 5fbb50747a

tests/functional/test_hotplug_pci.py: Require TCG

The hotplug test asks for the cortex-a57 CPU type, so it will fail on an AArch64 system using KVM where TCG is not compiled into QEMU and the default accelerator is KVM: Output: qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument Restrict it to the TCG accelerator. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260507194728.2034696-6-peter.maydell@linaro.org

Peter Maydell committed May 7, 2026 at 20:47 UTC 5fbb50747ac44136e24b34a00378f4a3d7a96398
1 file changed +1
tests/functional/aarch64/test_hotplug_pci.py
+1
@@ -27,6 +27,7 @@ class HotplugPCI(LinuxKernelTest):
27 def test_hotplug_pci(self):
28
29 self.set_machine('virt')
30 + self.require_accelerator('tcg')
31
32 self.vm.add_args('-m', '512M',
33 '-cpu', 'cortex-a57',