]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hvf: enable nested virtualisation support
authorMohamed Mediouni <mohamed@unpredictable.fr>
Tue, 5 May 2026 08:25:22 +0000 (09:25 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 May 2026 08:30:12 +0000 (09:30 +0100)
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>
hw/arm/virt.c

index ca504110203b5f5410521c6265b8eac0fa147758..ad0a4599872411ff1232ebfeb21c4405a9e74999 100644 (file)
@@ -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());