From 04fcbabc45d793b0ec0b38b56e1fa4a9257892e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:03:30 +0200 Subject: [PATCH] qmp-commands: move 'system_powerdown' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 12 ------------ qapi-schema.json | 5 +++++ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 647cc3a9e5..2de1a488d2 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 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' } -- 2.42.0