summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:02:39 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commit9787339ebb6af5360c3b4759831ff4a54464b64d (patch)
treecf1fb99f475fa5ffd8190629a920c915840975b6
parent8046bf53ba447a6b8932c046cc84845e9cecc804 (diff)
downloadqemu-9787339ebb6af5360c3b4759831ff4a54464b64d.tar.gz
qmp-commands: move 'stop' 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.json6
2 files changed, 6 insertions, 12 deletions
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' }