mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Revert "migration: Properly destroy variables on incoming side"
This reverts commit c02039a6f3
.
This is breaking test 068 that does a loadvm twice.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
8d16e72f2d
commit
1783c00fc9
1 changed files with 2 additions and 5 deletions
|
@ -238,15 +238,12 @@ void migration_incoming_state_destroy(void)
|
||||||
mis->postcopy_remote_fds = NULL;
|
mis->postcopy_remote_fds = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qemu_event_reset(&mis->main_thread_load_event);
|
||||||
|
|
||||||
if (mis->socket_address_list) {
|
if (mis->socket_address_list) {
|
||||||
qapi_free_SocketAddressList(mis->socket_address_list);
|
qapi_free_SocketAddressList(mis->socket_address_list);
|
||||||
mis->socket_address_list = NULL;
|
mis->socket_address_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
qemu_event_destroy(&mis->main_thread_load_event);
|
|
||||||
qemu_sem_destroy(&mis->postcopy_pause_sem_dst);
|
|
||||||
qemu_sem_destroy(&mis->postcopy_pause_sem_fault);
|
|
||||||
qemu_mutex_destroy(&mis->rp_mutex);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void migrate_generate_event(int new_state)
|
static void migrate_generate_event(int new_state)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue