qemu/subprojects
Stefan Hajnoczi 1ace07171a libvhost-user: look for available vq buffers upon SET_VRING_KICK
When a vring is started the back-end must look for available vq buffers
and process them. This scenario can happen if the back-end is stopped
with unprocessed available buffers and then started again.

The inflight I/O tracking code already did this, but it should also be
done when inflight I/O tracking is not enabled.

Move the code and make it robust in case of EINTR or EAGAIN.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260604201029.250450-3-stefanha@redhat.com>
2026-07-04 05:03:47 -04:00
..
libvduse libvduse: fix buffer overflow in vduse_queue_read_indirect_desc() 2026-06-03 08:36:12 -04:00
libvhost-user libvhost-user: look for available vq buffers upon SET_VRING_KICK 2026-07-04 05:03:47 -04:00
packagefiles subprojects: add probe crate 2025-12-27 10:11:10 +01:00
.gitignore subprojects: add probe crate 2025-12-27 10:11:10 +01:00
anyhow-1-rs.wrap subprojects: add the anyhow crate 2025-06-05 20:24:51 +02:00
arbitrary-int-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
attrs-0.2-rs.wrap subprojects: add attrs crate 2025-09-22 17:17:18 +02:00
berkeley-softfloat-3.wrap subprojects: Use the correct .git suffix in the repository URLs 2023-09-21 11:31:18 +03:00
berkeley-testfloat-3.wrap subprojects: Use the correct .git suffix in the repository URLs 2023-09-21 11:31:18 +03:00
bilge-0.2-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
bilge-impl-0.2-rs.wrap rust: let bilge use "let ... else" 2025-05-06 16:02:04 +02:00
dtc.wrap meson: subprojects: replace submodules with wrap files 2023-06-06 16:30:01 +02:00
either-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
foreign-0.3-rs.wrap subprojects: add the foreign crate 2025-06-05 20:24:51 +02:00
glib-sys-0.21-rs.wrap subprojects: add glib-sys-rs 2025-10-03 15:14:48 +02:00
itertools-0.11-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
keycodemapdb.wrap meson: subprojects: replace submodules with wrap files 2023-06-06 16:30:01 +02:00
libblkio.wrap subprojects: add wrap file for libblkio 2023-09-07 13:32:37 +02:00
libc-0.2-rs.wrap rust: subprojects: add libc crate 2025-02-25 10:49:23 +01:00
libvfio-user.wrap hw/remote: update libvfio-user subproject 2026-05-20 15:05:20 +02:00
probe-0.5-rs.wrap subprojects: add probe crate 2025-12-27 10:11:10 +01:00
proc-macro-error-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
proc-macro-error-attr-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
proc-macro2-1-rs.wrap subprojects: update proc-macro2 and syn 2025-08-27 10:57:04 +02:00
quote-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00
slirp.wrap subprojects: Use the correct .git suffix in the repository URLs 2023-09-21 11:31:18 +03:00
syn-2-rs.wrap subprojects: update proc-macro2 and syn 2025-08-27 10:57:04 +02:00
unicode-ident-1-rs.wrap rust: hide warnings for subprojects 2025-01-10 23:34:44 +01:00