aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-05 18:11:05 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-10 15:00:27 +0100
commit1d34e4bf6a34f12b9ca387301b863b59f14d38ed (patch)
tree95830f4a2c1ea79975fd6f201b7f392f0c517d8c /include/migration
parentf0a227ade4b0331c9e12fc01f8b74e2531fd496d (diff)
Postcopy: Postcopy startup in migration thread
Rework the migration thread to setup and start postcopy. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/migration.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 2ad0d2b9dd..ff13ff25af 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);