On Thu, Jun 04, 2026 at 04:10:28PM -0400, Stefan Hajnoczi wrote:
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 <[email protected]>
---
subprojects/libvhost-user/libvhost-user.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

Reviewed-by: Stefano Garzarella <[email protected]>


Reply via email to