aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-events.txt16
-rw-r--r--qapi/event.json6
2 files changed, 6 insertions, 16 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 7cae0aa..ab0f58e 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -221,22 +221,6 @@ Example:
Note: this event is rate-limited.
-SHUTDOWN
---------
-
-Emitted when the Virtual Machine has shut down, indicating that qemu
-is about to exit.
-
-Data: None.
-
-Example:
-
-{ "event": "SHUTDOWN",
- "timestamp": { "seconds": 1267040730, "microseconds": 682951 } }
-
-Note: If the command-line option "-no-shutdown" has been specified, a STOP
-event will eventually follow the SHUTDOWN event.
-
SPICE_CONNECTED
---------------
diff --git a/qapi/event.json b/qapi/event.json
index 0cd4b79..6e8fd1a 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -14,6 +14,12 @@
# not exit, and a STOP event will eventually follow the SHUTDOWN event
#
# Since: 0.12.0
+#
+# Example:
+#
+# <- { "event": "SHUTDOWN",
+# "timestamp": { "seconds": 1267040730, "microseconds": 682951 } }
+#
##
{ 'event': 'SHUTDOWN' }