mirror of https://gitee.com/openkylin/qemu.git
qmp-commands: move 'query-migrate-capabilities' 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
0a0bb96442
commit
135b238e5d
|
@ -2458,37 +2458,6 @@ Example:
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
query-migrate-capabilities
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
Query current migration capabilities
|
|
||||||
|
|
||||||
- "capabilities": migration capabilities state
|
|
||||||
- "xbzrle" : XBZRLE state (json-bool)
|
|
||||||
- "rdma-pin-all" : RDMA Pin Page state (json-bool)
|
|
||||||
- "auto-converge" : Auto Converge state (json-bool)
|
|
||||||
- "zero-blocks" : Zero Blocks state (json-bool)
|
|
||||||
- "compress": Multiple compression threads state (json-bool)
|
|
||||||
- "events": Migration state change event state (json-bool)
|
|
||||||
- "postcopy-ram": postcopy ram state (json-bool)
|
|
||||||
- "x-colo": COarse-Grain LOck Stepping for Non-stop Service (json-bool)
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "query-migrate-capabilities" }
|
|
||||||
<- {"return": [
|
|
||||||
{"state": false, "capability": "xbzrle"},
|
|
||||||
{"state": false, "capability": "rdma-pin-all"},
|
|
||||||
{"state": false, "capability": "auto-converge"},
|
|
||||||
{"state": false, "capability": "zero-blocks"},
|
|
||||||
{"state": false, "capability": "compress"},
|
|
||||||
{"state": true, "capability": "events"},
|
|
||||||
{"state": false, "capability": "postcopy-ram"},
|
|
||||||
{"state": false, "capability": "x-colo"}
|
|
||||||
]}
|
|
||||||
|
|
||||||
migrate-set-parameters
|
migrate-set-parameters
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -864,6 +864,21 @@
|
||||||
# Returns: @MigrationCapabilitiesStatus
|
# Returns: @MigrationCapabilitiesStatus
|
||||||
#
|
#
|
||||||
# Since: 1.2
|
# Since: 1.2
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "query-migrate-capabilities" }
|
||||||
|
# <- { "return": [
|
||||||
|
# {"state": false, "capability": "xbzrle"},
|
||||||
|
# {"state": false, "capability": "rdma-pin-all"},
|
||||||
|
# {"state": false, "capability": "auto-converge"},
|
||||||
|
# {"state": false, "capability": "zero-blocks"},
|
||||||
|
# {"state": false, "capability": "compress"},
|
||||||
|
# {"state": true, "capability": "events"},
|
||||||
|
# {"state": false, "capability": "postcopy-ram"},
|
||||||
|
# {"state": false, "capability": "x-colo"}
|
||||||
|
# ]}
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}
|
{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue