Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- docs/qmp-commands.txt | 29 ----------------------------- qapi-schema.json | 13 +++++++++++++ 2 files changed, 13 insertions(+), 29 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index fc6f054..d96dd27 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -2441,35 +2441,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) - -Arguments: - -Example: - --> { "execute": "query-migrate-parameters" } -<- { - "return": { - "decompress-threads": 2, - "cpu-throttle-increment": 10, - "compress-threads": 8, - "compress-level": 1, - "cpu-throttle-initial": 20 - } - } - query-balloon ------------- diff --git a/qapi-schema.json b/qapi-schema.json index df83457..e57f223 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1011,6 +1011,19 @@ # 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 +# } +# } +# ## { 'command': 'query-migrate-parameters', 'returns': 'MigrationParameters' } -- 2.10.0