From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:01:27 +0000 (+0200) Subject: qmp-commands: move 'quit' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8046bf53ba447a6b8932c046cc84845e9cecc804;p=qemu.git qmp-commands: move 'quit' 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 ffc7cb997e..4df1d47475 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -53,18 +53,6 @@ If you're planning to adopt QMP, please observe the following: Server's responses in the examples below are always a success response, please refer to the QMP specification for more details on error responses. -quit ----- - -Quit the emulator. - -Arguments: None. - -Example: - --> { "execute": "quit" } -<- { "return": {} } - eject ----- diff --git a/qapi-schema.json b/qapi-schema.json index 61c696aa37..a622c4957f 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2120,6 +2120,11 @@ # unexpected. # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "quit" } +# <- { "return": {} } ## { 'command': 'quit' }