qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] migration mapped-ram fixes
@ 2024-03-15  3:20 Fabiano Rosas
  2024-03-15  3:20 ` [PATCH v3 1/3] migration/multifd: Ensure we're not given a socket for file migration Fabiano Rosas
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Fabiano Rosas @ 2024-03-15  3:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: Daniel P . Berrangé, Peter Xu

Hi,

In this v3:

patch 1 - The fd_is_socket() verification and an update to the comment
          in the code;

patch 2 - The fix for the fd-reuse bug in outgoing_args;

patch 3 - A proposal on how to fix the fd-socket vs. fd-file
          issue. I'm basically moving the fd_is_socket() call earlier
          to be able to do the checks properly.

based-on: https://gitlab.com/peterx/qemu/-/commits/migration-stable

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

Fabiano Rosas (3):
  migration/multifd: Ensure we're not given a socket for file migration
  migration/multifd: Duplicate the fd for the outgoing_args
  migration: Add fd to FileMigrationArgs

 migration/fd.c        |  20 ++++++---
 migration/file.c      |   9 ++++
 migration/migration.c | 100 ++++++++++++++++++++++++++++++++++++------
 migration/migration.h |   1 +
 qapi/migration.json   |  11 ++++-
 5 files changed, 119 insertions(+), 22 deletions(-)

-- 
2.35.3



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

end of thread, other threads:[~2024-03-19 20:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15  3:20 [PATCH v3 0/3] migration mapped-ram fixes Fabiano Rosas
2024-03-15  3:20 ` [PATCH v3 1/3] migration/multifd: Ensure we're not given a socket for file migration Fabiano Rosas
2024-03-15 11:38   ` Peter Xu
2024-03-15  3:20 ` [PATCH v3 2/3] migration/multifd: Duplicate the fd for the outgoing_args Fabiano Rosas
2024-03-15 11:39   ` Peter Xu
2024-03-15  3:20 ` [RFC PATCH v3 3/3] migration: Add fd to FileMigrationArgs Fabiano Rosas
2024-03-15  8:55   ` Daniel P. Berrangé
2024-03-15 12:13     ` Fabiano Rosas
2024-03-19 16:31       ` Daniel P. Berrangé
2024-03-15 16:05     ` Peter Xu
2024-03-15 18:01       ` Fabiano Rosas
2024-03-15 20:54         ` Peter Xu
2024-03-19 16:25           ` Daniel P. Berrangé
2024-03-19 19:25             ` Peter Xu
2024-03-19 19:52               ` Daniel P. Berrangé
2024-03-19 20:15                 ` Peter Xu

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).