diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 10:28:47 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:26 +0100 |
commit | 35db41e5dcf8b9bad6751be41d1cc87aa2272a55 (patch) | |
tree | 8abe417f7b6239fc81e22742f8a8b2641659a511 | |
parent | 135b238e5d622b32ad90b94f25d86a180beb884c (diff) |
qmp-commands: move 'migrate-set-parameters' 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.txt | 24 | ||||
-rw-r--r-- | qapi-schema.json | 6 |
2 files changed, 6 insertions, 24 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 5fbe938f7a..387cb32b22 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -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 ------------------------ diff --git a/qapi-schema.json b/qapi-schema.json index fb2f42864e..a03a98b7c9 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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' } |