qemu/tests/libqos
Thomas Huth b57ebd57b4 tests/libqos: Replace clock_step with qtest_clock_step in virtio code
Library functions should not rely on functions that require global_qtest
(since they might get used in tests that deal with multiple states).
Commit 1999a70a05 ("Make generic virtio code independent from
global_qtest") already tried to clean the libqos virtio code, but I
missed to replace the clock_step() function. Thus change it now to
qtest_clock_step() instead.
The logic of the qvirtio_wait_config_isr() function is now pushed
to the virtio-mmio.c and virtio-pci.c files instead, since we can
get the QTestState here easily.

Message-Id: <20190904130047.25808-4-thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2019-09-05 13:18:52 +02:00
..
aarch64-xlnx-zcu102-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
ahci.c
ahci.h
arm-imx25-pdk-machine.c libqos: add ARM imx25-pdk machine object 2019-06-03 14:03:02 +02:00
arm-n800-machine.c libqos: add ARM n800 machine object 2019-06-03 14:03:02 +02:00
arm-raspi2-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-sabrelite-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-smdkc210-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-virt-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-xilinx-zynq-a9-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
e1000e.c tests/libqos/e1000e: Make e1000e libqos functions independent from global_qtest 2019-09-05 13:18:52 +02:00
e1000e.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
fw_cfg.c tests: fw_cfg: add a function to get the fw_cfg file 2019-05-23 14:10:31 +02:00
fw_cfg.h tests: fw_cfg: add a function to get the fw_cfg file 2019-05-23 14:10:31 +02:00
i2c-imx.c tests: convert ds1338-test to qtest 2019-06-03 14:03:02 +02:00
i2c-omap.c tests: convert OMAP i2c tests to qgraph 2019-06-03 14:03:02 +02:00
i2c.c libqos: i2c: move address into QI2CDevice 2019-06-03 14:03:02 +02:00
i2c.h libqos: i2c: move address into QI2CDevice 2019-06-03 14:03:02 +02:00
libqos-pc.c
libqos-pc.h
libqos-spapr.c
libqos-spapr.h
libqos.c
libqos.h
malloc-pc.c tests/libqos: Add pc_fw_cfg_uninit() and use it 2019-05-23 14:10:31 +02:00
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
malloc.c
malloc.h
pci-pc.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
pci-pc.h
pci-spapr.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
pci-spapr.h
pci.c
pci.h tests: qpci_unplug_acpi_device_test() should not rely on global_qtest 2019-05-08 17:45:54 +02:00
ppc64_pseries-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
qgraph_internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
qgraph.c qgraph: fix qos_node_contains with options 2019-06-03 14:03:01 +02:00
qgraph.h qgraph: fix qos_node_contains with options 2019-06-03 14:03:01 +02:00
rtas.c
rtas.h
sdhci.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
sdhci.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpci200.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
usb.c tests/libqtest: Make qtest_qmp_device_add/del independent from global_qtest 2019-08-15 19:24:10 +02:00
usb.h tests/libqtest: Make qtest_qmp_device_add/del independent from global_qtest 2019-08-15 19:24:10 +02:00
virtio-9p.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-9p.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-balloon.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-balloon.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-blk.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-blk.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-mmio.c tests/libqos: Replace clock_step with qtest_clock_step in virtio code 2019-09-05 13:18:52 +02:00
virtio-mmio.h
virtio-net.c libqos: Account for the ctrl queue in virtio-net 2019-08-15 19:23:59 +02:00
virtio-net.h libqos: Account for the ctrl queue in virtio-net 2019-08-15 19:23:59 +02:00
virtio-pci.c tests/libqos: Replace clock_step with qtest_clock_step in virtio code 2019-09-05 13:18:52 +02:00
virtio-pci.h
virtio-rng.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-rng.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-scsi.c tests: Set read-zeroes on for null-co driver 2019-08-15 19:23:59 +02:00
virtio-scsi.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-serial.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-serial.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio.c tests/libqos: Replace clock_step with qtest_clock_step in virtio code 2019-09-05 13:18:52 +02:00
virtio.h tests/libqos: Replace clock_step with qtest_clock_step in virtio code 2019-09-05 13:18:52 +02:00
x86_64_pc-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00