]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/i386/pc_piix.c: remove igvm initialisation from pc_init_isa()
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Thu, 28 Aug 2025 11:09:50 +0000 (12:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Aug 2025 09:20:47 +0000 (11:20 +0200)
According to the QEMU documentation igvm is only supported for the pc and q35
machines so remove igvm support from the isapc machine.

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Link: https://lore.kernel.org/r/20250828111057.468712-8-mark.caveayland@nutanix.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc_piix.c

index f1b4468d0a117643bd2909a9427a117bc13c5007..5ae265bd538d1b8abed4a85028c9a43dd3675cb4 100644 (file)
@@ -640,16 +640,6 @@ static void pc_init_isa(MachineState *machine)
                                x86_nvdimm_acpi_dsmio,
                                x86ms->fw_cfg, OBJECT(pcms));
     }
-
-#if defined(CONFIG_IGVM)
-    /* Apply guest state from IGVM if supplied */
-    if (x86ms->igvm) {
-        if (IGVM_CFG_GET_CLASS(x86ms->igvm)
-                ->process(x86ms->igvm, machine->cgs, false, &error_fatal) < 0) {
-            g_assert_not_reached();
-        }
-    }
-#endif
 }
 #endif