From 1d34e4bf6a34f12b9ca387301b863b59f14d38ed Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Thu, 5 Nov 2015 18:11:05 +0000 Subject: Postcopy: Postcopy startup in migration thread Rework the migration thread to setup and start postcopy. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Amit Shah Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- include/migration/migration.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/migration/migration.h b/include/migration/migration.h index 2ad0d2b..ff13ff2 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -135,6 +135,9 @@ struct MigrationState /* Flag set once the migration has been asked to enter postcopy */ bool start_postcopy; + + /* Flag set once the migration thread is running (and needs joining) */ + bool migration_thread_running; }; void process_incoming_migration(QEMUFile *f); -- cgit v1.1