Commit 6f8f25614d for qemu.org
commit 6f8f25614d1f5662a246d99abcada94d0d5730de
Author: Mohamed Mediouni <mohamed@unpredictable.fr>
Date: Tue May 5 09:25:22 2026 +0100
hvf: enable nested virtualisation support
Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-id: 20260429190532.26538-15-mohamed@unpredictable.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index ca50411020..ad0a459987 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -2719,7 +2719,8 @@ static void machvirt_init(MachineState *machine)
exit(1);
}
- if (vms->virt && !kvm_enabled() && !tcg_enabled() && !qtest_enabled()) {
+ if (vms->virt && !kvm_enabled() && !tcg_enabled()
+ && !hvf_enabled() && !qtest_enabled()) {
error_report("mach-virt: %s does not support providing "
"Virtualization extensions to the guest CPU",
current_accel_name());