Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- docs/qmp-commands.txt | 24 ------------------------ qapi-schema.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 24 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index d5ad1de..799ac72 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -217,30 +217,6 @@ Example: "arguments": { "enable": true } } <- { "return": {} } -migrate -------- - -Migrate to URI. - -Arguments: - -- "blk": block migration, full disk copy (json-bool, optional) -- "inc": incremental disk copy (json-bool, optional) -- "uri": Destination URI (json-string) - -Example: - --> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } } -<- { "return": {} } - -Notes: - -(1) The 'query-migrate' command should be used to check migration's progress - and final result (this information is provided by the 'status' member) -(2) All boolean arguments default to false -(3) The user Monitor's "detach" argument is invalid in QMP and should not - be used - migrate-incoming ---------------- diff --git a/qapi-schema.json b/qapi-schema.json index 5529e4a..d9f4b1e 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2883,6 +2883,22 @@ # Returns: nothing on success # # Since: 0.14.0 +# +# Notes: +# +# 1. The 'query-migrate' command should be used to check migration's progress +# and final result (this information is provided by the 'status' member) +# +# 2. All boolean arguments default to false +# +# 3. The user Monitor's "detach" argument is invalid in QMP and should not +# be used +# +# Example: +# +# -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } } +# <- { "return": {} } +# ## { 'command': 'migrate', 'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' } } -- 2.10.0