aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:23:22 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:49 +0100
commit4de62c38a530af909171452d121a2eee9102bf65 (patch)
tree1c701dc4c521249c8dacd2105cfb0dc4b2bb5892
parent6f3cc5406b4c3383d017cb3540160eb49e659abb (diff)
qmp-events: move 'SUSPEND_DISK' 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.txt14
-rw-r--r--qapi/event.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 2e3a22aabb..83f03557ee 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -312,20 +312,6 @@ Example:
{"timestamp": {"seconds": 1449669631, "microseconds": 239225},
"event": "MIGRATION_PASS", "data": {"pass": 2}}
-SUSPEND_DISK
-------------
-
-Emitted when the guest makes a request to enter S4 state.
-
-Data: None.
-
-Example:
-
-{ "event": "SUSPEND_DISK",
- "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
-
-Note: QEMU shuts down when entering S4 state.
-
VNC_CONNECTED
-------------
diff --git a/qapi/event.json b/qapi/event.json
index 34e046769e..a3792cd2fa 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -109,6 +109,12 @@
# Note: QEMU shuts down (similar to event @SHUTDOWN) when entering this state
#
# Since: 1.2
+#
+# Example:
+#
+# <- { "event": "SUSPEND_DISK",
+# "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
+#
##
{ 'event': 'SUSPEND_DISK' }