summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:17:22 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:48 +0100
commit189d43bed6c08855b6a12b889264f09f5af012a7 (patch)
treee00a58388549c5819d04d7b48785228bf1b7ca27
parent12defe50f8c2339fda4c6f9d2c45710e9d31ecda (diff)
qmp-events: move 'POWERDOWN' 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.txt13
-rw-r--r--qapi/event.json6
2 files changed, 6 insertions, 13 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index ab0f58ea9b..44840cea6f 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -114,19 +114,6 @@ Data:
"timestamp": { "seconds": 1368697518, "microseconds": 326866 } }
}
-POWERDOWN
----------
-
-Emitted when the Virtual Machine is powered down through the power
-control system, such as via ACPI.
-
-Data: None.
-
-Example:
-
-{ "event": "POWERDOWN",
- "timestamp": { "seconds": 1267040730, "microseconds": 682951 } }
-
QUORUM_FAILURE
--------------
diff --git a/qapi/event.json b/qapi/event.json
index 6e8fd1a122..ea3e4ee9e8 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -30,6 +30,12 @@
# system, such as via ACPI.
#
# Since: 0.12.0
+#
+# Example:
+#
+# <- { "event": "POWERDOWN",
+# "timestamp": { "seconds": 1267040730, "microseconds": 682951 } }
+#
##
{ 'event': 'POWERDOWN' }