cpu: Move CPUClass::write_elf* to SysemuCPUOps
commit715e3c1afb0022fb2e0f60a198ed2c740e3c48f4
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 17 May 2021 10:51:35 +0000 (17 12:51 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:33:59 +0000 (26 15:33 -0700)
tree9543d262ecfeac8f64c3b1007ae4df52b5c45269
parent83ec01b675a731910b3b2183091302ad31b3482b
cpu: Move CPUClass::write_elf* to SysemuCPUOps

The write_elf*() handlers are used to dump vmcore images.
This feature is only meaningful for system emulation.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210517105140.1062037-19-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/core/cpu-sysemu.c
include/hw/core/cpu.h
include/hw/core/sysemu-cpu-ops.h
target/arm/cpu.c
target/i386/cpu.c
target/ppc/cpu_init.c
target/riscv/cpu.c
target/s390x/cpu.c