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>
2 months ago
..
aarch64-xlnx-zcu102-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
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 11 months ago
arm-raspi2-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
arm-sabrelite-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
arm-smdkc210-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
arm-virt-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
arm-xilinx-zynq-a9-machine.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
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 10 months ago
fw_cfg.h tests/qtest/libqos: add DMA support for writing and reading fw_cfg files 10 months ago
generic-pcihost.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
generic-pcihost.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
i2c-imx.c tests/qtest/libqos: Reuse TYPE_IMX_I2C define 11 months ago
i2c-omap.c tests: move libqtest.h back under qtest/ 4 years ago
i2c.c tests: move libqtest.h back under qtest/ 4 years ago
i2c.h tests: move libqtest.h back under qtest/ 4 years ago
igb.c tests/qtest: Avoid unaligned access in IGB test 6 months ago
libqos-malloc.c cleanup: Drop pointless return at end of function 8 months ago
libqos-malloc.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
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/ 10 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 2 years ago
malloc-pc.c Remove qemu-common.h include from most units 4 years ago
malloc-pc.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
malloc-spapr.c Remove qemu-common.h include from most units 4 years ago
malloc-spapr.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
meson.build hw/ipack: Clarify KConfig symbols 10 months ago
pci-pc.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
pci-pc.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
pci-spapr.c tests/qtest/libqos/pci: Introduce pio_limit 4 years ago
pci-spapr.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
pci.c qtest/libqos/pci: Do not write to PBA memory 10 months ago
pci.h tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable 4 years ago
ppc64_pseries-machine.c tests: move libqtest.h back under qtest/ 4 years ago
qgraph.c tests/: spelling fixes 2 years ago
qgraph.h tests/qtest: fix some copy and paste errors in kdoc 11 months ago
qgraph_internal.h tests/: spelling fixes 2 years ago
qos_external.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
qos_external.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
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 tests: move libqtest.h back under qtest/ 4 years ago
rtas.h tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
sdhci-cmd.c tests: move libqtest.h back under qtest/ 4 years ago
sdhci-cmd.h tests/qtest/npcm7xx_sdhci: Access the card using its published address 1 year ago
sdhci.c tests: move libqtest.h back under qtest/ 4 years ago
sdhci.h
tpci200.c tests: move libqtest.h back under qtest/ 4 years ago
usb.c tests: move libqtest.h back under qtest/ 4 years ago
usb.h
vhost-user-blk.c tests: move libqtest.h back under qtest/ 4 years ago
vhost-user-blk.h
virtio-9p-client.c tests/9p: add 'Tsetattr' request to test client 7 months ago
virtio-9p-client.h tests/9p: add 'Tsetattr' request to test client 7 months ago
virtio-9p.c tests: add G_GNUC_PRINTF for various functions 3 years ago
virtio-9p.h
virtio-balloon.c tests: move libqtest.h back under qtest/ 4 years ago
virtio-balloon.h
virtio-blk.c tests: move libqtest.h back under qtest/ 4 years ago
virtio-blk.h
virtio-gpio.c tests/: spelling fixes 2 years ago
virtio-gpio.h tests/qtest: enable tests for virtio-gpio 3 years ago
virtio-iommu.c tests: move libqtest.h back under qtest/ 4 years ago
virtio-iommu.h tests: qtest: Add virtio-iommu test 4 years ago
virtio-mmio.c tests/qtest: libqos: Rename malloc.h to libqos-malloc.h 3 years ago
virtio-mmio.h
virtio-net.c tests: move libqtest.h back under qtest/ 4 years ago
virtio-net.h
virtio-pci-modern.c tests/qtest: don't attempt to clock_step while waiting for virtio ISR 10 months ago
virtio-pci-modern.h
virtio-pci.c tests/qtest: don't attempt to clock_step while waiting for virtio ISR 10 months ago
virtio-pci.h
virtio-rng.c tests: move libqtest.h back under qtest/ 4 years ago
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 tests: move libqtest.h back under qtest/ 4 years ago
virtio-scsi.h
virtio-serial.c tests: move libqtest.h back under qtest/ 4 years ago
virtio-serial.h
virtio.c tests/libqos: extract qvirtqueue_set_avail_idx() 2 months ago
virtio.h tests/libqos: extract qvirtqueue_set_avail_idx() 2 months ago
x86_64_pc-machine.c tests: move libqtest.h back under qtest/ 4 years ago