aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:16:09 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commit92dcfb434ce2c4b0f27a1a243d1e770a8e666d00 (patch)
tree747890443eb1e139813a35399d37b270514c7484
parente9ac76acd7aed4d96d05a6abf1460dd63afec20f (diff)
qmp-commands: move 'migrate_cancel' 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 3faba0cbc4..a2f2a1b28b 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -270,18 +270,6 @@ Notes:
(3) The user Monitor's "detach" argument is invalid in QMP and should not
be used
-migrate_cancel
---------------
-
-Cancel the current migration.
-
-Arguments: None.
-
-Example:
-
--> { "execute": "migrate_cancel" }
-<- { "return": {} }
-
migrate-incoming
----------------
diff --git a/qapi-schema.json b/qapi-schema.json
index f3d2c4260e..c732ec9bcc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2587,6 +2587,12 @@
# Notes: This command succeeds even if there is no migration process running.
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "migrate_cancel" }
+# <- { "return": {} }
+#
##
{ 'command': 'migrate_cancel' }