diff options
author | Orit Wasserman <owasserm@redhat.com> | 2012-08-06 21:42:47 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-08-08 13:51:11 +0200 |
commit | bbf6da32b5bd32018069e4eaeda59a02855903f2 (patch) | |
tree | 3227c7b4aaf70e1284b20550f16237a493e72ee6 /qmp-commands.hx | |
parent | c03b0aa0ca93480e92dc356e58538df0835fe621 (diff) |
Add migration capabilities
The management can query the current migration capabilities using
query-migrate-capabilities QMP command.
The user can use 'info migrate_capabilities' HMP command.
Currently only XBZRLE capability is available.
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index ac466382c0..cb8176686d 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -2143,6 +2143,32 @@ EQMP }, SQMP +query-migrate-capabilities +------- + +Query current migration capabilities + +- "capabilities": migration capabilities state + - "xbzrle" : XBZRLE state (json-bool) + +Arguments: + +Example: + +-> { "execute": "query-migrate-capabilities" } +<- { "return": { + "capabilities" : [ { "capability" : "xbzrle", "state" : false } ] + } + } +EQMP + + { + .name = "query-migrate-capabilities", + .args_type = "", + .mhandler.cmd_new = qmp_marshal_input_query_migrate_capabilities, + }, + +SQMP query-balloon ------------- |