aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:01:27 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commit8046bf53ba447a6b8932c046cc84845e9cecc804 (patch)
treeb5bce1548d07c205fefd2aead5fd05245347010b
parent3fc3aa6de974dc7e302ec29ec89fdc3bfc2a2bcf (diff)
downloadqemu-8046bf53ba447a6b8932c046cc84845e9cecc804.zip
qemu-8046bf53ba447a6b8932c046cc84845e9cecc804.tar.gz
qemu-8046bf53ba447a6b8932c046cc84845e9cecc804.tar.bz2
qmp-commands: move 'quit' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt12
-rw-r--r--qapi-schema.json5
2 files changed, 5 insertions, 12 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index ffc7cb9..4df1d47 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 61c696a..a622c49 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2120,6 +2120,11 @@
# unexpected.
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "quit" }
+# <- { "return": {} }
##
{ 'command': 'quit' }