mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 20:41:52 -06:00
Removed the qemu_fclose() in colo_process_incoming_thread
After the live migration, the related fd will be cleanup in migration_incoming_state_destroy(). So, the qemu_close() in colo_process_incoming_thread is not necessary. Signed-off-by: Lei Rao <lei.rao@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
ac183dac96
commit
04dd89169b
1 changed files with 0 additions and 5 deletions
|
@ -919,11 +919,6 @@ out:
|
||||||
/* Hope this not to be too long to loop here */
|
/* Hope this not to be too long to loop here */
|
||||||
qemu_sem_wait(&mis->colo_incoming_sem);
|
qemu_sem_wait(&mis->colo_incoming_sem);
|
||||||
qemu_sem_destroy(&mis->colo_incoming_sem);
|
qemu_sem_destroy(&mis->colo_incoming_sem);
|
||||||
/* Must be called after failover BH is completed */
|
|
||||||
if (mis->to_src_file) {
|
|
||||||
qemu_fclose(mis->to_src_file);
|
|
||||||
mis->to_src_file = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
rcu_unregister_thread();
|
rcu_unregister_thread();
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue