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

2024-09-17 Thread Peter Xu
On Tue, Sep 17, 2024 at 03:58:00PM -0300, Fabiano Rosas wrote: > v2: Keep skipping the cpu_synchronize_all_post_init() call if the > postcopy listen thread is live. Don't copy stable on the first patch. > > CI run: https://gitlab.com/farosas/qemu/-/pipelines/1457418838 > > v1: > https://lore.

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

2024-09-17 Thread Fabiano Rosas
v2: Keep skipping the cpu_synchronize_all_post_init() call if the postcopy listen thread is live. Don't copy stable on the first patch. CI run: https://gitlab.com/farosas/qemu/-/pipelines/1457418838 v1: https://lore.kernel.org/r/20240913220542.18305-1-faro...@suse.de This fixes the crash we'

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

2024-09-13 Thread Fabiano Rosas
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/f