From: Stefano Brivio <sbrivio@redhat.com>
To: Juraj Marcin <jmarcin@redhat.com>
Cc: qemu-devel@nongnu.org, Fabiano Rosas <farosas@suse.de>,
"Michael S. Tsirkin" <mst@redhat.com>,
Peter Xu <peterx@redhat.com>, Jason Wang <jasowang@redhat.com>,
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
Laurent Vivier <laurent@vivier.eu>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH 0/4] migration: Pass network packets received during switchover to dest VM
Date: Tue, 27 Jan 2026 19:21:08 +0100 [thread overview]
Message-ID: <20260127192108.216495da@elisabeth> (raw)
In-Reply-To: <20260127140316.4187221-1-jmarcin@redhat.com>
[Cc'ing Laurent and David]
On Tue, 27 Jan 2026 15:03:06 +0100
Juraj Marcin <jmarcin@redhat.com> wrote:
> During switchover there is a period during which both source and
> destination side VMs are paused. During this period, all network packets
> are still routed to the source side, but it will never process them.
> Once the destination resumes, it is not aware of these packets and they
> are lost. This can cause packet loss in unreliable protocols and
> extended delays due to retransmission in reliable protocols.
>
> This series resolves this problem by caching packets received once the
> source VM pauses and then passing and injecting them on the destination
> side. This feature is implemented in the last patch. The caching and
> injecting is implemented using network filter interface and should work
> with any backend with vhost=off, but only TAP network backend was
> explicitly tested.
I haven't had a chance to try this change with passt(1) yet (the
backend can be enabled using "-net passt" or by starting it
separately).
Given that passt implements migration on its own (in deeper detail in
some sense, as TCP connections are preserved if IP addresses match), I
wonder if it this might affect or break it somehow.
Did you perhaps have some thoughts about that already?
For context, we didn't really write comprehensive documentation about
it yet, but:
- KubeVirt's enhancement repository has a detailed description at:
https://github.com/kubevirt/enhancements/blob/main/veps/sig-network/passt/passt-migration-proposal.md#live-migration-with-passt
- the QEMU-facing details are outlined in:
https://archives.passt.top/passt-dev/20241219111400.2352110-1-lvivier@redhat.com/
- usage of TCP_REPAIR is briefly described in passt-repair(1)
--
Stefano
next prev parent reply other threads:[~2026-01-27 18:23 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 14:03 [PATCH 0/4] migration: Pass network packets received during switchover to dest VM Juraj Marcin
2026-01-27 14:03 ` [PATCH 1/4] migration/qemu-file: Add ability to clear error Juraj Marcin
2026-01-27 14:03 ` [PATCH 2/4] migration: Introduce VM_STARTED return-path message Juraj Marcin
2026-01-27 22:29 ` Michael S. Tsirkin
2026-01-27 14:03 ` [PATCH 3/4] migration: Convert VMSD early_setup into VMStateSavePhase enum Juraj Marcin
2026-01-27 14:03 ` [PATCH 4/4] migration: Pass network packets received during switchover to dest VM Juraj Marcin
2026-01-27 14:25 ` Daniel P. Berrangé
2026-01-27 22:27 ` Michael S. Tsirkin
2026-01-28 12:23 ` Juraj Marcin
2026-01-28 2:55 ` Jason Wang
2026-01-28 2:56 ` Jason Wang
2026-01-28 9:07 ` Cindy Lu
2026-01-28 13:49 ` Juraj Marcin
2026-01-29 1:05 ` Jason Wang
2026-01-29 16:07 ` Zhang Chen
2026-01-27 18:21 ` Stefano Brivio [this message]
2026-01-28 13:06 ` [PATCH 0/4] " Juraj Marcin
2026-01-28 17:27 ` Stefano Brivio
2026-01-30 14:40 ` Juraj Marcin
2026-01-31 2:27 ` Stefano Brivio
2026-02-04 11:23 ` Juraj Marcin
2026-02-03 12:03 ` Laurent Vivier
2026-02-03 13:29 ` Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260127192108.216495da@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=farosas@suse.de \
--cc=jasowang@redhat.com \
--cc=jmarcin@redhat.com \
--cc=laurent@vivier.eu \
--cc=mst@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@yandex-team.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.