diff mbox

[10/30] qmp-commands: move 'migrate_set_downtime' doc to schema

Message ID 20160922092305.2895-11-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Sept. 22, 2016, 9:22 a.m. UTC
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 docs/qmp-commands.txt | 15 ---------------
 qapi-schema.json      |  6 ++++++
 2 files changed, 6 insertions(+), 15 deletions(-)
diff mbox

Patch

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 158dcbd..b73bcac 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -330,21 +330,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": {} }
-
-
 dump
 
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 335be2d..65ddfc6 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2518,6 +2518,12 @@ 
 # Returns: nothing on success
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }