mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
savevm: Save extra data with iothread lock
This commit is contained in:
parent
e10ad42caa
commit
71c8cb62af
@ -1538,10 +1538,10 @@ static int qemu_savevm_state(QEMUFile *f, Error **errp)
|
||||
memset(&compression_counters, 0, sizeof(compression_counters));
|
||||
ms->to_dst_file = f;
|
||||
|
||||
qemu_mutex_unlock_iothread();
|
||||
#ifdef XBOX
|
||||
xemu_snapshots_save_extra_data(f);
|
||||
#endif
|
||||
qemu_mutex_unlock_iothread();
|
||||
qemu_savevm_state_header(f);
|
||||
qemu_savevm_state_setup(f);
|
||||
qemu_mutex_lock_iothread();
|
||||
|
Loading…
Reference in New Issue
Block a user