diff options
| author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2016-01-15 11:37:46 +0800 |
|---|---|---|
| committer | Amit Shah <amit.shah@redhat.com> | 2016-02-05 19:09:50 +0530 |
| commit | 164f59e86ed108366ddfc713266fed4614d2566d (patch) | |
| tree | 10a28477b311495012ba1538e7473aab0f1a2bb1 | |
| parent | 9c994a976fdee5d52b451b3317675f1b162b51c5 (diff) | |
| download | focaccia-qemu-164f59e86ed108366ddfc713266fed4614d2566d.tar.gz focaccia-qemu-164f59e86ed108366ddfc713266fed4614d2566d.zip | |
qmp-commands.hx: Document the missing options for migration capability commands
Add the missing descriptions for the options of migration capability commands, and fix the example for query-migrate-capabilities command. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Message-Id: <1452829066-9764-7-git-send-email-zhang.zhanghailiang@huawei.com> [Amit: Strip whitespace] Signed-off-by: Amit Shah <amit.shah@redhat.com>
| -rw-r--r-- | qmp-commands.hx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index b25b97c9f1..020e5ee96c 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -3647,7 +3647,9 @@ Enable/Disable migration capabilities - "rdma-pin-all": pin all pages when using RDMA during migration - "auto-converge": throttle down guest to help convergence of migration - "zero-blocks": compress zero blocks during block migration +- "compress": use multiple compression threads to accelerate live migration - "events": generate events for each migration state change +- "x-postcopy-ram": postcopy mode for live migration Arguments: @@ -3675,13 +3677,24 @@ Query current migration capabilities - "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) + - "x-postcopy-ram": postcopy ram state (json-bool) Arguments: Example: -> { "execute": "query-migrate-capabilities" } -<- { "return": [ { "state": false, "capability": "xbzrle" } ] } +<- {"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": "x-postcopy-ram"} + ]} EQMP |