diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 13:23:44 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:28 +0100 |
commit | b3ac5a0de9b88454e42d0ee2755cc1083ccc25bb (patch) | |
tree | e3d19254ee09f11af264ed192d5b31f556e05685 | |
parent | 01387ae5604d9ef26f25134b3bf266c341b9e973 (diff) |
qmp-commands: move 'migrate' 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 | 16 |
2 files changed, 16 insertions, 24 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index f4645f532f..7194ab1e2b 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -219,30 +219,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 e7c14b994d..ef27197460 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2973,6 +2973,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' } } |