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

On top of v7:

- call repair_close() from migrate_close(): shutdown passt-repair
  when we're done in the target

- add tests! Run as PCAP=1 ./run migrate/basic

- add save/restore of send and receive queues. Not tested with
  full queues. It doesn't break things with empty queues, at least


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/run        |   4 +
 util.c          |  62 +++++++
 util.h          |  30 ++++
 vhost_user.c    |  69 +++-----
 virtio.h        |   4 -
 vu_common.c     |  49 +----
 vu_common.h     |   2 +-
 25 files changed, 1708 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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-05 23:03 [PATCH v8 0/6] Draft state migration Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 1/6] migrate: Skeleton of live migration logic Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 2/6] Add interfaces and configuration bits for passt-repair Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 3/6] vhost_user: Make source quit after reporting migration state Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 4/6] migrate: Hack for late migration fixups Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 5/6] migrate: Migrate TCP flows Stefano Brivio
2025-02-05 23:03 ` [PATCH v8 6/6] test: Add migrate/basic 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).