migration: Fix extra cleanup at postcopy listen
authorFabiano Rosas <farosas@suse.de>
Mon, 25 Nov 2024 19:11:28 +0000 (16:11 -0300)
committerPeter Xu <peterx@redhat.com>
Mon, 25 Nov 2024 21:21:55 +0000 (16:21 -0500)
commit59c390d95b4984c87db0deda2b8dad0c9595156e
tree76d30f0eb2ead5e8be700ca3069f95668b57115d
parent87ae45e602e2943d58509e470e3a1d4ba084ab2f
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>
migration/savevm.c