cpu: Move CPUClass::vmsd to SysemuCPUOps
Migration is specific to system emulation. - Move the CPUClass::vmsd field to SysemuCPUOps, - restrict VMSTATE_CPU() macro to sysemu, - vmstate_dummy is now unused, remove it. Signed-off-by:Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210517105140.1062037-16-f4bug@amsat.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- cpu.c 7 additions, 8 deletionscpu.c
- include/hw/core/cpu.h 2 additions, 6 deletionsinclude/hw/core/cpu.h
- include/hw/core/sysemu-cpu-ops.h 6 additions, 0 deletionsinclude/hw/core/sysemu-cpu-ops.h
- include/migration/vmstate.h 0 additions, 2 deletionsinclude/migration/vmstate.h
- stubs/vmstate.c 0 additions, 2 deletionsstubs/vmstate.c
- target/arm/cpu.c 1 addition, 1 deletiontarget/arm/cpu.c
- target/i386/cpu.c 1 addition, 1 deletiontarget/i386/cpu.c
- target/mips/cpu.c 1 addition, 1 deletiontarget/mips/cpu.c
- target/ppc/cpu_init.c 1 addition, 1 deletiontarget/ppc/cpu_init.c
- target/riscv/cpu.c 1 addition, 1 deletiontarget/riscv/cpu.c
- target/s390x/cpu.c 1 addition, 1 deletiontarget/s390x/cpu.c
- target/sparc/cpu.c 1 addition, 1 deletiontarget/sparc/cpu.c
Loading
Please register or sign in to comment