From 35db41e5dcf8b9bad6751be41d1cc87aa2272a55 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 10:28:47 +0200 Subject: [PATCH] qmp-commands: move 'migrate-set-parameters' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 24 ------------------------ 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' } -- 2.30.2