aboutsummaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorOrit Wasserman <owasserm@redhat.com>2012-08-06 21:42:47 +0300
committerJuan Quintela <quintela@redhat.com>2012-08-08 13:51:11 +0200
commitbbf6da32b5bd32018069e4eaeda59a02855903f2 (patch)
tree3227c7b4aaf70e1284b20550f16237a493e72ee6 /migration.h
parentc03b0aa0ca93480e92dc356e58538df0835fe621 (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 'migration.h')
-rw-r--r--migration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration.h b/migration.h
index 57572a61e9..713aae0253 100644
--- a/migration.h
+++ b/migration.h
@@ -19,6 +19,7 @@
#include "notify.h"
#include "error.h"
#include "vmstate.h"
+#include "qapi-types.h"
struct MigrationParams {
bool blk;
@@ -39,6 +40,7 @@ struct MigrationState
void *opaque;
MigrationParams params;
int64_t total_time;
+ bool enabled_capabilities[MIGRATION_CAPABILITY_MAX];
};
void process_incoming_migration(QEMUFile *f);