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>
This commit is contained in:
parent
01387ae560
commit
b3ac5a0de9
@ -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
|
||||
----------------
|
||||
|
||||
|
@ -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' } }
|
||||
|
Loading…
Reference in New Issue
Block a user