From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 049A55A061E; Thu, 06 Feb 2025 00:09:19 +0100 (CET) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v9 0/6] Draft state migration Date: Thu, 6 Feb 2025 00:09:12 +0100 Message-ID: <20250205230919.205302-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: XT6J6WSTKJ57OVTVFMVFAFX7RNYMS3U7 X-Message-ID-Hash: XT6J6WSTKJ57OVTVFMVFAFX7RNYMS3U7 X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Oops. Now with 100% more tests... David Gibson (1): migrate: Hack for late migration fixups 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 migrate/basic tests Makefile | 14 +- conf.c | 44 ++++- epoll_type.h | 6 +- flow.c | 226 ++++++++++++++++++++++ flow.h | 7 + migrate.c | 292 ++++++++++++++++++++++++++++ migrate.h | 57 ++++++ passt.1 | 11 ++ passt.c | 14 +- passt.h | 15 ++ repair.c | 193 +++++++++++++++++++ repair.h | 16 ++ tap.c | 65 +------ tcp.c | 462 +++++++++++++++++++++++++++++++++++++++++++++ tcp_conn.h | 61 ++++++ test/lib/layout | 55 +++++- test/lib/setup | 127 +++++++++++++ test/lib/test | 3 + test/migrate/basic | 54 ++++++ test/run | 4 + util.c | 62 ++++++ util.h | 30 +++ vhost_user.c | 69 ++----- virtio.h | 4 - vu_common.c | 49 +---- vu_common.h | 2 +- 26 files changed, 1762 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 -- 2.43.0