On 23/9/25 00:01, Stefan Hajnoczi wrote:
Setting the vring's avail.idx can be useful for low-level VIRTIO tests,
especially for testing error scenarios with invalid vrings. Extract it
into a new function so that the next commit can add a test that uses
this new test API.
Signed-off-by: Stefan Hajnoczi <[email protected]>
---
tests/qtest/libqos/virtio.h | 2 ++
tests/qtest/libqos/virtio.c | 16 ++++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>