diff options
author | Rao, Lei <lei.rao@intel.com> | 2021-11-01 15:57:03 +0800 |
---|---|---|
committer | Juan Quintela <quintela@trasno.org> | 2021-11-03 09:38:53 +0100 |
commit | 04dd89169b94789aacde0a9b29943e8614879343 (patch) | |
tree | a0fb1a22ae87eee295418a4a3d2b3cf66fdea4d6 /migration | |
parent | ac183dac96603005ef2985d0e2ea2eb84fe2e03b (diff) | |
download | qemu-04dd89169b94789aacde0a9b29943e8614879343.zip qemu-04dd89169b94789aacde0a9b29943e8614879343.tar.gz qemu-04dd89169b94789aacde0a9b29943e8614879343.tar.bz2 |
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>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/colo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/migration/colo.c b/migration/colo.c index 907241a..71fc82a 100644 --- a/migration/colo.c +++ b/migration/colo.c @@ -919,11 +919,6 @@ out: /* Hope this not to be too long to loop here */ qemu_sem_wait(&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(); return NULL; |