public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v5 0/6] Draft, incomplete series introducing state migration
@ 2025-02-05  0:38 Stefano Brivio
  2025-02-05  0:38 ` [PATCH v5 1/6] Introduce facilities for guest migration on top of vhost-user infrastructure Stefano Brivio
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Stefano Brivio @ 2025-02-05  0:38 UTC (permalink / raw)
  To: passt-dev; +Cc: Laurent Vivier, David Gibson

This switches to the new facility with stages and introduces per-flow
migration, with a simple structure roughly based on struct
tcp_tap_conn.

I tested this: a simple connection between socat and nc with some text
works (again) for me. Sequence numbers (of course), window parameters,
and MSS all match.

However, it *is* draft quality and *it might contain bugs*.

It also contains a lot of TODO items, missing comments, probably
some left-overs, and so on.


David Gibson (2):
  migrate: Make more handling common rather than vhost-user specific
  migrate: Don't handle the migration channel through epoll

Stefano Brivio (4):
  Introduce facilities for guest migration on top of vhost-user
    infrastructure
  Add interfaces and configuration bits for passt-repair
  vhost_user: Make source quit after reporting migration state
  Implement source and target sides of migration

 Makefile     |  14 +-
 conf.c       |  44 +++++-
 epoll_type.h |   6 +-
 flow.c       | 226 +++++++++++++++++++++++++++++++
 flow.h       |   7 +
 isolation.c  |   2 +-
 migrate.c    | 291 ++++++++++++++++++++++++++++++++++++++++
 migrate.h    |  54 ++++++++
 passt.1      |  11 ++
 passt.c      |  17 ++-
 passt.h      |  17 +++
 repair.c     | 193 ++++++++++++++++++++++++++
 repair.h     |  16 +++
 tap.c        |  65 +--------
 tcp.c        | 372 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tcp_conn.h   |  59 ++++++++
 util.c       |  62 +++++++++
 util.h       |  27 ++++
 vhost_user.c |  69 +++-------
 virtio.h     |   4 -
 vu_common.c  |  49 +------
 vu_common.h  |   2 +-
 22 files changed, 1427 insertions(+), 180 deletions(-)
 create mode 100644 migrate.c
 create mode 100644 migrate.h
 create mode 100644 repair.c
 create mode 100644 repair.h

-- 
2.43.0


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

end of thread, other threads:[~2025-02-05 11:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-05  0:38 [PATCH v5 0/6] Draft, incomplete series introducing state migration Stefano Brivio
2025-02-05  0:38 ` [PATCH v5 1/6] Introduce facilities for guest migration on top of vhost-user infrastructure Stefano Brivio
2025-02-05  1:44   ` David Gibson
2025-02-05  0:39 ` [PATCH v5 2/6] migrate: Make more handling common rather than vhost-user specific Stefano Brivio
2025-02-05  0:39 ` [PATCH v5 3/6] migrate: Don't handle the migration channel through epoll Stefano Brivio
2025-02-05  0:39 ` [PATCH v5 4/6] Add interfaces and configuration bits for passt-repair Stefano Brivio
2025-02-05  0:39 ` [PATCH v5 5/6] vhost_user: Make source quit after reporting migration state Stefano Brivio
2025-02-05  2:09   ` David Gibson
2025-02-05  5:47     ` Stefano Brivio
2025-02-05  8:58       ` Hanna Czenczek
2025-02-05 10:19         ` Stefano Brivio
2025-02-05 11:39         ` David Gibson
2025-02-05  0:39 ` [PATCH v5 6/6] Implement source and target sides of migration Stefano Brivio
2025-02-05  1:10   ` David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).