Skip to content

Commit

Permalink
qmp-commands: move 'migrate-set-parameters' doc to schema
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
elmarco authored and Markus Armbruster committed Jan 16, 2017
1 parent 135b238 commit 35db41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
24 changes: 0 additions & 24 deletions docs/qmp-commands.txt
Expand Up @@ -2458,30 +2458,6 @@ Example:
]
}

migrate-set-parameters
----------------------

Set migration parameters

- "compress-level": set compression level during migration (json-int)
- "compress-threads": set compression thread count for migration (json-int)
- "decompress-threads": set decompression thread count for migration (json-int)
- "cpu-throttle-initial": set initial percentage of time guest cpus are
throttled for auto-converge (json-int)
- "cpu-throttle-increment": set throttle increasing percentage for
auto-converge (json-int)
- "max-bandwidth": set maximum speed for migrations (in bytes/sec) (json-int)
- "downtime-limit": set maximum tolerated downtime (in milliseconds) for
migrations (json-int)
- "x-checkpoint-delay": set the delay time for periodic checkpoint (json-int)

Arguments:

Example:

-> { "execute": "migrate-set-parameters" , "arguments":
{ "compress-level": 1 } }

query-migrate-parameters
------------------------

Expand Down
6 changes: 6 additions & 0 deletions qapi-schema.json
Expand Up @@ -947,6 +947,12 @@
# Set various migration parameters. See MigrationParameters for details.
#
# Since: 2.4
#
# Example:
#
# -> { "execute": "migrate-set-parameters" ,
# "arguments": { "compress-level": 1 } }
#
##
{ 'command': 'migrate-set-parameters', 'boxed': true,
'data': 'MigrationParameters' }
Expand Down

0 comments on commit 35db41e

Please sign in to comment.