Skip to content

Add basic "detach" support for dump-guest-memory

Peter Xu qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dump-guest-memory: add "detach" flag for QMP/HMP interfacesdump.c hmp-commands.hx hmp.c +2 more+11 -70 replies
2/2dump-guest-memory: add basic "detach" support.dump.c include/sysemu/dump.h qmp.c +1 more+70 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Add basic "detach" support for dump-guest-memory

Currently, dump-guest-memory supports synchronous operation only. This patch sets are adding "detach" support for it (just like "migrate -d" for migration). When "-d" is provided, dump-guest-memory command will return immediately without hanging user. This should be useful when the backend storage for the dump file is very slow.

Peter Xu (2):
dump-guest-memory: add "detach" flag for QMP/HMP interfaces
dump-guest-memory: add basic "detach" support.

 dump.c                | 62 ++++++++++++++++++++++++++++++++++++++++++++++-----
 hmp-commands.hx       |  5 +++--
 hmp.c                 |  3 ++-
 include/sysemu/dump.h |  4 ++++
 qapi-schema.json      |  3 ++-
 qmp-commands.hx       |  4 ++--
 qmp.c                 |  9 ++++++++
 vl.c                  |  3 +++
 8 files changed, 81 insertions(+), 12 deletions(-)
Signature · 1 line
2.4.3