From 0f6aeb46b0a6c1126344516c6a1394415b268e91 Mon Sep 17 00:00:00 2001 From: Zhang Jiao Date: Thu, 12 Dec 2024 10:58:19 +0800 Subject: [PATCH] migration: Fix extra cleanup at postcopy listen cheery-pick from 59c390d95b4984c87db0deda2b8dad0c9595156e After fixing the loadvm cleanup race the qemu_loadvm_state_cleanup() is now being called twice in the postcopy listen thread. Fixes: 4ce5622908 ("migration/multifd: Fix rb->receivedmap cleanup race") Signed-off-by: Fabiano Rosas Link: https://lore.kernel.org/r/20241125191128.9120-1-farosas@suse.de Signed-off-by: Peter Xu Signed-off-by: Zhang Jiao --- migration/savevm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/savevm.c b/migration/savevm.c index b501504bd5..7e8ba21757 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -1931,7 +1931,6 @@ static void *postcopy_ram_listen_thread(void *opaque) * got a bad migration state). */ migration_incoming_state_destroy(); - qemu_loadvm_state_cleanup(); rcu_unregister_thread(); mis->have_listen_thread = false; -- Gitee