mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
ram: Call migration_page_queue_free() at ram_migration_cleanup()
We shouldn't be using memory later than that. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
338182c83c
commit
83c13382e4
3 changed files with 3 additions and 5 deletions
|
@ -948,8 +948,6 @@ static void migrate_fd_cleanup(void *opaque)
|
|||
qemu_bh_delete(s->cleanup_bh);
|
||||
s->cleanup_bh = NULL;
|
||||
|
||||
migration_page_queue_free();
|
||||
|
||||
if (s->to_dst_file) {
|
||||
trace_migrate_fd_cleanup();
|
||||
qemu_mutex_unlock_iothread();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue