From: Markus Armbruster <armbru@redhat.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Cc: jasowang@redhat.com, mst@redhat.com, thuth@redhat.com,
eblake@redhat.com, farosas@suse.de, peterx@redhat.com,
zhao1.liu@intel.com, wangyanan55@huawei.com, philmd@linaro.org,
marcel.apfelbaum@gmail.com, eduardo@habkost.net,
davydov-max@yandex-team.ru, qemu-devel@nongnu.org,
yc-core@yandex-team.ru, leiyang@redhat.com,
raphael.s.norwitz@gmail.com, bchaney@akamai.com
Subject: Re: [PATCH v12 6/8] net/tap: support local migration with virtio-net
Date: Wed, 11 Mar 2026 10:38:46 +0100 [thread overview]
Message-ID: <87bjgueme1.fsf@pond.sub.org> (raw)
In-Reply-To: <3408f5b9-d0b8-4005-853c-119b2b429829@yandex-team.ru> (Vladimir Sementsov-Ogievskiy's message of "Tue, 10 Mar 2026 18:42:53 +0300")
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> writes:
> On 10.03.26 16:46, Markus Armbruster wrote:
>> Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> writes:
>>
>>> Support transferring of TAP state (including open fd) through
>>> migration stream as part of viritio-net "local-migration".
>>>
>>> Add new option, incoming-fds, which should be set to true to
>>> trigger new logic.
>>>
>>> For new option require explicitly unset script and downscript,
>>> to keep possibility of implementing support for them in future.
>>>
>>> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
>> [...]
>>
>>> diff --git a/qapi/net.json b/qapi/net.json
>>> index 118bd349651..79f5ce9f431 100644
>>> --- a/qapi/net.json
>>> +++ b/qapi/net.json
>>> @@ -355,6 +355,9 @@
>>> # @poll-us: maximum number of microseconds that could be spent on busy
>>> # polling for tap (since 2.7)
>>> #
>>> +# @incoming-fds: do not open/connnect any resources, instead wait for
>>> +# TAP state from incoming migration stream. (Since 11.0)
>> "resources"? The name @incoming-fds suggests this is about file
>> descriptors...
>
> Hmm. But, I can't say "open any file descriptors"..
>
>
>> "wait for TAP state from" does not make sense. Do you mean "retrieve
>> TAP state from"?
>
> Retrieve means actively do something, but I mean, that FDs will come in
> future from incoming migration stream, and we just wait for it and "do nothing"
> at the moment of net-tap initialization.
>
>
> Let me try to reword:
>
> Do not open or create any TAP devices. Prepare for getting opened
> TAP file descriptors from incoming migration stream.
Better, thanks!
>> Is any part of NetdevTapOptions ignored when @incoming-fds is true?
>
> Hmm yes. sndbuf, vnet_hdr and ifname. I should add this information here.
I dislike ignoring the user's instructions silently. Can we make it an
error?
[...]
next prev parent reply other threads:[~2026-03-11 9:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 21:32 [PATCH v12 0/8] virtio-net: live-TAP local migration Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 1/8] net/tap: move vhost-net open() calls to tap_parse_vhost_fds() Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 2/8] net/tap: move vhost initialization to tap_setup_vhost() Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 3/8] qapi: add local migration parameter Vladimir Sementsov-Ogievskiy
2026-03-10 13:53 ` Markus Armbruster
2026-03-10 15:06 ` Vladimir Sementsov-Ogievskiy
2026-03-10 15:22 ` Markus Armbruster
2026-03-10 15:46 ` Vladimir Sementsov-Ogievskiy
2026-03-10 15:58 ` Markus Armbruster
2026-03-11 6:54 ` Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 4/8] net: introduce vmstate_net_peer_backend Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 5/8] virtio-net: support local migration of backend Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 6/8] net/tap: support local migration with virtio-net Vladimir Sementsov-Ogievskiy
2026-03-10 13:46 ` Markus Armbruster
2026-03-10 15:42 ` Vladimir Sementsov-Ogievskiy
2026-03-11 9:38 ` Markus Armbruster [this message]
2026-03-11 11:31 ` Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 7/8] tests/functional: add skipWithoutSudo() decorator Vladimir Sementsov-Ogievskiy
2026-03-06 21:32 ` [PATCH v12 8/8] tests/functional: add test_tap_migration Vladimir Sementsov-Ogievskiy
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=87bjgueme1.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=bchaney@akamai.com \
--cc=davydov-max@yandex-team.ru \
--cc=eblake@redhat.com \
--cc=eduardo@habkost.net \
--cc=farosas@suse.de \
--cc=jasowang@redhat.com \
--cc=leiyang@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=raphael.s.norwitz@gmail.com \
--cc=thuth@redhat.com \
--cc=vsementsov@yandex-team.ru \
--cc=wangyanan55@huawei.com \
--cc=yc-core@yandex-team.ru \
--cc=zhao1.liu@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox