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 /monitor.c | |
| parent | c03b0aa0ca93480e92dc356e58538df0835fe621 (diff) | |
| download | focaccia-qemu-bbf6da32b5bd32018069e4eaeda59a02855903f2.tar.gz focaccia-qemu-bbf6da32b5bd32018069e4eaeda59a02855903f2.zip | |
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 'monitor.c')
| -rw-r--r-- | monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c index 49dccfe854..13b681ab48 100644 --- a/monitor.c +++ b/monitor.c @@ -2655,6 +2655,13 @@ static mon_cmd_t info_cmds[] = { .mhandler.info = hmp_info_migrate, }, { + .name = "migrate_capabilities", + .args_type = "", + .params = "", + .help = "show current migration capabilities", + .mhandler.info = hmp_info_migrate_capabilities, + }, + { .name = "balloon", .args_type = "", .params = "", |