Skip to content

dump: Arch info function pointer addition and cleanup

Janosch Frank qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Usage of g_autofree
- Dropped explicit NULLing of function pointers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/s390x/dump: Remove unneeded dump info function pointer inittarget/s390x/arch_dump.c+0 -41 reply
2/3dump: Add arch cleanup functiondump/dump.c include/sysemu/dump-arch.h+5 -01 reply
3/3target/s390x/arch_dump: Add arch cleanup function for PV dumpstarget/s390x/arch_dump.c+17 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc-André LureauClaudio ImbrendaThomas Huth
SeriesR-b
1/3R-b R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] dump: Arch info function pointer addition and cleanup

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.

v2:
- Usage of g_autofree
- Dropped explicit NULLing of function pointers

Janosch Frank (3):
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                |  4 ++++
 include/sysemu/dump-arch.h |  1 +
 target/s390x/arch_dump.c   | 21 +++++++++++++++++----
 3 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1