All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] migration: Fix extra cleanup at postcopy listen
@ 2024-11-25 19:11 Fabiano Rosas
  2024-11-25 19:28 ` Peter Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Fabiano Rosas @ 2024-11-25 19:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu

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 <farosas@suse.de>
---
 migration/savevm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/migration/savevm.c b/migration/savevm.c
index f4e4876f72..98821c8120 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -2057,7 +2057,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;
-- 
2.35.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-25 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-25 19:11 [PATCH] migration: Fix extra cleanup at postcopy listen Fabiano Rosas
2024-11-25 19:28 ` Peter Xu
2024-11-25 19:42   ` Fabiano Rosas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.