]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user: introduce protocol feature for skip drain on GET_VRING_BASE
authorAlexandr Moshkov <dtalexundeer@yandex-team.ru>
Thu, 15 Jan 2026 08:11:03 +0000 (13:11 +0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Feb 2026 10:06:46 +0000 (05:06 -0500)
commite0822e6085aecc15e2cfb2914d8cd827abae0249
treeac551637bd8a8c948e4aa85a8cd29b7e24724cc3
parente7985b6a5652979460d28008f3ab8cd4166b6e55
vhost-user: introduce protocol feature for skip drain on GET_VRING_BASE

Add vhost-user protocol feature
VHOST_USER_PROTOCOL_F_GET_VRING_BASE_INFLIGHT

Now on GET_VRING_BASE this feature can control whether to wait for
in-flight requests to complete or not.
Also we have to validate that this feature will be enabled only when
qemu and back-end supports in-flight buffer and in-flight migration

It will be helpfull in future for in-flight requests migration in
vhost-user devices.

Update docs, add ref to label for inflight-io-tracking

Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20260115081103.655749-3-dtalexundeer@yandex-team.ru>
docs/interop/vhost-user.rst
hw/virtio/vhost-user.c
include/hw/virtio/vhost-user.h