From: Mark Cave-Ayland <mark.caveayl...@nutanix.com>

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.caveayl...@nutanix.com>
Link: 
https://lore.kernel.org/r/20250828111057.468712-8-mark.caveayl...@nutanix.com
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
 hw/i386/pc_piix.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index f1b4468d0a1..5ae265bd538 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -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
 
-- 
2.51.0


Reply via email to