aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:03:30 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commit04fcbabc45d793b0ec0b38b56e1fa4a9257892e6 (patch)
tree362318dc0c62aef801ebe7ebd9d13641b01de7ab
parentcd98e00be03c04faa82dd1149974a85dcb94aad8 (diff)
downloadqemu-04fcbabc45d793b0ec0b38b56e1fa4a9257892e6.zip
qemu-04fcbabc45d793b0ec0b38b56e1fa4a9257892e6.tar.gz
qemu-04fcbabc45d793b0ec0b38b56e1fa4a9257892e6.tar.bz2
qmp-commands: move 'system_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-commands.txt12
-rw-r--r--qapi-schema.json5
2 files changed, 5 insertions, 12 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 647cc3a..2de1a48 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -137,18 +137,6 @@ Example:
-> { "execute": "system_wakeup" }
<- { "return": {} }
-system_powerdown
-----------------
-
-Send system power down event.
-
-Arguments: None.
-
-Example:
-
--> { "execute": "system_powerdown" }
-<- { "return": {} }
-
device_add
----------
diff --git a/qapi-schema.json b/qapi-schema.json
index 370f988..2b72127 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2174,6 +2174,11 @@
# returning does not indicate that a guest has accepted the request or
# that it has shut down. Many guests will respond to this command by
# prompting the user in some way.
+# Example:
+#
+# -> { "execute": "system_powerdown" }
+# <- { "return": {} }
+#
##
{ 'command': 'system_powerdown' }