cpu: Move CPUClass::get_crash_info to SysemuCPUOps
commit83ec01b675a731910b3b2183091302ad31b3482b
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 17 May 2021 10:51:34 +0000 (17 12:51 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:33:59 +0000 (26 15:33 -0700)
treeaee56ad8c1d872f923d2ca1c479da3a04cb7db59
parentda383e0263f7d711eddd4f050ca95fd5ab8d2a87
cpu: Move CPUClass::get_crash_info to SysemuCPUOps

cpu_get_crash_info() is called on GUEST_PANICKED events,
which only occur in system emulation.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210517105140.1062037-18-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/i386/cpu.c
target/s390x/cpu.c