diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 10:30:37 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:26 +0100 |
commit | cf56cfad3ca963fef0f2856217d19f2e13ed1c90 (patch) | |
tree | 7af88095a7261f9dd1f975adf9ae5c05eeaf8030 | |
parent | 35db41e5dcf8b9bad6751be41d1cc87aa2272a55 (diff) | |
download | qemu-cf56cfad3ca963fef0f2856217d19f2e13ed1c90.zip qemu-cf56cfad3ca963fef0f2856217d19f2e13ed1c90.tar.gz qemu-cf56cfad3ca963fef0f2856217d19f2e13ed1c90.tar.bz2 |
qmp-commands: move 'query-migrate-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 | 34 | ||||
-rw-r--r-- | qapi-schema.json | 15 |
2 files changed, 15 insertions, 34 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 387cb32..f5cf7da 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -2458,40 +2458,6 @@ Example: ] } -query-migrate-parameters ------------------------- - -Query current migration parameters - -- "parameters": migration parameters value - - "compress-level" : compression level value (json-int) - - "compress-threads" : compression thread count value (json-int) - - "decompress-threads" : decompression thread count value (json-int) - - "cpu-throttle-initial" : initial percentage of time guest cpus are - throttled (json-int) - - "cpu-throttle-increment" : throttle increasing percentage for - auto-converge (json-int) - - "max-bandwidth" : maximium migration speed in bytes per second - (json-int) - - "downtime-limit" : maximum tolerated downtime of migration in - milliseconds (json-int) -Arguments: - -Example: - --> { "execute": "query-migrate-parameters" } -<- { - "return": { - "decompress-threads": 2, - "cpu-throttle-increment": 10, - "compress-threads": 8, - "compress-level": 1, - "cpu-throttle-initial": 20, - "max-bandwidth": 33554432, - "downtime-limit": 300 - } - } - query-balloon ------------- diff --git a/qapi-schema.json b/qapi-schema.json index a03a98b..4381ee3 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1024,6 +1024,21 @@ # Returns: @MigrationParameters # # Since: 2.4 +# +# Example: +# +# -> { "execute": "query-migrate-parameters" } +# <- { "return": { +# "decompress-threads": 2, +# "cpu-throttle-increment": 10, +# "compress-threads": 8, +# "compress-level": 1, +# "cpu-throttle-initial": 20, +# "max-bandwidth": 33554432, +# "downtime-limit": 300 +# } +# } +# ## { 'command': 'query-migrate-parameters', 'returns': 'MigrationParameters' } |