aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
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 /qapi-schema.json
parentcd98e00be03c04faa82dd1149974a85dcb94aad8 (diff)
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>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 370f988742..2b72127d00 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' }