aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 27f9e59ef5..2e3a22aabb 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -312,18 +312,6 @@ Example:
{"timestamp": {"seconds": 1449669631, "microseconds": 239225},
"event": "MIGRATION_PASS", "data": {"pass": 2}}
-SUSPEND
--------
-
-Emitted when guest enters S3 state.
-
-Data: None.
-
-Example:
-
-{ "event": "SUSPEND",
- "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
-
SUSPEND_DISK
------------
diff --git a/qapi/event.json b/qapi/event.json
index 215bb8076c..34e046769e 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -91,6 +91,12 @@
# which is sometimes called standby state
#
# Since: 1.1
+#
+# Example:
+#
+# <- { "event": "SUSPEND",
+# "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
+#
##
{ 'event': 'SUSPEND' }