diff options
author | Orit Wasserman <owasserm@redhat.com> | 2012-08-06 21:42:48 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-08-08 13:51:11 +0200 |
commit | 00458433242dbfb6348d8e0bb6d356603d3e0067 (patch) | |
tree | 445d97d2195dfa0658dd41d5e03d9bfa33ce54fb /hmp-commands.hx | |
parent | bbf6da32b5bd32018069e4eaeda59a02855903f2 (diff) | |
download | hqemu-00458433242dbfb6348d8e0bb6d356603d3e0067.zip hqemu-00458433242dbfb6348d8e0bb6d356603d3e0067.tar.gz |
Add migrate-set-capabilities
The management can enable/disable a capability for the next migration by using
migrate-set-capabilities QMP command.
The user can use migrate_set_capability HMP command.
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 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 8b94802..476b3cd 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -861,6 +861,20 @@ Set maximum tolerated downtime (in seconds) for migration. ETEXI { + .name = "migrate_set_capability", + .args_type = "capability:s,state:b", + .params = "capability state", + .help = "Enable/Disable the usage of a capability for migration", + .mhandler.cmd = hmp_migrate_set_capability, + }, + +STEXI +@item migrate_set_capability @var{capability} @var{state} +@findex migrate_set_capability +Enable/Disable the usage of a capability @var{capability} for migration. +ETEXI + + { .name = "client_migrate_info", .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?", .params = "protocol hostname port tls-port cert-subject", |