From: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
To: Alexandr Moshkov <dtalexundeer@yandex-team.ru>, qemu-devel@nongnu.org
Cc: virtio-fs@lists.linux.dev, "zhenwei pi" <zhenwei.pi@linux.dev>,
"Hanna Reitz" <hreitz@redhat.com>,
"yc-core@yandex-team.ru" <yc-core@yandex-team.ru>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
"Raphael Norwitz" <rnorwitz@nvidia.com>,
"Milan Zamazal" <mzamazal@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Jason Wang" <jasowang@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
qemu-block@nongnu.org,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Stefano Garzarella" <sgarzare@redhat.com>,
"Fam Zheng" <fam@euphon.net>, "Kevin Wolf" <kwolf@redhat.com>
Subject: Re: [PATCH v2 4/4] vhost-user: add skip_drain param to GET_VRING_BASE
Date: Tue, 24 Mar 2026 18:25:47 +0300 [thread overview]
Message-ID: <6c478bcc-dfc9-4d29-a92e-db0ec974b8db@yandex-team.ru> (raw)
In-Reply-To: <20260311084728.751169-5-dtalexundeer@yandex-team.ru>
On 11.03.26 11:47, Alexandr Moshkov wrote:
> In case of migration of QEMU from the new version (where the
> inllight-migration parameter is present), to the old one (where it is
> absent) there is no way to disable this feature on the backend during
> runtime.
>
> This commit slightly changes the semantics of the protocol feature
> VHOST_USER_PROTOCOL_F_GET_VRING_BASE_INFLIGHT. Enabling this feature
> adds a new parameter for GET_VRING_BASE, which allows to control the
> drain in-flight requests on the backend.
> Thus, QEMU will be able to turn this feature on GET_VRING_BASE off and
> on anytime.
>
> In vhost-user-blk use inflight_migration param to enable skip_drain to
> suspend in-flight I/O requests, and then migrate them throught inflight
> subsection.
>
> Also now QEMU will always try to setup
> VHOST_USER_PROTOCOL_F_GET_VRING_BASE_INFLIGHT protocol featrue with
> backend. This will allow to use skip_drain parameter on GET_VRING_BASE
> message.
>
> Signed-off-by: Alexandr Moshkov<dtalexundeer@yandex-team.ru>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Is it too late for 11.0, to fix protocol disadvantage we've added?
Or could it be fixed in 11.1?
--
Best regards,
Vladimir
next prev parent reply other threads:[~2026-03-24 15:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 8:47 [PATCH v2 0/4] vhost-user-blk: fix compatibility with older qemu versions Alexandr Moshkov
2026-03-11 8:47 ` [PATCH v2 1/4] vhost-user.rst: fix typo Alexandr Moshkov
2026-03-24 15:09 ` Vladimir Sementsov-Ogievskiy
2026-03-11 8:47 ` [PATCH v2 2/4] vhost-user: add skip_drain param to do_vhost_virtqueue_stop Alexandr Moshkov
2026-03-24 15:09 ` Vladimir Sementsov-Ogievskiy
2026-03-11 8:47 ` [PATCH v2 3/4] vhost-user-blk: move inflight_needed higher Alexandr Moshkov
2026-03-24 15:10 ` Vladimir Sementsov-Ogievskiy
2026-03-11 8:47 ` [PATCH v2 4/4] vhost-user: add skip_drain param to GET_VRING_BASE Alexandr Moshkov
2026-03-24 15:25 ` Vladimir Sementsov-Ogievskiy [this message]
2026-03-23 7:41 ` [PATCH v2 0/4] vhost-user-blk: fix compatibility with older qemu versions Alexandr Moshkov
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=6c478bcc-dfc9-4d29-a92e-db0ec974b8db@yandex-team.ru \
--to=vsementsov@yandex-team.ru \
--cc=alex.bennee@linaro.org \
--cc=arei.gonglei@huawei.com \
--cc=dtalexundeer@yandex-team.ru \
--cc=fam@euphon.net \
--cc=hreitz@redhat.com \
--cc=jasowang@redhat.com \
--cc=kwolf@redhat.com \
--cc=mst@redhat.com \
--cc=mzamazal@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=rnorwitz@nvidia.com \
--cc=sgarzare@redhat.com \
--cc=stefanha@redhat.com \
--cc=virtio-fs@lists.linux.dev \
--cc=yc-core@yandex-team.ru \
--cc=zhenwei.pi@linux.dev \
/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