Skip to content

Commit

Permalink
qmp-commands: move 'system_powerdown' doc to schema
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
elmarco authored and Markus Armbruster committed Jan 16, 2017
1 parent cd98e00 commit 04fcbab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
12 changes: 0 additions & 12 deletions docs/qmp-commands.txt
Expand Up @@ -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
----------

Expand Down
5 changes: 5 additions & 0 deletions qapi-schema.json
Expand Up @@ -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' }

Expand Down

0 comments on commit 04fcbab

Please sign in to comment.