Commit a90db15 "target-ppc: Convert ppc cpu savevm to VMStateDescription" appears to drop the internal CPU IRQ state from the migration stream. Whilst testing migration on g3beige/mac99 machines, test images would randomly fail to resume unless a key was pressed on the VGA console.
Further investigation suggests that internal CPU IRQ state isn't being preserved and so interrupts asserted at the time of migration are lost. Adding the pending_interrupts and irq_input_state fields back into the migration stream appears to fix the problem here during local tests. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> --- target-ppc/machine.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-ppc/machine.c b/target-ppc/machine.c index bd99844..968a7d6 100644 --- a/target-ppc/machine.c +++ b/target-ppc/machine.c @@ -528,6 +528,8 @@ const VMStateDescription vmstate_ppc_cpu = { /* Internal state */ VMSTATE_UINTTL(env.hflags_nmsr, PowerPCCPU), + VMSTATE_UINT32(env.pending_interrupts, PowerPCCPU), + VMSTATE_UINT32(env.irq_input_state, PowerPCCPU), /* FIXME: access_type? */ /* Sanity checking */ -- 1.7.10.4