[09/17] migration: include migrate_dirty_bitmaps in migrate_postcopy
diff mbox

Message ID 1479742168-309848-10-git-send-email-vsementsov@virtuozzo.com
State New
Headers show

Commit Message

Vladimir Sementsov-Ogievskiy Nov. 21, 2016, 3:29 p.m. UTC
Enable postcopy if dirty bitmap migration is endabled.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
 migration/migration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/migration/migration.c b/migration/migration.c
index e0f34d8..9543dbb 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1261,7 +1261,7 @@  bool migrate_postcopy_ram(void)
 
 bool migrate_postcopy(void)
 {
-    return migrate_postcopy_ram();
+    return migrate_postcopy_ram() || migrate_dirty_bitmaps();
 }
 
 bool migrate_auto_converge(void)