[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 23/26] tests/functional: Restrict nexted Aarch64 Xen test to TCG
- To: Thomas Huth <thuth@xxxxxxxxxx>, qemu-devel@xxxxxxxxxx, "open list:X86 Xen CPUs" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, David Woodhouse <dwmw2@xxxxxxxxxxxxx>
- From: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
- Date: Mon, 23 Jun 2025 13:59:22 +0200
- Cc: Leif Lindholm <leif.lindholm@xxxxxxxxxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, Radoslaw Biernacki <rad@xxxxxxxxxxxx>, Alexander Graf <agraf@xxxxxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>, Phil Dennis-Jordan <phil@xxxxxxxxxxxxx>, Alex Bennée <alex.bennee@xxxxxxxxxx>, Bernhard Beschow <shentey@xxxxxxxxx>, Cleber Rosa <crosa@xxxxxxxxxx>, Peter Maydell <peter.maydell@xxxxxxxxxx>, Cameron Esfahani <dirty@xxxxxxxxx>, kvm@xxxxxxxxxxxxxxx, qemu-arm@xxxxxxxxxx, Eric Auger <eric.auger@xxxxxxxxxx>, Daniel P. Berrangé <berrange@xxxxxxxxxx>, Roman Bolshakov <rbolshakov@xxxxxxx>, John Snow <jsnow@xxxxxxxxxx>
- Delivery-date: Mon, 23 Jun 2025 11:59:40 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 23/6/25 10:11, Thomas Huth wrote:
On 20/06/2025 15.07, Philippe Mathieu-Daudé wrote:
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é <philmd@xxxxxxxxxx>
---
tests/functional/test_aarch64_xen.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/functional/test_aarch64_xen.py b/tests/functional/
test_aarch64_xen.py
index 339904221b0..261d796540d 100755
--- a/tests/functional/test_aarch64_xen.py
+++ b/tests/functional/test_aarch64_xen.py
@@ -33,6 +33,7 @@ def launch_xen(self, xen_path):
"""
Launch Xen with a dom0 guest kernel
"""
+ self.require_accelerator("tcg") # virtualization=on
What about kvm (or xen) as accelerator? Would that work?
IIUC this tests boots a nested Xen guest running at Aarch64 EL2,
and at this point we can only run EL2/EL3 on TCG. HVF and KVM
can not for now (we are working on it).
I don't know if Xen can accelerate EL2, it would need support for
such hardware (like the Apple Silicon M4). Cc'ing Xen folks to
figure it out.
|