First patch is a cleanup patch. The second patch defines the vmstate structure for M68kCPU.
I have tested the migration with my experimental machine virt-m68k. I didn't check if q800 machine type has all the needed vmstates for all the hardware devices it uses. Thanks, Laurent Laurent Vivier (2): target/m68k: remove useless qregs array target/m68k: Add vmstate definition for M68kCPU target/m68k/cpu.h | 5 +- target/m68k/cpu.c | 193 ++++++++++++++++++++++++++++++++++++++- target/m68k/fpu_helper.c | 10 +- 3 files changed, 198 insertions(+), 10 deletions(-) -- 2.26.2