From cd98e00be03c04faa82dd1149974a85dcb94aad8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:03:06 +0200 Subject: [PATCH] qmp-commands: move 'system_reset' 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 | 6 ++++++ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index d0d324de73..647cc3a9e5 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -137,18 +137,6 @@ Example: -> { "execute": "system_wakeup" } <- { "return": {} } -system_reset ------------- - -Reset the system. - -Arguments: None. - -Example: - --> { "execute": "system_reset" } -<- { "return": {} } - system_powerdown ---------------- diff --git a/qapi-schema.json b/qapi-schema.json index 9e3a192646..370f988742 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2154,6 +2154,12 @@ # Performs a hard reset of a guest. # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "system_reset" } +# <- { "return": {} } +# ## { 'command': 'system_reset' } -- 2.30.2