Files
Alexandr Moshkov 5eb2347867 vhost-user: add skip_drain param to do_vhost_virtqueue_stop
Currently do_vhost_virtqueue_stop always sends GET_VRING_BASE to the
back-end, which requires the back-end to drain all in-flight I/O before
stopping the vring.

Add a skip_drain parameter to do_vhost_virtqueue_stop and propagate it
up through vhost_virtqueue_stop, vhost_dev_stop and their callers.
The parameter will be used in a follow-up commit to send a new protocol
message that instructs the back-end to suspend in-flight I/O immediately
instead of draining it.

Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260803072853.2920007-2-dtalexundeer@yandex-team.ru>
2026-09-11 15:54:47 -04:00
..
2026-08-29 12:07:45 +04:00
2023-03-10 15:35:38 +08:00
2023-09-20 07:54:34 +03:00
2024-03-12 19:28:32 +08:00
2023-11-13 15:33:37 +08:00
2024-03-12 19:28:31 +08:00
2025-12-27 10:11:06 +01:00
2019-08-16 13:31:52 +02:00
2023-05-23 15:20:15 +08:00
2025-12-27 10:11:06 +01:00