[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 4/8] migration: Remove redundant cleanup of postcopy_qemufile_
From: |
Fabiano Rosas |
Subject: |
[PATCH v4 4/8] migration: Remove redundant cleanup of postcopy_qemufile_src |
Date: |
Wed, 16 Aug 2023 11:25:06 -0300 |
This file is owned by the return path thread which is already doing
cleanup.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
migration/migration.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index 5e6a766235..195726eb4a 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1177,12 +1177,6 @@ static void migrate_fd_cleanup(MigrationState *s)
qemu_fclose(tmp);
}
- if (s->postcopy_qemufile_src) {
- migration_ioc_unregister_yank_from_file(s->postcopy_qemufile_src);
- qemu_fclose(s->postcopy_qemufile_src);
- s->postcopy_qemufile_src = NULL;
- }
-
assert(!migration_is_active(s));
if (s->state == MIGRATION_STATUS_CANCELLING) {
--
2.35.3
- [PATCH v4 0/8] Fix segfault on migration return path, Fabiano Rosas, 2023/08/16
- [PATCH v4 1/8] migration: Fix possible race when setting rp_state.error, Fabiano Rosas, 2023/08/16
- [PATCH v4 3/8] migration: Fix possible race when shutting down to_dst_file, Fabiano Rosas, 2023/08/16
- [PATCH v4 2/8] migration: Fix possible races when shutting down the return path, Fabiano Rosas, 2023/08/16
- [PATCH v4 5/8] migration: Consolidate return path closing code, Fabiano Rosas, 2023/08/16
- [PATCH v4 4/8] migration: Remove redundant cleanup of postcopy_qemufile_src,
Fabiano Rosas <=
- [PATCH v4 6/8] migration: Replace the return path retry logic, Fabiano Rosas, 2023/08/16
- [PATCH v4 7/8] migration: Move return path cleanup to main migration thread, Fabiano Rosas, 2023/08/16
- [PATCH v4 8/8] migration: Add a wrapper to cleanup migration files, Fabiano Rosas, 2023/08/16