aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-23 05:45:29 +0200
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:25 +0100
commit766bd1769e70835e0cc25f3f057f101619494b59 (patch)
tree18bf29401371ddf7abcec579e589079b6aafe095 /include
parentedfa1af52f4c69264c5a0c38da10eb372077fba3 (diff)
migration: move migration thread init code to migrate_fd_put_ready
This way everything related with migration is run on the migration thread and no locking is needed. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/migration/migration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index fa1fb8f4cd..0ce3720112 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -46,6 +46,7 @@ struct MigrationState
bool enabled_capabilities[MIGRATION_CAPABILITY_MAX];
int64_t xbzrle_cache_size;
bool complete;
+ bool first_time;
};
void process_incoming_migration(QEMUFile *f);