summaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-07-15 14:49:15 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-15 14:49:16 -0500
commit6453a3a69488196f26d12654c6b148446abdf3d6 (patch)
tree18c32e6d80c54c0ecc6edfe0ddbccbe63a6afd5a /migration.c
parent2562becfc126ed7678c662ee23b7c1fe135d8966 (diff)
parent7ca1dfad952d8a8655b32e78623edcc38a51b14a (diff)
downloadqemu-6453a3a69488196f26d12654c6b148446abdf3d6.tar.gz
qemu-6453a3a69488196f26d12654c6b148446abdf3d6.tar.bz2
qemu-6453a3a69488196f26d12654c6b148446abdf3d6.zip
Merge remote-tracking branch 'quintela/migration.next' into staging
# By Chegu Vinod # Via Juan Quintela * quintela/migration.next: Force auto-convegence of live migration Add 'auto-converge' migration capability Introduce async_run_on_cpu() Message-id: 1373664508-5404-1-git-send-email-quintela@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index 0681d8e5f1..9f5a4230d1 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;