You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qtest/libqos
Stefan Hajnoczi e06d96d5a9 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>
1 month ago
..
aarch64-xlnx-zcu102-machine.c
ahci.c tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` 2 years ago
ahci.h qtest/libqos: Reduce size_to_prdtl() declaration scope 2 years ago
arm-imx25-pdk-machine.c tests/qtest/libqos: Reuse TYPE_IMX_I2C define 10 months ago
arm-raspi2-machine.c
arm-sabrelite-machine.c
arm-smdkc210-machine.c
arm-virt-machine.c
arm-xilinx-zynq-a9-machine.c
e1000e.c tests/qtest/libqos/e1000e: Export macreg functions 3 years ago
e1000e.h tests/qtest/libqos/e1000e: Export macreg functions 3 years ago
fw_cfg.c tests/qtest/libqos: add DMA support for writing and reading fw_cfg files 9 months ago
fw_cfg.h tests/qtest/libqos: add DMA support for writing and reading fw_cfg files 9 months ago
generic-pcihost.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
generic-pcihost.h
i2c-imx.c tests/qtest/libqos: Reuse TYPE_IMX_I2C define 10 months ago
i2c-omap.c
i2c.c
i2c.h
igb.c tests/qtest: Avoid unaligned access in IGB test 5 months ago
libqos-malloc.c cleanup: Drop pointless return at end of function 7 months ago
libqos-malloc.h
libqos-pc.c
libqos-pc.h tests: add G_GNUC_PRINTF for various functions 3 years ago
libqos-spapr.c
libqos-spapr.h tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 1 year ago
libqos.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
libqos.h tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest 2 years ago
loongarch-virt-machine.c tests/libqos: Add loongarch virt machine node 1 year ago
malloc-pc.c
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
meson.build hw/ipack: Clarify KConfig symbols 10 months ago
pci-pc.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
pci-pc.h
pci-spapr.c
pci-spapr.h
pci.c qtest/libqos/pci: Do not write to PBA memory 9 months ago
pci.h
ppc64_pseries-machine.c
qgraph.c tests/: spelling fixes 2 years ago
qgraph.h tests/qtest: fix some copy and paste errors in kdoc 10 months ago
qgraph_internal.h tests/: spelling fixes 2 years ago
qos_external.c qapi: Move include/qapi/qmp/ to include/qobject/ 9 months ago
qos_external.h
riscv-iommu.c test/qtest: add riscv-iommu-pci tests 1 year ago
riscv-iommu.h qtest/riscv-iommu-test: add init queues test 1 year ago
riscv-virt-machine.c tests/libqos: add riscv/virt machine nodes 2 years ago
rtas.c
rtas.h
sdhci-cmd.c
sdhci-cmd.h tests/qtest/npcm7xx_sdhci: Access the card using its published address 1 year ago
sdhci.c
sdhci.h
tpci200.c
usb.c
usb.h
vhost-user-blk.c
vhost-user-blk.h
virtio-9p-client.c tests/9p: add 'Tsetattr' request to test client 6 months ago
virtio-9p-client.h tests/9p: add 'Tsetattr' request to test client 6 months ago
virtio-9p.c tests: add G_GNUC_PRINTF for various functions 3 years ago
virtio-9p.h
virtio-balloon.c
virtio-balloon.h
virtio-blk.c
virtio-blk.h
virtio-gpio.c tests/: spelling fixes 2 years ago
virtio-gpio.h
virtio-iommu.c
virtio-iommu.h
virtio-mmio.c
virtio-mmio.h
virtio-net.c
virtio-net.h
virtio-pci-modern.c tests/qtest: don't attempt to clock_step while waiting for virtio ISR 9 months ago
virtio-pci-modern.h
virtio-pci.c tests/qtest: don't attempt to clock_step while waiting for virtio ISR 9 months ago
virtio-pci.h
virtio-rng.c
virtio-rng.h
virtio-scmi.c licenses: Remove SPDX tags not being license identifier for Linaro 10 months ago
virtio-scmi.h tests/qtest: enable tests for virtio-scmi 2 years ago
virtio-scsi.c
virtio-scsi.h
virtio-serial.c
virtio-serial.h
virtio.c tests/libqos: extract qvirtqueue_set_avail_idx() 1 month ago
virtio.h tests/libqos: extract qvirtqueue_set_avail_idx() 1 month ago
x86_64_pc-machine.c