summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPeter Xu2016-02-18 06:16:56 +0100
committerPaolo Bonzini2016-02-22 18:40:29 +0100
commitd42a0d1484f03d05184ed9bb867fee42476a588f (patch)
treef0f9926f4181f89dde0d49b0460fb13c5f55227d /docs
parentDump: add hmp command "info dump" (diff)
downloadqemu-d42a0d1484f03d05184ed9bb867fee42476a588f.tar.gz
qemu-d42a0d1484f03d05184ed9bb867fee42476a588f.tar.xz
qemu-d42a0d1484f03d05184ed9bb867fee42476a588f.zip
dump-guest-memory: add qmp event DUMP_COMPLETED
One new QMP event DUMP_COMPLETED is added. When a dump finishes, one DUMP_COMPLETED event will occur to notify the user. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-Id: <1455772616-8668-12-git-send-email-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/qmp-events.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 52eb7e2f5e..4e3eb9e77a 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -220,6 +220,24 @@ Data:
},
"timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
+DUMP_COMPLETED
+--------------
+
+Emitted when the guest has finished one memory dump.
+
+Data:
+
+- "result": DumpQueryResult type described in qapi-schema.json
+- "error": Error message when dump failed. This is only a
+ human-readable string provided when dump failed. It should not be
+ parsed in any way (json-string, optional)
+
+Example:
+
+{ "event": "DUMP_COMPLETED",
+ "data": {"result": {"total": 1090650112, "status": "completed",
+ "completed": 1090650112} } }
+
GUEST_PANICKED
--------------