Small cleanups/fixes to the dump info function pointer assignments as well as a new function pointer for cleanup of residual state.
This has come up because test managed to dump a s390 PV vm onto a disk that was too small for the dump. After the dump failed, the vm wasn't able to resume running since KVM was still in dump mode which blocks vcpu entry. The new function pointer allows cleanup of such a situation. Janosch Frank (4): dump: Set dump info function pointers to NULL target/s390x/dump: Remove unneeded dump info function pointer init dump: Add arch cleanup function target/s390x/arch_dump: Add arch cleanup function for PV dumps dump/dump.c | 8 ++++++++ include/sysemu/dump-arch.h | 1 + target/s390x/arch_dump.c | 21 +++++++++++++++++---- 3 files changed, 26 insertions(+), 4 deletions(-) -- 2.34.1