aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:45:03 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:50 +0100
commita102a4acad6c1bc94942efbec18cf7f20bdac40e (patch)
treecd804c954c1fc4ae9fd0c2b87f96252026c7da0c
parente602f0b4e7fc497c50a63732feeb9be7650cdaef (diff)
downloadqemu-a102a4acad6c1bc94942efbec18cf7f20bdac40e.zip
qemu-a102a4acad6c1bc94942efbec18cf7f20bdac40e.tar.gz
qemu-a102a4acad6c1bc94942efbec18cf7f20bdac40e.tar.bz2
qmp-events: move 'DUMP_COMPLETED' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-events.txt18
-rw-r--r--qapi/event.json7
2 files changed, 7 insertions, 18 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 66a287e..d84be5f 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -1,24 +1,6 @@
QEMU Machine Protocol Events
============================
-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} } }
-
MIGRATION_PASS
--------------
diff --git a/qapi/event.json b/qapi/event.json
index f8c7dd6..9d1c2f9 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -617,6 +617,13 @@
# user should not try to interpret the error string.
#
# Since: 2.6
+#
+# Example:
+#
+# { "event": "DUMP_COMPLETED",
+# "data": {"result": {"total": 1090650112, "status": "completed",
+# "completed": 1090650112} } }
+#
##
{ 'event': 'DUMP_COMPLETED' ,
'data': { 'result': 'DumpQueryResult', '*error': 'str' } }