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