aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:16:59 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commitde0b45ea6bd463c3a51de9425ce0a49df2e14484 (patch)
treeb421cdd0ab34f282842351d86dd84676fda9f877
parent92dcfb434ce2c4b0f27a1a243d1e770a8e666d00 (diff)
qmp-commands: move 'migrate_set_downtime' 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.txt14
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index a2f2a1b28b..ed4389f2e8 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -332,20 +332,6 @@ Example:
-> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
<- { "return": {} }
-migrate_set_downtime
---------------------
-
-Set maximum tolerated downtime (in seconds) for migrations.
-
-Arguments:
-
-- "value": maximum downtime (json-number)
-
-Example:
-
--> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
-<- { "return": {} }
-
x-colo-lost-heartbeat
--------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index c732ec9bcc..8f844aa735 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2608,6 +2608,12 @@
# Notes: This command is deprecated in favor of 'migrate-set-parameters'
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
+# <- { "return": {} }
+#
##
{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }