Skip to content

Move snapshots commands to hmp

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6monitor: Remove monitor parameter from save_vmstateinclude/sysemu/sysemu.h migration/savevm.c replay/replay-snapshot.c+12 -121 reply
2/6monitor: Move hmp_loadvm from monitor.c to hmp.chmp.c hmp.h monitor.c+14 -131 reply
3/6monitor: Move hmp_savevm from savevm.c to hmp.chmp.c hmp.h include/sysemu/sysemu.h +1 more+6 -61 reply
4/6monitor: Move hmp_delvm from savevm.c to hmp.chmp.c hmp.h include/sysemu/sysemu.h +1 more+14 -141 reply
5/6monitor: Move hmp_info_snapshots from savevm.c to hmp.chmp.c hmp.h include/sysemu/sysemu.h +1 more+144 -1482 replies
6/6migration: Pass Error ** argument to {save, load}_vmstatehmp.c include/sysemu/sysemu.h migration/savevm.c +2 more+41 -338 replies

Reviews trailers per patch

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

PatchLaurent VivierDr. David Alan Gilbert
SeriesA-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] Move snapshots commands to hmp

Hi

This series:
- Move snapshots commands to hmp.c, as they don't have code for migration
- Make them work with errors in a modern way instead of writting to the monitor
- make paolo happy and use hmp_handle_error

Later, Juan.

Juan Quintela (6):
monitor: Remove monitor parameter from save_vmstate
monitor: Move hmp_loadvm from monitor.c to hmp.c
monitor: Move hmp_savevm from savevm.c to hmp.c
monitor: Move hmp_delvm from savevm.c to hmp.c
monitor: Move hmp_info_snapshots from savevm.c to hmp.c
migration: Pass Error ** argument to {save,load}_vmstate

 hmp.c                    | 179 +++++++++++++++++++++++++++++++++++++++
 hmp.h                    |   4 +
 include/sysemu/sysemu.h  |   7 +-
 migration/savevm.c       | 216 ++++++-----------------------------------------
 monitor.c                |  13 ---
 replay/replay-snapshot.c |   6 +-
 vl.c                     |   4 +-
 7 files changed, 217 insertions(+), 212 deletions(-)
Signature · 1 line
2.9.3