aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-23 02:13:23 +0200
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:25 +0100
commitedfa1af52f4c69264c5a0c38da10eb372077fba3 (patch)
treef3c770ea2f0c4cd060a3b1e6a85a2927fb8d2f3f /include/migration
parentc09f4cb2b3243085a86aee3c7ed4f31c77e4db87 (diff)
migration: make qemu_fopen_ops_buffered() return void
We want the file assignment to happen before the thread is created to avoid locking, so we just do it before creating the thread. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Diffstat (limited to 'include/migration')
-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 8b7af61e7e..fa1fb8f4cd 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -45,6 +45,7 @@ struct MigrationState
int64_t dirty_pages_rate;
bool enabled_capabilities[MIGRATION_CAPABILITY_MAX];
int64_t xbzrle_cache_size;
+ bool complete;
};
void process_incoming_migration(QEMUFile *f);