From bde1e2ec2176c363c1783bf8887b6b1beb08dfee Mon Sep 17 00:00:00 2001 From: Chegu Vinod Date: Mon, 24 Jun 2013 03:49:42 -0600 Subject: Add 'auto-converge' migration capability The auto-converge migration capability allows the user to specify if they choose live migration seqeunce to automatically detect and force convergence. Signed-off-by: Chegu Vinod Reviewed-by: Paolo Bonzini Reviewed-by: Eric Blake Signed-off-by: Juan Quintela --- migration.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'migration.c') diff --git a/migration.c b/migration.c index 635a7e7a08..184ae3ff5c 100644 --- a/migration.c +++ b/migration.c @@ -484,6 +484,15 @@ bool migrate_rdma_pin_all(void) return s->enabled_capabilities[MIGRATION_CAPABILITY_X_RDMA_PIN_ALL]; } +bool migrate_auto_converge(void) +{ + MigrationState *s; + + s = migrate_get_current(); + + return s->enabled_capabilities[MIGRATION_CAPABILITY_AUTO_CONVERGE]; +} + int migrate_use_xbzrle(void) { MigrationState *s; -- cgit v1.2.3