qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] migration fixes
@ 2023-09-18 17:28 Fabiano Rosas
  2023-09-18 17:28 ` [PATCH 1/8] migration: Fix race that dest preempt thread close too early Fabiano Rosas
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Fabiano Rosas @ 2023-09-18 17:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Juan Quintela, Peter Xu, Stefan Hajnoczi

This series contains fixes for the two currently know failures that
show up in migration tests plus a set of fixes for some theoretical
race conditions around QEMUFile handling.

Patch 1 addresses the issue found in the postcopy/preempt/plain test:
https://gitlab.com/qemu-project/qemu/-/issues/1886

Patch 7 fixes a rare crash during the postocpy/preempt/recovery/plain test:

  Thread 7 "return path" received signal SIGSEGV, Segmentation fault.
      0x00005555560e4893 in qemu_file_get_error_obj (f=0x0, errp=0x0) at ../migration/qemu-file.c:154
      154         return f->last_error;

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

Fabiano Rosas (7):
  migration: Fix possible race when setting rp_state.error
  migration: Fix possible races when shutting down the return path
  migration: Fix possible race when shutting down to_dst_file
  migration: Remove redundant cleanup of postcopy_qemufile_src
  migration: Consolidate return path closing code
  migration: Replace the return path retry logic
  migration: Move return path cleanup to main migration thread

Peter Xu (1):
  migration: Fix race that dest preempt thread close too early

 migration/migration.c    | 145 +++++++++++++++------------------------
 migration/migration.h    |  14 +++-
 migration/postcopy-ram.c |  38 +++++++++-
 3 files changed, 106 insertions(+), 91 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-10-02 23:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-18 17:28 [PATCH 0/8] migration fixes Fabiano Rosas
2023-09-18 17:28 ` [PATCH 1/8] migration: Fix race that dest preempt thread close too early Fabiano Rosas
2023-09-18 17:28 ` [PATCH 2/8] migration: Fix possible race when setting rp_state.error Fabiano Rosas
2023-09-18 17:28 ` [PATCH 3/8] migration: Fix possible races when shutting down the return path Fabiano Rosas
2023-09-18 17:28 ` [PATCH 4/8] migration: Fix possible race when shutting down to_dst_file Fabiano Rosas
2023-09-18 17:28 ` [PATCH 5/8] migration: Remove redundant cleanup of postcopy_qemufile_src Fabiano Rosas
2023-09-18 17:28 ` [PATCH 6/8] migration: Consolidate return path closing code Fabiano Rosas
2023-09-18 17:28 ` [PATCH 7/8] migration: Replace the return path retry logic Fabiano Rosas
2023-09-18 17:28 ` [PATCH 8/8] migration: Move return path cleanup to main migration thread Fabiano Rosas
2023-09-27 12:39 ` [PATCH 0/8] migration fixes Fabiano Rosas
2023-09-27 13:58   ` Peter Xu
2023-09-27 17:58 ` Stefan Hajnoczi
2023-09-27 20:14 ` Stefan Hajnoczi
2023-10-02 22:55 ` Michael Tokarev
2023-10-02 23:29   ` Peter Xu
2023-10-02 23:36     ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).