summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorFabian Vogt <fvogt@suse.de>2025-08-19 19:39:02 -0300
committerHarsh Prateek Bora <harshpb@linux.ibm.com>2025-09-28 23:44:22 +0530
commitf5738aedc21790bd07dbead6b6272a605d5c1138 (patch)
treec8161a2fd6165cfb1bec4364bdcf5da2e79e142e /hw/intc
parentfd93e521b01a5416bb7f106ac29d755bc3059aaa (diff)
downloadfocaccia-qemu-f5738aedc21790bd07dbead6b6272a605d5c1138.tar.gz
focaccia-qemu-f5738aedc21790bd07dbead6b6272a605d5c1138.zip
hw/intc/xics: Add missing call to register vmstate_icp_server
An obsolete wrapper function with a workaround was removed entirely,
without restoring the call it wrapped.

Without this, the guest is stuck after savevm/loadvm.

Fixes: 24ee9229fe31 ("ppc/spapr: remove deprecated machine pseries-2.9")
Signed-off-by: Fabian Vogt <fvogt@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/6187781.lOV4Wx5bFT@fvogt-thinkpad
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Gautam Menghani <gautam@linux.ibm.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Link: https://lore.kernel.org/r/20250819223905.2247-2-farosas@suse.de
Message-ID: <20250819223905.2247-2-farosas@suse.de>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index d9a199e883..200710eb6c 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -335,6 +335,8 @@ static void icp_realize(DeviceState *dev, Error **errp)
             return;
         }
     }
+
+    vmstate_register(NULL, icp->cs->cpu_index, &vmstate_icp_server, icp);
 }
 
 static void icp_unrealize(DeviceState *dev)