From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:03:06 +0000 (+0200) Subject: qmp-commands: move 'system_reset' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cd98e00be03c04faa82dd1149974a85dcb94aad8;p=qemu.git qmp-commands: move 'system_reset' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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' }