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>
This commit is contained in:
Marc-André Lureau 2016-06-23 13:18:01 +02:00 committed by Markus Armbruster
parent de0b45ea6b
commit ab9895337c
2 changed files with 7 additions and 15 deletions

View File

@ -318,20 +318,6 @@ Example:
-> { "execute": "query-migrate-cache-size" } -> { "execute": "query-migrate-cache-size" }
<- { "return": 67108864 } <- { "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 x-colo-lost-heartbeat
-------------------- --------------------

View File

@ -2622,13 +2622,19 @@
# #
# Set maximum speed for migration. # Set maximum speed for migration.
# #
# @value: maximum speed in bytes. # @value: maximum speed in bytes per second.
# #
# Returns: nothing on success # Returns: nothing on success
# #
# Notes: This command is deprecated in favor of 'migrate-set-parameters' # Notes: This command is deprecated in favor of 'migrate-set-parameters'
# #
# Since: 0.14.0 # Since: 0.14.0
#
# Example:
#
# -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
# <- { "return": {} }
#
## ##
{ 'command': 'migrate_set_speed', 'data': {'value': 'int'} } { 'command': 'migrate_set_speed', 'data': {'value': 'int'} }