Hi all! That's a kind of alternative to [RFC V2 0/8] Live update: tap and vhost https://patchew.org/QEMU/1752777568-236368-1-git-send-email-steven.sist...@oracle.com/
Instead of using CPR with additional stage and channel to pass FDs, we just pass everything we need (including FDs) through main migration channel (of-course, it should be unix socket). So, it's similar to live-backend vhost-user-blk migration which I propose in [PATCH 00/33] vhost-user-blk: live-backend local migration https://patchew.org/QEMU/20250813164856.950363-1-vsement...@yandex-team.ru/ The series is based on [PATCH 00/33] vhost-user-blk: live-backend local migration and [PATCH v2 00/20] TAP initialization refactoring The series is also pushed to tag up-tap-fd-migration-v1 here: https://gitlab.com/vsementsov/qemu/-/tree/up-tap-fd-migration-v1?ref_type=tags The series is working draft, so marked as RFC. Next steps would be implementing a test, and smarter migration of vhostnet (without reinitialization of vhost). The last patch provides a kind of stand to test these series, and it also can help with testing "[RFC V2 0/8] Live update: tap and vhost" Based-on: <20250823160323.20811-1-vsement...@yandex-team.ru> Based-on: <20250823160323.20811-1-vsement...@yandex-team.ru> Vladimir Sementsov-Ogievskiy (7): net/tap: add some trace points net/tap: keep exit notifier only when downscript set qapi: add interface for local TAP migration net/tap: implement interfaces for local migration virtio-net: support local tap migration net/tap: experimental support for vhost in local tap migration RFC: add python/tap-migration-stand.py hw/net/virtio-net.c | 100 +++++++++- include/hw/virtio/virtio-net.h | 2 + include/net/tap.h | 4 + migration/options.c | 7 + migration/options.h | 1 + net/tap.c | 226 ++++++++++++++++----- net/trace-events | 7 + python/qemu/machine/machine.py | 37 ++-- python/tap-migration-stand.py | 348 +++++++++++++++++++++++++++++++++ qapi/migration.json | 9 +- qapi/net.json | 12 +- 11 files changed, 681 insertions(+), 72 deletions(-) create mode 100755 python/tap-migration-stand.py -- 2.48.1