From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:02:39 +0000 (+0200) Subject: qmp-commands: move 'stop' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9787339ebb6af5360c3b4759831ff4a54464b64d;p=qemu.git qmp-commands: move 'stop' 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 4df1d47475..d0d324de73 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -113,18 +113,6 @@ Example: -> { "execute": "screendump", "arguments": { "filename": "/tmp/image" } } <- { "return": {} } -stop ----- - -Stop the emulator. - -Arguments: None. - -Example: - --> { "execute": "stop" } -<- { "return": {} } - cont ---- diff --git a/qapi-schema.json b/qapi-schema.json index a622c4957f..9e3a192646 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2139,6 +2139,12 @@ # state. In "inmigrate" state, it will ensure that the guest # remains paused once migration finishes, as if the -S option was # passed on the command line. +# +# Example: +# +# -> { "execute": "stop" } +# <- { "return": {} } +# ## { 'command': 'stop' }