From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v17 0/8] Not-really-draft state migration
Date: Wed, 12 Feb 2025 02:19:37 +0100 [thread overview]
Message-ID: <20250212011945.657249-1-sbrivio@redhat.com> (raw)
Still missing at this point:
- filtering out non-established sockets
- trivial: SACK_PERM and timestamps (I forgot, we don't support them
guest-side but they're relevant for sockets)
- reasonable error handling, including not failing a migration on the
target when it's anyway too late, or not crashing if we can't bind()
or connect() a socket
- tests with half-closed sockets
The new SELinux rule is still untested.
David Gibson (2):
migrate: Migrate guest observed addresses
rampstream: Add utility to test for corruption of data streams
Stefano Brivio (6):
migrate: Skeleton of live migration logic
Add interfaces and configuration bits for passt-repair
vhost_user: Make source quit after reporting migration state
tcp: Get bound address for connected inbound sockets too
migrate: Migrate TCP flows
test: Add migration tests
Makefile | 14 +-
conf.c | 43 +-
contrib/selinux/passt.te | 2 +-
epoll_type.h | 6 +-
flow.c | 259 ++++++++++-
flow.h | 8 +
flow_table.h | 6 +-
migrate.c | 309 +++++++++++++
migrate.h | 51 +++
passt.1 | 11 +
passt.c | 21 +-
passt.h | 15 +
repair.c | 218 +++++++++
repair.h | 16 +
tap.c | 65 +--
tcp.c | 886 +++++++++++++++++++++++++++++++++++-
tcp_conn.h | 99 ++++
test/.gitignore | 1 +
test/Makefile | 5 +-
test/lib/layout | 55 ++-
test/lib/setup | 138 +++++-
test/lib/test | 48 ++
test/migrate/basic | 59 +++
test/migrate/bidirectional | 64 +++
test/migrate/iperf3_bidir6 | 58 +++
test/migrate/iperf3_in4 | 50 ++
test/migrate/iperf3_in6 | 58 +++
test/migrate/iperf3_out4 | 50 ++
test/migrate/iperf3_out6 | 58 +++
test/migrate/rampstream_in | 61 +++
test/migrate/rampstream_out | 55 +++
test/passt.mbuto | 5 +-
test/rampstream-check.sh | 3 +
test/rampstream.c | 142 ++++++
test/run | 29 ++
util.c | 62 +++
util.h | 30 ++
vhost_user.c | 67 +--
virtio.h | 4 -
vu_common.c | 49 +-
vu_common.h | 2 +-
41 files changed, 2977 insertions(+), 205 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
create mode 100644 test/migrate/iperf3_bidir6
create mode 100644 test/migrate/iperf3_in4
create mode 100644 test/migrate/iperf3_in6
create mode 100644 test/migrate/iperf3_out4
create mode 100644 test/migrate/iperf3_out6
create mode 100644 test/migrate/rampstream_in
create mode 100644 test/migrate/rampstream_out
create mode 100755 test/rampstream-check.sh
create mode 100644 test/rampstream.c
--
2.43.0
next reply other threads:[~2025-02-12 1:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 1:19 Stefano Brivio [this message]
2025-02-12 1:19 ` [PATCH v17 1/8] migrate: Skeleton of live migration logic Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 2/8] migrate: Migrate guest observed addresses Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 3/8] Add interfaces and configuration bits for passt-repair Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 4/8] vhost_user: Make source quit after reporting migration state Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 5/8] tcp: Get bound address for connected inbound sockets too Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 6/8] migrate: Migrate TCP flows Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 7/8] rampstream: Add utility to test for corruption of data streams Stefano Brivio
2025-02-12 1:19 ` [PATCH v17 8/8] test: Add migration tests Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250212011945.657249-1-sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).