Commit 5fbb50747a for qemu.org

commit 5fbb50747ac44136e24b34a00378f4a3d7a96398
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Thu May 7 20:47:27 2026 +0100

    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

diff --git a/tests/functional/aarch64/test_hotplug_pci.py b/tests/functional/aarch64/test_hotplug_pci.py
index bf67720431..9ee1446a83 100755
--- a/tests/functional/aarch64/test_hotplug_pci.py
+++ b/tests/functional/aarch64/test_hotplug_pci.py
@@ -27,6 +27,7 @@ class HotplugPCI(LinuxKernelTest):
     def test_hotplug_pci(self):

         self.set_machine('virt')
+        self.require_accelerator('tcg')

         self.vm.add_args('-m', '512M',
                          '-cpu', 'cortex-a57',