diff mbox

[25/30] qmp-commands: move 'quit' doc to schema

Message ID 20160913130209.695-26-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Sept. 13, 2016, 1:02 p.m. UTC
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 docs/qmp-commands.txt | 12 ------------
 qapi-schema.json      |  5 +++++
 2 files changed, 5 insertions(+), 12 deletions(-)
diff mbox

Patch

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 0050067..3110f36 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 71eb9a4..b159b86 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2035,6 +2035,11 @@ 
 # unexpected.
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "quit" }
+# <- { "return": {} }
 ##
 { 'command': 'quit' }