On 19.03.26 18:53, Vladimir Sementsov-Ogievskiy wrote:
Hi all!Here is a new migration parameter "local", which allows to enable local migration of TAP virtio-net backend (and maybe other devices and backends in future), including its properties and open fds. With this new option, management software doesn't need to initialize new TAP and do a switch to it. Nothing should be done around virtio-net in local migration: it just migrates and continues to use same TAP device. So we avoid extra logic in management software, extra allocations in kernel (for new TAP), and corresponding extra delay in migration downtime. v13: 01: simplify extra "else if" to "else" 03: reword documentation (with Markus), drop r-b [sorry, but to be sure, that it is OK for Peter too] 06: - reword documentation - error-out instead of silently ignore br=, ifname=, sndbuf=, vnet_hdr=, when mentioned together with new incoming-fds parameter. - fix stealing packages from TAP by source qemu process after source STOP
Based-on: <[email protected]> "[PATCH v4 00/13] net: refactoring and fixes" -- Best regards, Vladimir
