From 72846594b089f03bed1bb46958c910afcb859d49 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Tue, 1 Jul 2025 15:08:35 +0100 Subject: tests/functional: Restrict nested Aarch64 Xen test to TCG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently QEMU only support accelerating EL0 and EL1, so features requiring EL2 (like virtualization) or EL3 must be emulated with TCG. On macOS this test fails: qemu-system-aarch64: mach-virt: HVF does not support providing Virtualization extensions to the guest CPU Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20250623121845.7214-24-philmd@linaro.org Signed-off-by: Peter Maydell --- tests/functional/test_aarch64_xen.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/functional/test_aarch64_xen.py') diff --git a/tests/functional/test_aarch64_xen.py b/tests/functional/test_aarch64_xen.py index 339904221b..261d796540 100755 --- a/tests/functional/test_aarch64_xen.py +++ b/tests/functional/test_aarch64_xen.py @@ -33,6 +33,7 @@ class BootXen(LinuxKernelTest): """ Launch Xen with a dom0 guest kernel """ + self.require_accelerator("tcg") # virtualization=on self.set_machine('virt') self.cpu = "cortex-a57" self.kernel_path = self.ASSET_KERNEL.fetch() -- cgit 1.4.1