dump: Add arch cleanup function
commite72629e5149aba6f44122ea6d2a803ef136a0c6b
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 9 Nov 2023 12:04:42 +0000 (9 12:04 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Nov 2023 09:42:32 +0000 (14 10:42 +0100)
tree23a560b59a445063d2f849e956a29681e620fede
parent816644b1219900875f47d7adf9bfb283f1b29aa0
dump: Add arch cleanup function

Some architectures (s390x) need to cleanup after a failed dump to be
able to continue to run the vm. Add a cleanup function pointer and
call it if it's set.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20231109120443.185979-3-frankja@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
dump/dump.c
include/sysemu/dump-arch.h