public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v11 0/9] Draft state migration
@ 2025-02-07  1:07 Stefano Brivio
  2025-02-07  1:07 ` [PATCH v11 1/9] migrate: Skeleton of live migration logic Stefano Brivio
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Stefano Brivio @ 2025-02-07  1:07 UTC (permalink / raw)
  To: passt-dev; +Cc: David Gibson

v11:

- drop SO_REUSEADDR setting in target: sockets closed in repair mode
  don't actually go to TIME_WAIT it seems

- bind sockets to address too, and to the right flowside depending
  on whether they are for inbound or outbound connections

- debug messages in flow_migrate_source() and flow_migrate_target()

- error messages in tcp_flow_repair_queues()

- set the same socket options (TCP_NODELAY, TCP_MAXSEG) just like for
  "regular" sockets, in tcp_flow_repair_socket()

- connect() to HOSTFLOW(conn) flowside, not to TGTSIDE, in
  tcp_flow_repair_connect()

- in test setup: set up guest_2 context in subshell

- add migrate/bidirectional test


David Gibson (4):
  fixup: Fix errors in modes that don't support migration
  migrate: Migrate guest observed addresses
  migrate: Hack for late migration fixups
  fixup: Reset SO_PEEK_OFF value after incoming migration

Stefano Brivio (5):
  migrate: Skeleton of live migration logic
  Add interfaces and configuration bits for passt-repair
  vhost_user: Make source quit after reporting migration state
  migrate: Migrate TCP flows
  test: Add migration tests

 Makefile                   |  14 +-
 conf.c                     |  44 +++-
 epoll_type.h               |   6 +-
 flow.c                     | 212 ++++++++++++++++
 flow.h                     |   6 +
 migrate.c                  | 291 ++++++++++++++++++++++
 migrate.h                  |  57 +++++
 passt.1                    |  11 +
 passt.c                    |  15 +-
 passt.h                    |  15 ++
 repair.c                   | 192 +++++++++++++++
 repair.h                   |  16 ++
 tap.c                      |  65 +----
 tcp.c                      | 483 +++++++++++++++++++++++++++++++++++++
 tcp_conn.h                 |  60 +++++
 test/lib/layout            |  55 ++++-
 test/lib/setup             | 128 ++++++++++
 test/lib/test              |   3 +
 test/migrate/basic         |  54 +++++
 test/migrate/bidirectional |  59 +++++
 test/run                   |   7 +
 util.c                     |  62 +++++
 util.h                     |  30 +++
 vhost_user.c               |  70 ++----
 virtio.h                   |   4 -
 vu_common.c                |  49 +---
 vu_common.h                |   2 +-
 27 files changed, 1830 insertions(+), 180 deletions(-)
 create mode 100644 migrate.c
 create mode 100644 migrate.h
 create mode 100644 repair.c
 create mode 100644 repair.h
 create mode 100644 test/migrate/basic
 create mode 100644 test/migrate/bidirectional

-- 
2.43.0


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

end of thread, other threads:[~2025-02-07  1:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-07  1:07 [PATCH v11 0/9] Draft state migration Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 1/9] migrate: Skeleton of live migration logic Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 2/9] fixup: Fix errors in modes that don't support migration Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 3/9] migrate: Migrate guest observed addresses Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 4/9] Add interfaces and configuration bits for passt-repair Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 5/9] vhost_user: Make source quit after reporting migration state Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 6/9] migrate: Hack for late migration fixups Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 7/9] migrate: Migrate TCP flows Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 8/9] fixup: Reset SO_PEEK_OFF value after incoming migration Stefano Brivio
2025-02-07  1:07 ` [PATCH v11 9/9] test: Add migration tests Stefano Brivio

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