aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:22:10 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:48 +0100
commita2235a0499c799552a4ea330350acc0d71217f9f (patch)
tree693886e03d0f8e21a3c5ce547235dd14bcb7f358
parent138c454c0f2cdb5145cdd4762d5f6e8b8093da0e (diff)
qmp-events: move 'RESUME' 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.txt12
-rw-r--r--qapi/event.json6
2 files changed, 6 insertions, 12 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index b826641aaf..27f9e59ef5 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -166,18 +166,6 @@ Flush operation:
Note: this event is rate-limited.
-RESUME
-------
-
-Emitted when the Virtual Machine resumes execution.
-
-Data: None.
-
-Example:
-
-{ "event": "RESUME",
- "timestamp": { "seconds": 1271770767, "microseconds": 582542 } }
-
RTC_CHANGE
----------
diff --git a/qapi/event.json b/qapi/event.json
index eb41d808c1..215bb8076c 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -75,6 +75,12 @@
# Emitted when the virtual machine resumes execution
#
# Since: 0.12.0
+#
+# Example:
+#
+# <- { "event": "RESUME",
+# "timestamp": { "seconds": 1271770767, "microseconds": 582542 } }
+#
##
{ 'event': 'RESUME' }