Re: [PATCH 2/4] vhost-user: add skip_drain param to GET_VRING_BASE

Vladimir Sementsov-Ogievskiy <[email protected]> Thu, 5 Mar 2026 12:26:35 +0300
Newsgroups dev.linux.lists.virtio-fs,org.nongnu.qemu-devel
Message-ID <[email protected]>
On 24.02.26 10:50, 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.
> 
> Signed-off-by: Alexandr Moshkov<[email protected]>

Let's split this commit, at least into two:

1. add additional vhost_dev_stop() parameter (most of this commit)

2. breaking changes for (not yet released) vhost-user protocol extension

-- 
Best regards,
Vladimir