aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:18:01 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commitab9895337c4613ddee1b56f4a1ce3025155483c7 (patch)
tree754982335464abce8eba03132c3d630f5448d1ec
parentde0b45ea6bd463c3a51de9425ce0a49df2e14484 (diff)
downloadqemu-ab9895337c4613ddee1b56f4a1ce3025155483c7.zip
qemu-ab9895337c4613ddee1b56f4a1ce3025155483c7.tar.gz
qemu-ab9895337c4613ddee1b56f4a1ce3025155483c7.tar.bz2
qmp-commands: move 'migrate_set_speed' 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.json8
2 files changed, 7 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index ed4389f..889955e 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -318,20 +318,6 @@ Example:
-> { "execute": "query-migrate-cache-size" }
<- { "return": 67108864 }
-migrate_set_speed
------------------
-
-Set maximum speed for migrations.
-
-Arguments:
-
-- "value": maximum speed, in bytes per second (json-int)
-
-Example:
-
--> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
-<- { "return": {} }
-
x-colo-lost-heartbeat
--------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 8f844aa..092008a 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2622,13 +2622,19 @@
#
# Set maximum speed for migration.
#
-# @value: maximum speed in bytes.
+# @value: maximum speed in bytes per second.
#
# Returns: nothing on success
#
# Notes: This command is deprecated in favor of 'migrate-set-parameters'
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
+# <- { "return": {} }
+#
##
{ 'command': 'migrate_set_speed', 'data': {'value': 'int'} }