d12a91e0ba
PV dumps block vcpu runs until dump end is reached. If there's an error between PV dump init and PV dump end the vm will never be able to run again. One example of such an error is insufficient disk space for the dump file. Let's add a cleanup function that tries to do a dump end. The dump completion data is discarded but there's no point in writing it to a file anyway if there's a possibility that other PV dump data is missing. Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20231109120443.185979-4-frankja@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com> |
||
---|---|---|
.. | ||
kvm | ||
tcg | ||
arch_dump.c | ||
cpu_features_def.h | ||
cpu_features_def.h.inc | ||
cpu_features.c | ||
cpu_features.h | ||
cpu_models_sysemu.c | ||
cpu_models_user.c | ||
cpu_models.c | ||
cpu_models.h | ||
cpu-dump.c | ||
cpu-param.h | ||
cpu-qom.h | ||
cpu-sysemu.c | ||
cpu.c | ||
cpu.h | ||
diag.c | ||
gdbstub.c | ||
gen-features.c | ||
helper.c | ||
helper.h | ||
interrupt.c | ||
ioinst.c | ||
Kconfig | ||
machine.c | ||
meson.build | ||
mmu_helper.c | ||
s390x-internal.h | ||
sigp.c | ||
trace-events | ||
trace.h |