migration: Fix extra cleanup at postcopy listen
PATCH 1/1 migration: Fix extra cleanup at postcopy listen
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 <[email protected]>
--- migration/savevm.c | 1 - 1 file changed, 1 deletion(-)
migration/savevm.c +0 -1
@@ -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;
Signature · 1 line
2.35.3
Quoted 5 lines · Fabiano Rosas
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 <[email protected]>
This is so far harmless, right? I think we can still queue this for 9.2, but I'd just like to double check..
Quoted 19 lines
--- migration/savevm.c | 1 - 1 file changed, 1 deletion(-)migration/savevm.c +0
-1@@ -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;Signature · 1 line
2.35.3
Signature · 1 line
Peter Xu
Quoted 10 lines · Peter Xu
Quoted 5 lines · Fabiano Rosas
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 <[email protected]>This is so far harmless, right? I think we can still queue this for 9.2, but I'd just like to double check..
I believe so, yes.
Quoted 19 lines
Quoted 19 lines
--- migration/savevm.c | 1 - 1 file changed, 1 deletion(-)migration/savevm.c +0
-1@@ -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;Signature · 1 line
2.35.3