mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
edfa1af52f
commit
766bd1769e
2 changed files with 18 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue