aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.include221
-rw-r--r--tests/qtest/ac97-test.c (renamed from tests/ac97-test.c)0
-rw-r--r--tests/qtest/acpi-utils.c (renamed from tests/acpi-utils.c)0
-rw-r--r--tests/qtest/acpi-utils.h (renamed from tests/acpi-utils.h)0
-rw-r--r--tests/qtest/ahci-test.c (renamed from tests/ahci-test.c)0
-rw-r--r--tests/qtest/arm-cpu-features.c (renamed from tests/arm-cpu-features.c)0
-rw-r--r--tests/qtest/bios-tables-test-allowed-diff.h (renamed from tests/bios-tables-test-allowed-diff.h)0
-rw-r--r--tests/qtest/bios-tables-test.c (renamed from tests/bios-tables-test.c)0
-rw-r--r--tests/qtest/boot-order-test.c (renamed from tests/boot-order-test.c)0
-rw-r--r--tests/qtest/boot-sector.c (renamed from tests/boot-sector.c)0
-rw-r--r--tests/qtest/boot-sector.h (renamed from tests/boot-sector.h)0
-rw-r--r--tests/qtest/boot-serial-test.c (renamed from tests/boot-serial-test.c)0
-rw-r--r--tests/qtest/cdrom-test.c (renamed from tests/cdrom-test.c)0
-rw-r--r--tests/qtest/cpu-plug-test.c (renamed from tests/cpu-plug-test.c)0
-rw-r--r--tests/qtest/dbus-vmstate-test.c (renamed from tests/dbus-vmstate-test.c)0
-rw-r--r--tests/qtest/dbus-vmstate1.xml (renamed from tests/dbus-vmstate1.xml)0
-rw-r--r--tests/qtest/device-introspect-test.c (renamed from tests/device-introspect-test.c)0
-rw-r--r--tests/qtest/device-plug-test.c (renamed from tests/device-plug-test.c)0
-rw-r--r--tests/qtest/display-vga-test.c (renamed from tests/display-vga-test.c)0
-rw-r--r--tests/qtest/drive_del-test.c (renamed from tests/drive_del-test.c)0
-rw-r--r--tests/qtest/ds1338-test.c (renamed from tests/ds1338-test.c)0
-rw-r--r--tests/qtest/e1000-test.c (renamed from tests/e1000-test.c)0
-rw-r--r--tests/qtest/e1000e-test.c (renamed from tests/e1000e-test.c)0
-rw-r--r--tests/qtest/eepro100-test.c (renamed from tests/eepro100-test.c)0
-rw-r--r--tests/qtest/endianness-test.c (renamed from tests/endianness-test.c)0
-rw-r--r--tests/qtest/es1370-test.c (renamed from tests/es1370-test.c)0
-rw-r--r--tests/qtest/fdc-test.c (renamed from tests/fdc-test.c)0
-rw-r--r--tests/qtest/fw_cfg-test.c (renamed from tests/fw_cfg-test.c)0
-rw-r--r--tests/qtest/hd-geo-test.c (renamed from tests/hd-geo-test.c)0
-rw-r--r--tests/qtest/hexloader-test.c (renamed from tests/hexloader-test.c)0
-rw-r--r--tests/qtest/i440fx-test.c (renamed from tests/i440fx-test.c)0
-rw-r--r--tests/qtest/i82801b11-test.c (renamed from tests/i82801b11-test.c)0
-rw-r--r--tests/qtest/ide-test.c (renamed from tests/ide-test.c)0
-rw-r--r--tests/qtest/intel-hda-test.c (renamed from tests/intel-hda-test.c)0
-rw-r--r--tests/qtest/ioh3420-test.c (renamed from tests/ioh3420-test.c)0
-rw-r--r--tests/qtest/ipmi-bt-test.c (renamed from tests/ipmi-bt-test.c)0
-rw-r--r--tests/qtest/ipmi-kcs-test.c (renamed from tests/ipmi-kcs-test.c)0
-rw-r--r--tests/qtest/ipoctal232-test.c (renamed from tests/ipoctal232-test.c)0
-rw-r--r--tests/qtest/ivshmem-test.c (renamed from tests/ivshmem-test.c)0
-rw-r--r--tests/qtest/libqtest-single.h (renamed from tests/libqtest-single.h)0
-rw-r--r--tests/qtest/libqtest.c (renamed from tests/libqtest.c)0
-rw-r--r--tests/qtest/libqtest.h (renamed from tests/libqtest.h)0
-rw-r--r--tests/qtest/m25p80-test.c (renamed from tests/m25p80-test.c)0
-rw-r--r--tests/qtest/m48t59-test.c (renamed from tests/m48t59-test.c)0
-rw-r--r--tests/qtest/machine-none-test.c (renamed from tests/machine-none-test.c)0
-rw-r--r--tests/qtest/megasas-test.c (renamed from tests/megasas-test.c)0
-rw-r--r--tests/qtest/microbit-test.c (renamed from tests/microbit-test.c)0
-rw-r--r--tests/qtest/migration-helpers.c (renamed from tests/migration-helpers.c)0
-rw-r--r--tests/qtest/migration-helpers.h (renamed from tests/migration-helpers.h)0
-rw-r--r--tests/qtest/migration-test.c (renamed from tests/migration-test.c)0
-rw-r--r--tests/qtest/modules-test.c (renamed from tests/modules-test.c)0
-rw-r--r--tests/qtest/ne2000-test.c (renamed from tests/ne2000-test.c)0
-rw-r--r--tests/qtest/numa-test.c (renamed from tests/numa-test.c)0
-rw-r--r--tests/qtest/nvme-test.c (renamed from tests/nvme-test.c)0
-rw-r--r--tests/qtest/pca9552-test.c (renamed from tests/pca9552-test.c)0
-rw-r--r--tests/qtest/pci-test.c (renamed from tests/pci-test.c)0
-rw-r--r--tests/qtest/pcnet-test.c (renamed from tests/pcnet-test.c)0
-rw-r--r--tests/qtest/pflash-cfi02-test.c (renamed from tests/pflash-cfi02-test.c)0
-rw-r--r--tests/qtest/pnv-xscom-test.c (renamed from tests/pnv-xscom-test.c)0
-rw-r--r--tests/qtest/prom-env-test.c (renamed from tests/prom-env-test.c)0
-rw-r--r--tests/qtest/pvpanic-test.c (renamed from tests/pvpanic-test.c)0
-rw-r--r--tests/qtest/pxe-test.c (renamed from tests/pxe-test.c)0
-rw-r--r--tests/qtest/q35-test.c (renamed from tests/q35-test.c)0
-rw-r--r--tests/qtest/qmp-cmd-test.c (renamed from tests/qmp-cmd-test.c)0
-rw-r--r--tests/qtest/qmp-test.c (renamed from tests/qmp-test.c)0
-rw-r--r--tests/qtest/qom-test.c (renamed from tests/qom-test.c)0
-rw-r--r--tests/qtest/qos-test.c (renamed from tests/qos-test.c)0
-rw-r--r--tests/qtest/rtas-test.c (renamed from tests/rtas-test.c)0
-rw-r--r--tests/qtest/rtc-test.c (renamed from tests/rtc-test.c)0
-rw-r--r--tests/qtest/rtl8139-test.c (renamed from tests/rtl8139-test.c)0
-rw-r--r--tests/qtest/sdhci-test.c (renamed from tests/sdhci-test.c)0
-rw-r--r--tests/qtest/spapr-phb-test.c (renamed from tests/spapr-phb-test.c)0
-rw-r--r--tests/qtest/tco-test.c (renamed from tests/tco-test.c)0
-rw-r--r--tests/qtest/test-arm-mptimer.c (renamed from tests/test-arm-mptimer.c)0
-rw-r--r--tests/qtest/test-filter-mirror.c (renamed from tests/test-filter-mirror.c)0
-rw-r--r--tests/qtest/test-filter-redirector.c (renamed from tests/test-filter-redirector.c)0
-rw-r--r--tests/qtest/test-hmp.c (renamed from tests/test-hmp.c)0
-rw-r--r--tests/qtest/test-netfilter.c (renamed from tests/test-netfilter.c)0
-rw-r--r--tests/qtest/test-x86-cpuid-compat.c (renamed from tests/test-x86-cpuid-compat.c)0
-rw-r--r--tests/qtest/tmp105-test.c (renamed from tests/tmp105-test.c)0
-rw-r--r--tests/qtest/tpm-crb-swtpm-test.c (renamed from tests/tpm-crb-swtpm-test.c)0
-rw-r--r--tests/qtest/tpm-crb-test.c (renamed from tests/tpm-crb-test.c)0
-rw-r--r--tests/qtest/tpm-emu.c (renamed from tests/tpm-emu.c)0
-rw-r--r--tests/qtest/tpm-emu.h (renamed from tests/tpm-emu.h)0
-rw-r--r--tests/qtest/tpm-tests.c (renamed from tests/tpm-tests.c)0
-rw-r--r--tests/qtest/tpm-tests.h (renamed from tests/tpm-tests.h)0
-rw-r--r--tests/qtest/tpm-tis-swtpm-test.c (renamed from tests/tpm-tis-swtpm-test.c)0
-rw-r--r--tests/qtest/tpm-tis-test.c (renamed from tests/tpm-tis-test.c)0
-rw-r--r--tests/qtest/tpm-util.c (renamed from tests/tpm-util.c)0
-rw-r--r--tests/qtest/tpm-util.h (renamed from tests/tpm-util.h)0
-rw-r--r--tests/qtest/usb-hcd-ehci-test.c (renamed from tests/usb-hcd-ehci-test.c)0
-rw-r--r--tests/qtest/usb-hcd-ohci-test.c (renamed from tests/usb-hcd-ohci-test.c)0
-rw-r--r--tests/qtest/usb-hcd-uhci-test.c (renamed from tests/usb-hcd-uhci-test.c)0
-rw-r--r--tests/qtest/usb-hcd-xhci-test.c (renamed from tests/usb-hcd-xhci-test.c)0
-rw-r--r--tests/qtest/vhost-user-test.c (renamed from tests/vhost-user-test.c)0
-rw-r--r--tests/qtest/virtio-9p-test.c (renamed from tests/virtio-9p-test.c)0
-rw-r--r--tests/qtest/virtio-blk-test.c (renamed from tests/virtio-blk-test.c)0
-rw-r--r--tests/qtest/virtio-ccw-test.c (renamed from tests/virtio-ccw-test.c)0
-rw-r--r--tests/qtest/virtio-net-test.c (renamed from tests/virtio-net-test.c)0
-rw-r--r--tests/qtest/virtio-rng-test.c (renamed from tests/virtio-rng-test.c)0
-rw-r--r--tests/qtest/virtio-scsi-test.c (renamed from tests/virtio-scsi-test.c)0
-rw-r--r--tests/qtest/virtio-serial-test.c (renamed from tests/virtio-serial-test.c)0
-rw-r--r--tests/qtest/virtio-test.c (renamed from tests/virtio-test.c)0
-rw-r--r--tests/qtest/vmgenid-test.c (renamed from tests/vmgenid-test.c)0
-rw-r--r--tests/qtest/vmxnet3-test.c (renamed from tests/vmxnet3-test.c)0
-rw-r--r--tests/qtest/wdt_ib700-test.c (renamed from tests/wdt_ib700-test.c)0
106 files changed, 111 insertions, 110 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 6bacf14d3f..bd2bcd6f1b 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -515,7 +515,7 @@ generated-files-y += tests/include/test-qapi-events-sub-module.h
generated-files-y += tests/test-qapi-events-sub-sub-module.h
generated-files-y += tests/test-qapi-introspect.h
-QEMU_CFLAGS += -I$(SRC_PATH)/tests
+QEMU_CFLAGS += -I$(SRC_PATH)/tests -I$(SRC_PATH)/tests/qtest
# Deps that are common to various different sets of tests below
@@ -648,18 +648,18 @@ tests/qapi-schema/doc-good.test.texi: $(SRC_PATH)/tests/qapi-schema/doc-good.jso
@mv tests/qapi-schema/doc-good-qapi-doc.texi $@
@rm -f tests/qapi-schema/doc-good-qapi-*.[ch] tests/qapi-schema/doc-good-qmp-*.[ch]
-tests/dbus-vmstate1.h tests/dbus-vmstate1.c: tests/dbus-vmstate1-gen-timestamp ;
-tests/dbus-vmstate1-gen-timestamp: $(SRC_PATH)/tests/dbus-vmstate1.xml
+tests/qtest/dbus-vmstate1.h tests/qtest/dbus-vmstate1.c: tests/qtest/dbus-vmstate1-gen-timestamp ;
+tests/qtest/dbus-vmstate1-gen-timestamp: $(SRC_PATH)/tests/qtest/dbus-vmstate1.xml
$(call quiet-command,$(GDBUS_CODEGEN) $< \
- --interface-prefix org.qemu --generate-c-code tests/dbus-vmstate1, \
+ --interface-prefix org.qemu --generate-c-code tests/qtest/dbus-vmstate1, \
"GEN","$(@:%-timestamp=%)")
@>$@
-tests/dbus-vmstate-test.o-cflags := -DSRCDIR="$(SRC_PATH)"
-tests/dbus-vmstate1.o-cflags := $(GIO_CFLAGS)
-tests/dbus-vmstate1.o-libs := $(GIO_LIBS)
+tests/qtest/dbus-vmstate-test.o-cflags := -DSRCDIR="$(SRC_PATH)"
+tests/qtest/dbus-vmstate1.o-cflags := $(GIO_CFLAGS)
+tests/qtest/dbus-vmstate1.o-libs := $(GIO_LIBS)
-tests/dbus-vmstate-test.o: tests/dbus-vmstate1.h
+tests/qtest/dbus-vmstate-test.o: tests/qtest/dbus-vmstate1.h
tests/test-string-output-visitor$(EXESUF): tests/test-string-output-visitor.o $(test-qapi-obj-y)
tests/test-string-input-visitor$(EXESUF): tests/test-string-input-visitor.o $(test-qapi-obj-y)
@@ -708,12 +708,12 @@ tests/test-authz-pam$(EXESUF): tests/test-authz-pam.o $(test-authz-obj-y)
tests/test-io-task$(EXESUF): tests/test-io-task.o $(test-io-obj-y)
tests/test-io-channel-socket$(EXESUF): tests/test-io-channel-socket.o \
tests/io-channel-helpers.o tests/socket-helpers.o $(test-io-obj-y)
-tests/tpm-crb-swtpm-test$(EXESUF): tests/tpm-crb-swtpm-test.o tests/tpm-emu.o \
- tests/tpm-util.o tests/tpm-tests.o $(test-io-obj-y)
-tests/tpm-crb-test$(EXESUF): tests/tpm-crb-test.o tests/tpm-emu.o $(test-io-obj-y)
-tests/tpm-tis-swtpm-test$(EXESUF): tests/tpm-tis-swtpm-test.o tests/tpm-emu.o \
- tests/tpm-util.o tests/tpm-tests.o $(test-io-obj-y)
-tests/tpm-tis-test$(EXESUF): tests/tpm-tis-test.o tests/tpm-emu.o $(test-io-obj-y)
+tests/qtest/tpm-crb-swtpm-test$(EXESUF): tests/qtest/tpm-crb-swtpm-test.o tests/qtest/tpm-emu.o \
+ tests/qtest/tpm-util.o tests/qtest/tpm-tests.o $(test-io-obj-y)
+tests/qtest/tpm-crb-test$(EXESUF): tests/qtest/tpm-crb-test.o tests/qtest/tpm-emu.o $(test-io-obj-y)
+tests/qtest/tpm-tis-swtpm-test$(EXESUF): tests/qtest/tpm-tis-swtpm-test.o tests/qtest/tpm-emu.o \
+ tests/qtest/tpm-util.o tests/qtest/tpm-tests.o $(test-io-obj-y)
+tests/qtest/tpm-tis-test$(EXESUF): tests/qtest/tpm-tis-test.o tests/qtest/tpm-emu.o $(test-io-obj-y)
tests/test-io-channel-file$(EXESUF): tests/test-io-channel-file.o \
tests/io-channel-helpers.o $(test-io-obj-y)
tests/test-io-channel-tls$(EXESUF): tests/test-io-channel-tls.o \
@@ -743,7 +743,7 @@ libqos-pc-obj-y += tests/libqos/ahci.o
libqos-usb-obj-y = $(libqos-spapr-obj-y) $(libqos-pc-obj-y) tests/libqos/usb.o
# Devices
-qos-test-obj-y = tests/qos-test.o $(libqgraph-obj-y)
+qos-test-obj-y = tests/qtest/qos-test.o $(libqgraph-obj-y)
qos-test-obj-y += $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
qos-test-obj-y += tests/libqos/e1000e.o
qos-test-obj-y += tests/libqos/i2c.o
@@ -776,98 +776,98 @@ qos-test-obj-y += tests/libqos/ppc64_pseries-machine.o
qos-test-obj-y += tests/libqos/x86_64_pc-machine.o
# Tests
-qos-test-obj-y += tests/ac97-test.o
-qos-test-obj-y += tests/ds1338-test.o
-qos-test-obj-y += tests/e1000-test.o
-qos-test-obj-y += tests/e1000e-test.o
-qos-test-obj-y += tests/eepro100-test.o
-qos-test-obj-y += tests/es1370-test.o
-qos-test-obj-y += tests/ipoctal232-test.o
-qos-test-obj-y += tests/megasas-test.o
-qos-test-obj-y += tests/ne2000-test.o
-qos-test-obj-y += tests/nvme-test.o
-qos-test-obj-y += tests/pca9552-test.o
-qos-test-obj-y += tests/pci-test.o
-qos-test-obj-y += tests/pcnet-test.o
-qos-test-obj-y += tests/sdhci-test.o
-qos-test-obj-y += tests/spapr-phb-test.o
-qos-test-obj-y += tests/tmp105-test.o
-qos-test-obj-y += tests/usb-hcd-ohci-test.o $(libqos-usb-obj-y)
-qos-test-obj-$(CONFIG_VHOST_NET_USER) += tests/vhost-user-test.o $(chardev-obj-y) $(test-io-obj-y)
-qos-test-obj-y += tests/virtio-test.o
-qos-test-obj-$(CONFIG_VIRTFS) += tests/virtio-9p-test.o
-qos-test-obj-y += tests/virtio-blk-test.o
-qos-test-obj-y += tests/virtio-net-test.o
-qos-test-obj-y += tests/virtio-rng-test.o
-qos-test-obj-y += tests/virtio-scsi-test.o
-qos-test-obj-y += tests/virtio-serial-test.o
-qos-test-obj-y += tests/vmxnet3-test.o
+qos-test-obj-y += tests/qtest/ac97-test.o
+qos-test-obj-y += tests/qtest/ds1338-test.o
+qos-test-obj-y += tests/qtest/e1000-test.o
+qos-test-obj-y += tests/qtest/e1000e-test.o
+qos-test-obj-y += tests/qtest/eepro100-test.o
+qos-test-obj-y += tests/qtest/es1370-test.o
+qos-test-obj-y += tests/qtest/ipoctal232-test.o
+qos-test-obj-y += tests/qtest/megasas-test.o
+qos-test-obj-y += tests/qtest/ne2000-test.o
+qos-test-obj-y += tests/qtest/nvme-test.o
+qos-test-obj-y += tests/qtest/pca9552-test.o
+qos-test-obj-y += tests/qtest/pci-test.o
+qos-test-obj-y += tests/qtest/pcnet-test.o
+qos-test-obj-y += tests/qtest/sdhci-test.o
+qos-test-obj-y += tests/qtest/spapr-phb-test.o
+qos-test-obj-y += tests/qtest/tmp105-test.o
+qos-test-obj-y += tests/qtest/usb-hcd-ohci-test.o $(libqos-usb-obj-y)
+qos-test-obj-$(CONFIG_VHOST_NET_USER) += tests/qtest/vhost-user-test.o $(chardev-obj-y) $(test-io-obj-y)
+qos-test-obj-y += tests/qtest/virtio-test.o
+qos-test-obj-$(CONFIG_VIRTFS) += tests/qtest/virtio-9p-test.o
+qos-test-obj-y += tests/qtest/virtio-blk-test.o
+qos-test-obj-y += tests/qtest/virtio-net-test.o
+qos-test-obj-y += tests/qtest/virtio-rng-test.o
+qos-test-obj-y += tests/qtest/virtio-scsi-test.o
+qos-test-obj-y += tests/qtest/virtio-serial-test.o
+qos-test-obj-y += tests/qtest/vmxnet3-test.o
check-unit-y += tests/test-qgraph$(EXESUF)
tests/test-qgraph$(EXESUF): tests/test-qgraph.o $(libqgraph-obj-y)
check-qtest-generic-y += qos-test
-tests/qos-test$(EXESUF): $(qos-test-obj-y)
-
-tests/qmp-test$(EXESUF): tests/qmp-test.o
-tests/qmp-cmd-test$(EXESUF): tests/qmp-cmd-test.o
-tests/device-introspect-test$(EXESUF): tests/device-introspect-test.o
-tests/rtc-test$(EXESUF): tests/rtc-test.o
-tests/m48t59-test$(EXESUF): tests/m48t59-test.o
-tests/hexloader-test$(EXESUF): tests/hexloader-test.o
-tests/pflash-cfi02$(EXESUF): tests/pflash-cfi02-test.o
-tests/endianness-test$(EXESUF): tests/endianness-test.o
-tests/prom-env-test$(EXESUF): tests/prom-env-test.o $(libqos-obj-y)
-tests/rtas-test$(EXESUF): tests/rtas-test.o $(libqos-spapr-obj-y)
-tests/fdc-test$(EXESUF): tests/fdc-test.o
-tests/ide-test$(EXESUF): tests/ide-test.o $(libqos-pc-obj-y)
-tests/ahci-test$(EXESUF): tests/ahci-test.o $(libqos-pc-obj-y) qemu-img$(EXESUF)
-tests/ipmi-kcs-test$(EXESUF): tests/ipmi-kcs-test.o
-tests/ipmi-bt-test$(EXESUF): tests/ipmi-bt-test.o
-tests/hd-geo-test$(EXESUF): tests/hd-geo-test.o $(libqos-obj-y)
-tests/boot-order-test$(EXESUF): tests/boot-order-test.o $(libqos-obj-y)
-tests/boot-serial-test$(EXESUF): tests/boot-serial-test.o $(libqos-obj-y)
-tests/bios-tables-test$(EXESUF): tests/bios-tables-test.o \
- tests/boot-sector.o tests/acpi-utils.o $(libqos-obj-y)
-tests/pxe-test$(EXESUF): tests/pxe-test.o tests/boot-sector.o $(libqos-obj-y)
-tests/microbit-test$(EXESUF): tests/microbit-test.o
-tests/m25p80-test$(EXESUF): tests/m25p80-test.o
-tests/i440fx-test$(EXESUF): tests/i440fx-test.o $(libqos-pc-obj-y)
-tests/q35-test$(EXESUF): tests/q35-test.o $(libqos-pc-obj-y)
-tests/fw_cfg-test$(EXESUF): tests/fw_cfg-test.o $(libqos-pc-obj-y)
-tests/rtl8139-test$(EXESUF): tests/rtl8139-test.o $(libqos-pc-obj-y)
-tests/pnv-xscom-test$(EXESUF): tests/pnv-xscom-test.o
-tests/wdt_ib700-test$(EXESUF): tests/wdt_ib700-test.o
-tests/tco-test$(EXESUF): tests/tco-test.o $(libqos-pc-obj-y)
-tests/virtio-ccw-test$(EXESUF): tests/virtio-ccw-test.o
-tests/display-vga-test$(EXESUF): tests/display-vga-test.o
-tests/qom-test$(EXESUF): tests/qom-test.o
-tests/test-hmp$(EXESUF): tests/test-hmp.o
-tests/machine-none-test$(EXESUF): tests/machine-none-test.o
-tests/device-plug-test$(EXESUF): tests/device-plug-test.o
-tests/drive_del-test$(EXESUF): tests/drive_del-test.o
-tests/pvpanic-test$(EXESUF): tests/pvpanic-test.o
-tests/i82801b11-test$(EXESUF): tests/i82801b11-test.o
-tests/intel-hda-test$(EXESUF): tests/intel-hda-test.o
-tests/ioh3420-test$(EXESUF): tests/ioh3420-test.o
-tests/usb-hcd-uhci-test$(EXESUF): tests/usb-hcd-uhci-test.o $(libqos-usb-obj-y)
-tests/usb-hcd-ehci-test$(EXESUF): tests/usb-hcd-ehci-test.o $(libqos-usb-obj-y)
-tests/usb-hcd-xhci-test$(EXESUF): tests/usb-hcd-xhci-test.o $(libqos-usb-obj-y)
-tests/cpu-plug-test$(EXESUF): tests/cpu-plug-test.o
-tests/migration-test$(EXESUF): tests/migration-test.o tests/migration-helpers.o
-tests/qemu-iotests/socket_scm_helper$(EXESUF): tests/qemu-iotests/socket_scm_helper.o
-tests/test-netfilter$(EXESUF): tests/test-netfilter.o $(qtest-obj-y)
-tests/test-filter-mirror$(EXESUF): tests/test-filter-mirror.o $(qtest-obj-y)
-tests/test-filter-redirector$(EXESUF): tests/test-filter-redirector.o $(qtest-obj-y)
-tests/test-x86-cpuid-compat$(EXESUF): tests/test-x86-cpuid-compat.o $(qtest-obj-y)
-tests/ivshmem-test$(EXESUF): tests/ivshmem-test.o contrib/ivshmem-server/ivshmem-server.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
-tests/dbus-vmstate-test$(EXESUF): tests/dbus-vmstate-test.o tests/migration-helpers.o tests/dbus-vmstate1.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
-tests/vhost-user-bridge$(EXESUF): tests/vhost-user-bridge.o $(test-util-obj-y) libvhost-user.a
-tests/test-arm-mptimer$(EXESUF): tests/test-arm-mptimer.o
-tests/numa-test$(EXESUF): tests/numa-test.o
-tests/vmgenid-test$(EXESUF): tests/vmgenid-test.o tests/boot-sector.o tests/acpi-utils.o
-tests/cdrom-test$(EXESUF): tests/cdrom-test.o tests/boot-sector.o $(libqos-obj-y)
-tests/arm-cpu-features$(EXESUF): tests/arm-cpu-features.o
+tests/qtest/qos-test$(EXESUF): $(qos-test-obj-y)
+
+tests/qtest/qmp-test$(EXESUF): tests/qtest/qmp-test.o
+tests/qtest/qmp-cmd-test$(EXESUF): tests/qtest/qmp-cmd-test.o
+tests/qtest/device-introspect-test$(EXESUF): tests/qtest/device-introspect-test.o
+tests/qtest/rtc-test$(EXESUF): tests/qtest/rtc-test.o
+tests/qtest/m48t59-test$(EXESUF): tests/qtest/m48t59-test.o
+tests/qtest/hexloader-test$(EXESUF): tests/qtest/hexloader-test.o
+tests/qtest/pflash-cfi02$(EXESUF): tests/qtest/pflash-cfi02-test.o
+tests/qtest/endianness-test$(EXESUF): tests/qtest/endianness-test.o
+tests/qtest/prom-env-test$(EXESUF): tests/qtest/prom-env-test.o $(libqos-obj-y)
+tests/qtest/rtas-test$(EXESUF): tests/qtest/rtas-test.o $(libqos-spapr-obj-y)
+tests/qtest/fdc-test$(EXESUF): tests/qtest/fdc-test.o
+tests/qtest/ide-test$(EXESUF): tests/qtest/ide-test.o $(libqos-pc-obj-y)
+tests/qtest/ahci-test$(EXESUF): tests/qtest/ahci-test.o $(libqos-pc-obj-y) qemu-img$(EXESUF)
+tests/qtest/ipmi-kcs-test$(EXESUF): tests/qtest/ipmi-kcs-test.o
+tests/qtest/ipmi-bt-test$(EXESUF): tests/qtest/ipmi-bt-test.o
+tests/qtest/hd-geo-test$(EXESUF): tests/qtest/hd-geo-test.o $(libqos-obj-y)
+tests/qtest/boot-order-test$(EXESUF): tests/qtest/boot-order-test.o $(libqos-obj-y)
+tests/qtest/boot-serial-test$(EXESUF): tests/qtest/boot-serial-test.o $(libqos-obj-y)
+tests/qtest/bios-tables-test$(EXESUF): tests/qtest/bios-tables-test.o \
+ tests/qtest/boot-sector.o tests/qtest/acpi-utils.o $(libqos-obj-y)
+tests/qtest/pxe-test$(EXESUF): tests/qtest/pxe-test.o tests/qtest/boot-sector.o $(libqos-obj-y)
+tests/qtest/microbit-test$(EXESUF): tests/qtest/microbit-test.o
+tests/qtest/m25p80-test$(EXESUF): tests/qtest/m25p80-test.o
+tests/qtest/i440fx-test$(EXESUF): tests/qtest/i440fx-test.o $(libqos-pc-obj-y)
+tests/qtest/q35-test$(EXESUF): tests/qtest/q35-test.o $(libqos-pc-obj-y)
+tests/qtest/fw_cfg-test$(EXESUF): tests/qtest/fw_cfg-test.o $(libqos-pc-obj-y)
+tests/qtest/rtl8139-test$(EXESUF): tests/qtest/rtl8139-test.o $(libqos-pc-obj-y)
+tests/qtest/pnv-xscom-test$(EXESUF): tests/qtest/pnv-xscom-test.o
+tests/qtest/wdt_ib700-test$(EXESUF): tests/qtest/wdt_ib700-test.o
+tests/qtest/tco-test$(EXESUF): tests/qtest/tco-test.o $(libqos-pc-obj-y)
+tests/qtest/virtio-ccw-test$(EXESUF): tests/qtest/virtio-ccw-test.o
+tests/qtest/display-vga-test$(EXESUF): tests/qtest/display-vga-test.o
+tests/qtest/qom-test$(EXESUF): tests/qtest/qom-test.o
+tests/qtest/test-hmp$(EXESUF): tests/qtest/test-hmp.o
+tests/qtest/machine-none-test$(EXESUF): tests/qtest/machine-none-test.o
+tests/qtest/device-plug-test$(EXESUF): tests/qtest/device-plug-test.o
+tests/qtest/drive_del-test$(EXESUF): tests/qtest/drive_del-test.o
+tests/qtest/pvpanic-test$(EXESUF): tests/qtest/pvpanic-test.o
+tests/qtest/i82801b11-test$(EXESUF): tests/qtest/i82801b11-test.o
+tests/qtest/intel-hda-test$(EXESUF): tests/qtest/intel-hda-test.o
+tests/qtest/ioh3420-test$(EXESUF): tests/qtest/ioh3420-test.o
+tests/qtest/usb-hcd-uhci-test$(EXESUF): tests/qtest/usb-hcd-uhci-test.o $(libqos-usb-obj-y)
+tests/qtest/usb-hcd-ehci-test$(EXESUF): tests/qtest/usb-hcd-ehci-test.o $(libqos-usb-obj-y)
+tests/qtest/usb-hcd-xhci-test$(EXESUF): tests/qtest/usb-hcd-xhci-test.o $(libqos-usb-obj-y)
+tests/qtest/cpu-plug-test$(EXESUF): tests/qtest/cpu-plug-test.o
+tests/qtest/migration-test$(EXESUF): tests/qtest/migration-test.o tests/qtest/migration-helpers.o
+tests/qtest/qemu-iotests/qtest/socket_scm_helper$(EXESUF): tests/qtest/qemu-iotests/qtest/socket_scm_helper.o
+tests/qtest/test-netfilter$(EXESUF): tests/qtest/test-netfilter.o $(qtest-obj-y)
+tests/qtest/test-filter-mirror$(EXESUF): tests/qtest/test-filter-mirror.o $(qtest-obj-y)
+tests/qtest/test-filter-redirector$(EXESUF): tests/qtest/test-filter-redirector.o $(qtest-obj-y)
+tests/qtest/test-x86-cpuid-compat$(EXESUF): tests/qtest/test-x86-cpuid-compat.o $(qtest-obj-y)
+tests/qtest/ivshmem-test$(EXESUF): tests/qtest/ivshmem-test.o contrib/ivshmem-server/ivshmem-server.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
+tests/qtest/dbus-vmstate-test$(EXESUF): tests/qtest/dbus-vmstate-test.o tests/qtest/migration-helpers.o tests/qtest/dbus-vmstate1.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
+tests/qtest/vhost-user-bridge$(EXESUF): tests/qtest/vhost-user-bridge.o $(test-util-obj-y) libvhost-user.a
+tests/qtest/test-arm-mptimer$(EXESUF): tests/qtest/test-arm-mptimer.o
+tests/qtest/numa-test$(EXESUF): tests/qtest/numa-test.o
+tests/qtest/vmgenid-test$(EXESUF): tests/qtest/vmgenid-test.o tests/qtest/boot-sector.o tests/qtest/acpi-utils.o
+tests/qtest/cdrom-test$(EXESUF): tests/qtest/cdrom-test.o tests/qtest/boot-sector.o $(libqos-obj-y)
+tests/qtest/arm-cpu-features$(EXESUF): tests/qtest/arm-cpu-features.o
tests/migration/stress$(EXESUF): tests/migration/stress.o
$(call quiet-command, $(LINKPROG) -static -O3 $(PTHREAD_LIB) -o $@ $< ,"LINK","$(TARGET_DIR)$@")
@@ -886,13 +886,13 @@ tests/migration/initrd-stress.img: tests/migration/stress$(EXESUF)
TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS)))
ifeq ($(CONFIG_POSIX),y)
QTEST_TARGETS = $(TARGETS)
-check-qtest-y=$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y:%=tests/%$(EXESUF)))
-check-qtest-y += $(check-qtest-generic-y:%=tests/%$(EXESUF))
+check-qtest-y=$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y:%=tests/qtest/%$(EXESUF)))
+check-qtest-y += $(check-qtest-generic-y:%=tests/qtest/%$(EXESUF))
else
QTEST_TARGETS =
endif
-qtest-obj-y = tests/libqtest.o $(test-util-obj-y)
+qtest-obj-y = tests/qtest/libqtest.o $(test-util-obj-y)
$(check-qtest-y): $(qtest-obj-y)
tests/test-qga$(EXESUF): qemu-ga$(EXESUF)
@@ -937,7 +937,7 @@ endef
.PHONY: $(patsubst %, check-qtest-%, $(QTEST_TARGETS))
$(patsubst %, check-qtest-%, $(QTEST_TARGETS)): check-qtest-%: %-softmmu/all $(check-qtest-y)
- $(call do_test_human,$(check-qtest-$*-y:%=tests/%$(EXESUF)) $(check-qtest-generic-y:%=tests/%$(EXESUF)), \
+ $(call do_test_human,$(check-qtest-$*-y:%=tests/qtest/%$(EXESUF)) $(check-qtest-generic-y:%=tests/qtest/%$(EXESUF)), \
QTEST_QEMU_BINARY=$*-softmmu/qemu-system-$* \
QTEST_QEMU_IMG=qemu-img$(EXESUF))
@@ -950,7 +950,7 @@ check-speed: $(check-speed-y)
# gtester tests with TAP output
$(patsubst %, check-report-qtest-%.tap, $(QTEST_TARGETS)): check-report-qtest-%.tap: %-softmmu/all $(check-qtest-y)
- $(call do_test_tap, $(check-qtest-$*-y:%=tests/%$(EXESUF)) $(check-qtest-generic-y:%=tests/%$(EXESUF)), \
+ $(call do_test_tap, $(check-qtest-$*-y:%=tests/qtest/%$(EXESUF)) $(check-qtest-generic-y:%=tests/qtest/%$(EXESUF)), \
QTEST_QEMU_BINARY=$*-softmmu/qemu-system-$* \
QTEST_QEMU_IMG=qemu-img$(EXESUF))
@@ -1215,10 +1215,10 @@ check-block: $(patsubst %,check-%, $(check-block-y))
endif
check: check-block check-qapi-schema check-unit check-softfloat check-qtest check-decodetree
check-clean:
- rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y)
- rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(target)-y:%=tests/%$(EXESUF))) $(check-qtest-generic-y:%=tests/%$(EXESUF)))
+ rm -rf $(check-unit-y) tests/*.o tests/*/*.o $(QEMU_IOTESTS_HELPERS-y)
+ rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(target)-y:%=tests/qtest/%$(EXESUF))) $(check-qtest-generic-y:%=tests/qtest/%$(EXESUF)))
rm -f tests/test-qapi-gen-timestamp
- rm -f tests/dbus-vmstate1-gen-timestamp
+ rm -f tests/qtest/dbus-vmstate1-gen-timestamp
rm -rf $(TESTS_VENV_DIR) $(TESTS_RESULTS_DIR)
clean: check-clean
@@ -1228,6 +1228,7 @@ clean: check-clean
all: $(QEMU_IOTESTS_HELPERS-y)
-include $(wildcard tests/*.d)
+-include $(wildcard tests/qtest/*.d)
-include $(wildcard tests/libqos/*.d)
endif
diff --git a/tests/ac97-test.c b/tests/qtest/ac97-test.c
index b084e31bff..b084e31bff 100644
--- a/tests/ac97-test.c
+++ b/tests/qtest/ac97-test.c
diff --git a/tests/acpi-utils.c b/tests/qtest/acpi-utils.c
index d2a202efca..d2a202efca 100644
--- a/tests/acpi-utils.c
+++ b/tests/qtest/acpi-utils.c
diff --git a/tests/acpi-utils.h b/tests/qtest/acpi-utils.h
index 0c86780689..0c86780689 100644
--- a/tests/acpi-utils.h
+++ b/tests/qtest/acpi-utils.h
diff --git a/tests/ahci-test.c b/tests/qtest/ahci-test.c
index c8d42ceea0..c8d42ceea0 100644
--- a/tests/ahci-test.c
+++ b/tests/qtest/ahci-test.c
diff --git a/tests/arm-cpu-features.c b/tests/qtest/arm-cpu-features.c
index bef3ed24b6..bef3ed24b6 100644
--- a/tests/arm-cpu-features.c
+++ b/tests/qtest/arm-cpu-features.c
diff --git a/tests/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
index dfb8523c8b..dfb8523c8b 100644
--- a/tests/bios-tables-test-allowed-diff.h
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
diff --git a/tests/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index f1ac2d7e96..f1ac2d7e96 100644
--- a/tests/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
diff --git a/tests/boot-order-test.c b/tests/qtest/boot-order-test.c
index a725bce729..a725bce729 100644
--- a/tests/boot-order-test.c
+++ b/tests/qtest/boot-order-test.c
diff --git a/tests/boot-sector.c b/tests/qtest/boot-sector.c
index 9e66c6d013..9e66c6d013 100644
--- a/tests/boot-sector.c
+++ b/tests/qtest/boot-sector.c
diff --git a/tests/boot-sector.h b/tests/qtest/boot-sector.h
index 6ee6bb4d97..6ee6bb4d97 100644
--- a/tests/boot-sector.h
+++ b/tests/qtest/boot-sector.h
diff --git a/tests/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index 05c7f44457..05c7f44457 100644
--- a/tests/boot-serial-test.c
+++ b/tests/qtest/boot-serial-test.c
diff --git a/tests/cdrom-test.c b/tests/qtest/cdrom-test.c
index 67635e387a..67635e387a 100644
--- a/tests/cdrom-test.c
+++ b/tests/qtest/cdrom-test.c
diff --git a/tests/cpu-plug-test.c b/tests/qtest/cpu-plug-test.c
index e8ffbbce4b..e8ffbbce4b 100644
--- a/tests/cpu-plug-test.c
+++ b/tests/qtest/cpu-plug-test.c
diff --git a/tests/dbus-vmstate-test.c b/tests/qtest/dbus-vmstate-test.c
index 2e5e47dec2..2e5e47dec2 100644
--- a/tests/dbus-vmstate-test.c
+++ b/tests/qtest/dbus-vmstate-test.c
diff --git a/tests/dbus-vmstate1.xml b/tests/qtest/dbus-vmstate1.xml
index cc8563be4c..cc8563be4c 100644
--- a/tests/dbus-vmstate1.xml
+++ b/tests/qtest/dbus-vmstate1.xml
diff --git a/tests/device-introspect-test.c b/tests/qtest/device-introspect-test.c
index 04f22903b0..04f22903b0 100644
--- a/tests/device-introspect-test.c
+++ b/tests/qtest/device-introspect-test.c
diff --git a/tests/device-plug-test.c b/tests/qtest/device-plug-test.c
index 318e422d51..318e422d51 100644
--- a/tests/device-plug-test.c
+++ b/tests/qtest/device-plug-test.c
diff --git a/tests/display-vga-test.c b/tests/qtest/display-vga-test.c
index ace3bb28e0..ace3bb28e0 100644
--- a/tests/display-vga-test.c
+++ b/tests/qtest/display-vga-test.c
diff --git a/tests/drive_del-test.c b/tests/qtest/drive_del-test.c
index 5f8839b232..5f8839b232 100644
--- a/tests/drive_del-test.c
+++ b/tests/qtest/drive_del-test.c
diff --git a/tests/ds1338-test.c b/tests/qtest/ds1338-test.c
index f6ade9a050..f6ade9a050 100644
--- a/tests/ds1338-test.c
+++ b/tests/qtest/ds1338-test.c
diff --git a/tests/e1000-test.c b/tests/qtest/e1000-test.c
index c387984ef6..c387984ef6 100644
--- a/tests/e1000-test.c
+++ b/tests/qtest/e1000-test.c
diff --git a/tests/e1000e-test.c b/tests/qtest/e1000e-test.c
index 1a232a663a..1a232a663a 100644
--- a/tests/e1000e-test.c
+++ b/tests/qtest/e1000e-test.c
diff --git a/tests/eepro100-test.c b/tests/qtest/eepro100-test.c
index 8dbffff0b8..8dbffff0b8 100644
--- a/tests/eepro100-test.c
+++ b/tests/qtest/eepro100-test.c
diff --git a/tests/endianness-test.c b/tests/qtest/endianness-test.c
index 58527952a5..58527952a5 100644
--- a/tests/endianness-test.c
+++ b/tests/qtest/endianness-test.c
diff --git a/tests/es1370-test.c b/tests/qtest/es1370-test.c
index adccdac1be..adccdac1be 100644
--- a/tests/es1370-test.c
+++ b/tests/qtest/es1370-test.c
diff --git a/tests/fdc-test.c b/tests/qtest/fdc-test.c
index 26b69f7c5c..26b69f7c5c 100644
--- a/tests/fdc-test.c
+++ b/tests/qtest/fdc-test.c
diff --git a/tests/fw_cfg-test.c b/tests/qtest/fw_cfg-test.c
index 5dc807ba23..5dc807ba23 100644
--- a/tests/fw_cfg-test.c
+++ b/tests/qtest/fw_cfg-test.c
diff --git a/tests/hd-geo-test.c b/tests/qtest/hd-geo-test.c
index a249800544..a249800544 100644
--- a/tests/hd-geo-test.c
+++ b/tests/qtest/hd-geo-test.c
diff --git a/tests/hexloader-test.c b/tests/qtest/hexloader-test.c
index 8b7aa2d72d..8b7aa2d72d 100644
--- a/tests/hexloader-test.c
+++ b/tests/qtest/hexloader-test.c
diff --git a/tests/i440fx-test.c b/tests/qtest/i440fx-test.c
index 1f57d9684b..1f57d9684b 100644
--- a/tests/i440fx-test.c
+++ b/tests/qtest/i440fx-test.c
diff --git a/tests/i82801b11-test.c b/tests/qtest/i82801b11-test.c
index 4345da338b..4345da338b 100644
--- a/tests/i82801b11-test.c
+++ b/tests/qtest/i82801b11-test.c
diff --git a/tests/ide-test.c b/tests/qtest/ide-test.c
index 0277e7d5a9..0277e7d5a9 100644
--- a/tests/ide-test.c
+++ b/tests/qtest/ide-test.c
diff --git a/tests/intel-hda-test.c b/tests/qtest/intel-hda-test.c
index fc25ccc33c..fc25ccc33c 100644
--- a/tests/intel-hda-test.c
+++ b/tests/qtest/intel-hda-test.c
diff --git a/tests/ioh3420-test.c b/tests/qtest/ioh3420-test.c
index f6ca43cca7..f6ca43cca7 100644
--- a/tests/ioh3420-test.c
+++ b/tests/qtest/ioh3420-test.c
diff --git a/tests/ipmi-bt-test.c b/tests/qtest/ipmi-bt-test.c
index a42207d416..a42207d416 100644
--- a/tests/ipmi-bt-test.c
+++ b/tests/qtest/ipmi-bt-test.c
diff --git a/tests/ipmi-kcs-test.c b/tests/qtest/ipmi-kcs-test.c
index 693a6aacb5..693a6aacb5 100644
--- a/tests/ipmi-kcs-test.c
+++ b/tests/qtest/ipmi-kcs-test.c
diff --git a/tests/ipoctal232-test.c b/tests/qtest/ipoctal232-test.c
index 53a8c9b13c..53a8c9b13c 100644
--- a/tests/ipoctal232-test.c
+++ b/tests/qtest/ipoctal232-test.c
diff --git a/tests/ivshmem-test.c b/tests/qtest/ivshmem-test.c
index ecda256472..ecda256472 100644
--- a/tests/ivshmem-test.c
+++ b/tests/qtest/ivshmem-test.c
diff --git a/tests/libqtest-single.h b/tests/qtest/libqtest-single.h
index 6f1bb1331c..6f1bb1331c 100644
--- a/tests/libqtest-single.h
+++ b/tests/qtest/libqtest-single.h
diff --git a/tests/libqtest.c b/tests/qtest/libqtest.c
index 76c9f8eade..76c9f8eade 100644
--- a/tests/libqtest.c
+++ b/tests/qtest/libqtest.c
diff --git a/tests/libqtest.h b/tests/qtest/libqtest.h
index c9e21e05b3..c9e21e05b3 100644
--- a/tests/libqtest.h
+++ b/tests/qtest/libqtest.h
diff --git a/tests/m25p80-test.c b/tests/qtest/m25p80-test.c
index 50c6b79fb3..50c6b79fb3 100644
--- a/tests/m25p80-test.c
+++ b/tests/qtest/m25p80-test.c
diff --git a/tests/m48t59-test.c b/tests/qtest/m48t59-test.c
index b94a1230f7..b94a1230f7 100644
--- a/tests/m48t59-test.c
+++ b/tests/qtest/m48t59-test.c
diff --git a/tests/machine-none-test.c b/tests/qtest/machine-none-test.c
index 5953d31755..5953d31755 100644
--- a/tests/machine-none-test.c
+++ b/tests/qtest/machine-none-test.c
diff --git a/tests/megasas-test.c b/tests/qtest/megasas-test.c
index d6796b9bd7..d6796b9bd7 100644
--- a/tests/megasas-test.c
+++ b/tests/qtest/megasas-test.c
diff --git a/tests/microbit-test.c b/tests/qtest/microbit-test.c
index 04e199ec33..04e199ec33 100644
--- a/tests/microbit-test.c
+++ b/tests/qtest/microbit-test.c
diff --git a/tests/migration-helpers.c b/tests/qtest/migration-helpers.c
index 516093b39a..516093b39a 100644
--- a/tests/migration-helpers.c
+++ b/tests/qtest/migration-helpers.c
diff --git a/tests/migration-helpers.h b/tests/qtest/migration-helpers.h
index a11808b3b7..a11808b3b7 100644
--- a/tests/migration-helpers.h
+++ b/tests/qtest/migration-helpers.h
diff --git a/tests/migration-test.c b/tests/qtest/migration-test.c
index 53afec4395..53afec4395 100644
--- a/tests/migration-test.c
+++ b/tests/qtest/migration-test.c
diff --git a/tests/modules-test.c b/tests/qtest/modules-test.c
index 88217686e1..88217686e1 100644
--- a/tests/modules-test.c
+++ b/tests/qtest/modules-test.c
diff --git a/tests/ne2000-test.c b/tests/qtest/ne2000-test.c
index 3fc0e555d5..3fc0e555d5 100644
--- a/tests/ne2000-test.c
+++ b/tests/qtest/ne2000-test.c
diff --git a/tests/numa-test.c b/tests/qtest/numa-test.c
index 17dd807d2a..17dd807d2a 100644
--- a/tests/numa-test.c
+++ b/tests/qtest/numa-test.c
diff --git a/tests/nvme-test.c b/tests/qtest/nvme-test.c
index ff0442150c..ff0442150c 100644
--- a/tests/nvme-test.c
+++ b/tests/qtest/nvme-test.c
diff --git a/tests/pca9552-test.c b/tests/qtest/pca9552-test.c
index 4b800d3c3e..4b800d3c3e 100644
--- a/tests/pca9552-test.c
+++ b/tests/qtest/pca9552-test.c
diff --git a/tests/pci-test.c b/tests/qtest/pci-test.c
index 4b2092b949..4b2092b949 100644
--- a/tests/pci-test.c
+++ b/tests/qtest/pci-test.c
diff --git a/tests/pcnet-test.c b/tests/qtest/pcnet-test.c
index 900944fa7e..900944fa7e 100644
--- a/tests/pcnet-test.c
+++ b/tests/qtest/pcnet-test.c
diff --git a/tests/pflash-cfi02-test.c b/tests/qtest/pflash-cfi02-test.c
index 17aa669b2e..17aa669b2e 100644
--- a/tests/pflash-cfi02-test.c
+++ b/tests/qtest/pflash-cfi02-test.c
diff --git a/tests/pnv-xscom-test.c b/tests/qtest/pnv-xscom-test.c
index 2c46d5cf6d..2c46d5cf6d 100644
--- a/tests/pnv-xscom-test.c
+++ b/tests/qtest/pnv-xscom-test.c
diff --git a/tests/prom-env-test.c b/tests/qtest/prom-env-test.c
index 9be52c766f..9be52c766f 100644
--- a/tests/prom-env-test.c
+++ b/tests/qtest/prom-env-test.c
diff --git a/tests/pvpanic-test.c b/tests/qtest/pvpanic-test.c
index ff9176adf3..ff9176adf3 100644
--- a/tests/pvpanic-test.c
+++ b/tests/qtest/pvpanic-test.c
diff --git a/tests/pxe-test.c b/tests/qtest/pxe-test.c
index f68d0aadbb..f68d0aadbb 100644
--- a/tests/pxe-test.c
+++ b/tests/qtest/pxe-test.c
diff --git a/tests/q35-test.c b/tests/qtest/q35-test.c
index a68183d513..a68183d513 100644
--- a/tests/q35-test.c
+++ b/tests/qtest/q35-test.c
diff --git a/tests/qmp-cmd-test.c b/tests/qtest/qmp-cmd-test.c
index 9f5228cd99..9f5228cd99 100644
--- a/tests/qmp-cmd-test.c
+++ b/tests/qtest/qmp-cmd-test.c
diff --git a/tests/qmp-test.c b/tests/qtest/qmp-test.c
index 1b0eb69832..1b0eb69832 100644
--- a/tests/qmp-test.c
+++ b/tests/qtest/qmp-test.c
diff --git a/tests/qom-test.c b/tests/qtest/qom-test.c
index 4f94cc678c..4f94cc678c 100644
--- a/tests/qom-test.c
+++ b/tests/qtest/qom-test.c
diff --git a/tests/qos-test.c b/tests/qtest/qos-test.c
index fd70d73ea5..fd70d73ea5 100644
--- a/tests/qos-test.c
+++ b/tests/qtest/qos-test.c
diff --git a/tests/rtas-test.c b/tests/qtest/rtas-test.c
index 167b42db38..167b42db38 100644
--- a/tests/rtas-test.c
+++ b/tests/qtest/rtas-test.c
diff --git a/tests/rtc-test.c b/tests/qtest/rtc-test.c
index c7af34f6b1..c7af34f6b1 100644
--- a/tests/rtc-test.c
+++ b/tests/qtest/rtc-test.c
diff --git a/tests/rtl8139-test.c b/tests/qtest/rtl8139-test.c
index 4506049264..4506049264 100644
--- a/tests/rtl8139-test.c
+++ b/tests/qtest/rtl8139-test.c
diff --git a/tests/sdhci-test.c b/tests/qtest/sdhci-test.c
index 6275e7626c..6275e7626c 100644
--- a/tests/sdhci-test.c
+++ b/tests/qtest/sdhci-test.c
diff --git a/tests/spapr-phb-test.c b/tests/qtest/spapr-phb-test.c
index 093dc22f2f..093dc22f2f 100644
--- a/tests/spapr-phb-test.c
+++ b/tests/qtest/spapr-phb-test.c
diff --git a/tests/tco-test.c b/tests/qtest/tco-test.c
index 254f735370..254f735370 100644
--- a/tests/tco-test.c
+++ b/tests/qtest/tco-test.c
diff --git a/tests/test-arm-mptimer.c b/tests/qtest/test-arm-mptimer.c
index 7a56d56da9..7a56d56da9 100644
--- a/tests/test-arm-mptimer.c
+++ b/tests/qtest/test-arm-mptimer.c
diff --git a/tests/test-filter-mirror.c b/tests/qtest/test-filter-mirror.c
index 1e3ced84a9..1e3ced84a9 100644
--- a/tests/test-filter-mirror.c
+++ b/tests/qtest/test-filter-mirror.c
diff --git a/tests/test-filter-redirector.c b/tests/qtest/test-filter-redirector.c
index e4d53220fd..e4d53220fd 100644
--- a/tests/test-filter-redirector.c
+++ b/tests/qtest/test-filter-redirector.c
diff --git a/tests/test-hmp.c b/tests/qtest/test-hmp.c
index 5029c4d2c9..5029c4d2c9 100644
--- a/tests/test-hmp.c
+++ b/tests/qtest/test-hmp.c
diff --git a/tests/test-netfilter.c b/tests/qtest/test-netfilter.c
index 22927ee6ab..22927ee6ab 100644
--- a/tests/test-netfilter.c
+++ b/tests/qtest/test-netfilter.c
diff --git a/tests/test-x86-cpuid-compat.c b/tests/qtest/test-x86-cpuid-compat.c
index 772287bdb4..772287bdb4 100644
--- a/tests/test-x86-cpuid-compat.c
+++ b/tests/qtest/test-x86-cpuid-compat.c
diff --git a/tests/tmp105-test.c b/tests/qtest/tmp105-test.c
index f930a96b83..f930a96b83 100644
--- a/tests/tmp105-test.c
+++ b/tests/qtest/tmp105-test.c
diff --git a/tests/tpm-crb-swtpm-test.c b/tests/qtest/tpm-crb-swtpm-test.c
index 2c4fb8ae29..2c4fb8ae29 100644
--- a/tests/tpm-crb-swtpm-test.c
+++ b/tests/qtest/tpm-crb-swtpm-test.c
diff --git a/tests/tpm-crb-test.c b/tests/qtest/tpm-crb-test.c
index 632fb7fbd8..632fb7fbd8 100644
--- a/tests/tpm-crb-test.c
+++ b/tests/qtest/tpm-crb-test.c
diff --git a/tests/tpm-emu.c b/tests/qtest/tpm-emu.c
index c43ac4aef8..c43ac4aef8 100644
--- a/tests/tpm-emu.c
+++ b/tests/qtest/tpm-emu.c
diff --git a/tests/tpm-emu.h b/tests/qtest/tpm-emu.h
index a4f1d64226..a4f1d64226 100644
--- a/tests/tpm-emu.h
+++ b/tests/qtest/tpm-emu.h
diff --git a/tests/tpm-tests.c b/tests/qtest/tpm-tests.c
index 6e45a0ba85..6e45a0ba85 100644
--- a/tests/tpm-tests.c
+++ b/tests/qtest/tpm-tests.c
diff --git a/tests/tpm-tests.h b/tests/qtest/tpm-tests.h
index b97688fe75..b97688fe75 100644
--- a/tests/tpm-tests.h
+++ b/tests/qtest/tpm-tests.h
diff --git a/tests/tpm-tis-swtpm-test.c b/tests/qtest/tpm-tis-swtpm-test.c
index 9f58a3a92b..9f58a3a92b 100644
--- a/tests/tpm-tis-swtpm-test.c
+++ b/tests/qtest/tpm-tis-swtpm-test.c
diff --git a/tests/tpm-tis-test.c b/tests/qtest/tpm-tis-test.c
index dcf30e05b7..dcf30e05b7 100644
--- a/tests/tpm-tis-test.c
+++ b/tests/qtest/tpm-tis-test.c
diff --git a/tests/tpm-util.c b/tests/qtest/tpm-util.c
index e08b137651..e08b137651 100644
--- a/tests/tpm-util.c
+++ b/tests/qtest/tpm-util.c
diff --git a/tests/tpm-util.h b/tests/qtest/tpm-util.h
index 5755698ad2..5755698ad2 100644
--- a/tests/tpm-util.h
+++ b/tests/qtest/tpm-util.h
diff --git a/tests/usb-hcd-ehci-test.c b/tests/qtest/usb-hcd-ehci-test.c
index 5251d539e9..5251d539e9 100644
--- a/tests/usb-hcd-ehci-test.c
+++ b/tests/qtest/usb-hcd-ehci-test.c
diff --git a/tests/usb-hcd-ohci-test.c b/tests/qtest/usb-hcd-ohci-test.c
index 19d760f3fb..19d760f3fb 100644
--- a/tests/usb-hcd-ohci-test.c
+++ b/tests/qtest/usb-hcd-ohci-test.c
diff --git a/tests/usb-hcd-uhci-test.c b/tests/qtest/usb-hcd-uhci-test.c
index 7a117b64d9..7a117b64d9 100644
--- a/tests/usb-hcd-uhci-test.c
+++ b/tests/qtest/usb-hcd-uhci-test.c
diff --git a/tests/usb-hcd-xhci-test.c b/tests/qtest/usb-hcd-xhci-test.c
index 10ef9d2a91..10ef9d2a91 100644
--- a/tests/usb-hcd-xhci-test.c
+++ b/tests/qtest/usb-hcd-xhci-test.c
diff --git a/tests/vhost-user-test.c b/tests/qtest/vhost-user-test.c
index 91ea373ba5..91ea373ba5 100644
--- a/tests/vhost-user-test.c
+++ b/tests/qtest/vhost-user-test.c
diff --git a/tests/virtio-9p-test.c b/tests/qtest/virtio-9p-test.c
index e7b58e3a0c..e7b58e3a0c 100644
--- a/tests/virtio-9p-test.c
+++ b/tests/qtest/virtio-9p-test.c
diff --git a/tests/virtio-blk-test.c b/tests/qtest/virtio-blk-test.c
index 2a23698211..2a23698211 100644
--- a/tests/virtio-blk-test.c
+++ b/tests/qtest/virtio-blk-test.c
diff --git a/tests/virtio-ccw-test.c b/tests/qtest/virtio-ccw-test.c
index d05236407b..d05236407b 100644
--- a/tests/virtio-ccw-test.c
+++ b/tests/qtest/virtio-ccw-test.c
diff --git a/tests/virtio-net-test.c b/tests/qtest/virtio-net-test.c
index a08e2ffe12..a08e2ffe12 100644
--- a/tests/virtio-net-test.c
+++ b/tests/qtest/virtio-net-test.c
diff --git a/tests/virtio-rng-test.c b/tests/qtest/virtio-rng-test.c
index 092ba13068..092ba13068 100644
--- a/tests/virtio-rng-test.c
+++ b/tests/qtest/virtio-rng-test.c
diff --git a/tests/virtio-scsi-test.c b/tests/qtest/virtio-scsi-test.c
index 0415e75876..0415e75876 100644
--- a/tests/virtio-scsi-test.c
+++ b/tests/qtest/virtio-scsi-test.c
diff --git a/tests/virtio-serial-test.c b/tests/qtest/virtio-serial-test.c
index 2541034822..2541034822 100644
--- a/tests/virtio-serial-test.c
+++ b/tests/qtest/virtio-serial-test.c
diff --git a/tests/virtio-test.c b/tests/qtest/virtio-test.c
index f7c6afdcf1..f7c6afdcf1 100644
--- a/tests/virtio-test.c
+++ b/tests/qtest/virtio-test.c
diff --git a/tests/vmgenid-test.c b/tests/qtest/vmgenid-test.c
index efba76e716..efba76e716 100644
--- a/tests/vmgenid-test.c
+++ b/tests/qtest/vmgenid-test.c
diff --git a/tests/vmxnet3-test.c b/tests/qtest/vmxnet3-test.c
index a81025252c..a81025252c 100644
--- a/tests/vmxnet3-test.c
+++ b/tests/qtest/vmxnet3-test.c
diff --git a/tests/wdt_ib700-test.c b/tests/qtest/wdt_ib700-test.c
index 797288d939..797288d939 100644
--- a/tests/wdt_ib700-test.c
+++ b/tests/qtest/wdt_ib700-test.c