From: Fabian Vogt Date: Tue, 19 Aug 2025 22:39:02 +0000 (-0300) Subject: hw/intc/xics: Add missing call to register vmstate_icp_server X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5738aedc21790bd07dbead6b6272a605d5c1138;p=thirdparty%2Fqemu.git 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 Reviewed-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/qemu-devel/6187781.lOV4Wx5bFT@fvogt-thinkpad Signed-off-by: Fabiano Rosas Reviewed-by: Gautam Menghani Signed-off-by: Harsh Prateek Bora Link: https://lore.kernel.org/r/20250819223905.2247-2-farosas@suse.de Message-ID: <20250819223905.2247-2-farosas@suse.de> --- diff --git a/hw/intc/xics.c b/hw/intc/xics.c index d9a199e8834..200710eb6ca 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)