mbox series

[0/2] migration/multifd: Fix rb->receivedmap cleanup race

Message ID 20240913220542.18305-1-farosas@suse.de (mailing list archive)
Headers show
Series migration/multifd: Fix rb->receivedmap cleanup race | expand

Message

Fabiano Rosas Sept. 13, 2024, 10:05 p.m. UTC
This fixes the crash we've been seing recently in migration-test. The
first patch is a cleanup to have only one place calling
qemu_loadvm_state_cleanup() and the second patch reorders the cleanup
calls to make multifd_recv_cleanup() run first and stop the recv
threads.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1453038652

Fabiano Rosas (2):
  migration/savevm: Remove extra load cleanup calls
  migration/multifd: Fix rb->receivedmap cleanup race

 migration/migration.c |  1 +
 migration/migration.h |  1 -
 migration/savevm.c    | 11 -----------
 3 files changed, 1 insertion(+), 12 deletions(-)