mirror of https://github.com/xemu-project/xemu.git
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 <farosas@suse.de>
Link: https://lore.kernel.org/r/20241125191128.9120-1-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
87ae45e602
commit
59c390d95b
|
@ -2057,7 +2057,6 @@ static void *postcopy_ram_listen_thread(void *opaque)
|
||||||
* got a bad migration state).
|
* got a bad migration state).
|
||||||
*/
|
*/
|
||||||
migration_incoming_state_destroy();
|
migration_incoming_state_destroy();
|
||||||
qemu_loadvm_state_cleanup();
|
|
||||||
|
|
||||||
rcu_unregister_thread();
|
rcu_unregister_thread();
|
||||||
mis->have_listen_thread = false;
|
mis->have_listen_thread = false;
|
||||||
|
|
Loading…
Reference in New Issue