Changes from v13: * Split shrinking of windows before migration to a separate patch * Added assorted fixups for small issues David Gibson (7): fixup: Remove unused iov field in struct migrate_stage migrate: Migrate guest observed addresses fixup: Reorder conf options fixup: Correctly type repair_cmd global fixup: Sanity check passt-repair reply message fixup: Don't close repair socket after first migration attempt fixup: Adjust conditions under which we quite after completing migration Stefano Brivio (7): 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 fixup: Check for errors on repair mode rollback test: Add migration tests WIP: migrate, tcp: Shrink windows before migration Makefile | 14 +- conf.c | 44 ++- epoll_type.h | 6 +- flow.c | 250 ++++++++++++ flow.h | 8 + migrate.c | 307 +++++++++++++++ migrate.h | 51 +++ passt.1 | 11 + passt.c | 21 +- passt.h | 15 + repair.c | 218 ++++++++++ repair.h | 16 + tap.c | 65 +-- tcp.c | 788 +++++++++++++++++++++++++++++++++++++ tcp_conn.h | 95 +++++ test/lib/layout | 55 ++- test/lib/setup | 134 +++++++ test/lib/test | 48 +++ test/migrate/basic | 59 +++ test/migrate/bidirectional | 64 +++ test/migrate/iperf3_in4 | 50 +++ test/migrate/iperf3_in6 | 58 +++ test/migrate/iperf3_out4 | 50 +++ test/migrate/iperf3_out6 | 58 +++ test/run | 10 + util.c | 62 +++ util.h | 30 ++ vhost_user.c | 67 +--- virtio.h | 4 - vu_common.c | 49 +-- vu_common.h | 2 +- 31 files changed, 2524 insertions(+), 185 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_in4 create mode 100644 test/migrate/iperf3_in6 create mode 100644 test/migrate/iperf3_out4 create mode 100644 test/migrate/iperf3_out6 -- 2.48.1