summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2025-09-22 18:01:48 -0400
committerMichael S. Tsirkin <mst@redhat.com>2025-10-05 09:01:08 -0400
commite06d96d5a9f81608ede08576445ac20ac2e73dcc (patch)
tree6ccbd36a050792ab4a496d6452f1fa83d16e6189 /python/qemu/utils/accel.py
parent3b11003fa67b3f055637ff52e1fe8327f7590ee1 (diff)
downloadfocaccia-qemu-e06d96d5a9f81608ede08576445ac20ac2e73dcc.tar.gz
focaccia-qemu-e06d96d5a9f81608ede08576445ac20ac2e73dcc.zip
tests/libqos: extract qvirtqueue_set_avail_idx()
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 <stefanha@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250922220149.498967-5-stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions