aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS9
-rwxr-xr-xconfigure4
-rw-r--r--tests/Makefile.include2
-rw-r--r--tests/qtest/Makefile.include80
-rw-r--r--tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c (renamed from tests/libqos/aarch64-xlnx-zcu102-machine.c)0
-rw-r--r--tests/qtest/libqos/ahci.c (renamed from tests/libqos/ahci.c)0
-rw-r--r--tests/qtest/libqos/ahci.h (renamed from tests/libqos/ahci.h)0
-rw-r--r--tests/qtest/libqos/arm-imx25-pdk-machine.c (renamed from tests/libqos/arm-imx25-pdk-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-n800-machine.c (renamed from tests/libqos/arm-n800-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-raspi2-machine.c (renamed from tests/libqos/arm-raspi2-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-sabrelite-machine.c (renamed from tests/libqos/arm-sabrelite-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-smdkc210-machine.c (renamed from tests/libqos/arm-smdkc210-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-virt-machine.c (renamed from tests/libqos/arm-virt-machine.c)0
-rw-r--r--tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c (renamed from tests/libqos/arm-xilinx-zynq-a9-machine.c)0
-rw-r--r--tests/qtest/libqos/e1000e.c (renamed from tests/libqos/e1000e.c)0
-rw-r--r--tests/qtest/libqos/e1000e.h (renamed from tests/libqos/e1000e.h)0
-rw-r--r--tests/qtest/libqos/fw_cfg.c (renamed from tests/libqos/fw_cfg.c)0
-rw-r--r--tests/qtest/libqos/fw_cfg.h (renamed from tests/libqos/fw_cfg.h)0
-rw-r--r--tests/qtest/libqos/i2c-imx.c (renamed from tests/libqos/i2c-imx.c)0
-rw-r--r--tests/qtest/libqos/i2c-omap.c (renamed from tests/libqos/i2c-omap.c)0
-rw-r--r--tests/qtest/libqos/i2c.c (renamed from tests/libqos/i2c.c)0
-rw-r--r--tests/qtest/libqos/i2c.h (renamed from tests/libqos/i2c.h)0
-rw-r--r--tests/qtest/libqos/libqos-pc.c (renamed from tests/libqos/libqos-pc.c)0
-rw-r--r--tests/qtest/libqos/libqos-pc.h (renamed from tests/libqos/libqos-pc.h)0
-rw-r--r--tests/qtest/libqos/libqos-spapr.c (renamed from tests/libqos/libqos-spapr.c)0
-rw-r--r--tests/qtest/libqos/libqos-spapr.h (renamed from tests/libqos/libqos-spapr.h)0
-rw-r--r--tests/qtest/libqos/libqos.c (renamed from tests/libqos/libqos.c)0
-rw-r--r--tests/qtest/libqos/libqos.h (renamed from tests/libqos/libqos.h)0
-rw-r--r--tests/qtest/libqos/malloc-pc.c (renamed from tests/libqos/malloc-pc.c)0
-rw-r--r--tests/qtest/libqos/malloc-pc.h (renamed from tests/libqos/malloc-pc.h)0
-rw-r--r--tests/qtest/libqos/malloc-spapr.c (renamed from tests/libqos/malloc-spapr.c)0
-rw-r--r--tests/qtest/libqos/malloc-spapr.h (renamed from tests/libqos/malloc-spapr.h)0
-rw-r--r--tests/qtest/libqos/malloc.c (renamed from tests/libqos/malloc.c)0
-rw-r--r--tests/qtest/libqos/malloc.h (renamed from tests/libqos/malloc.h)0
-rw-r--r--tests/qtest/libqos/pci-pc.c (renamed from tests/libqos/pci-pc.c)0
-rw-r--r--tests/qtest/libqos/pci-pc.h (renamed from tests/libqos/pci-pc.h)0
-rw-r--r--tests/qtest/libqos/pci-spapr.c (renamed from tests/libqos/pci-spapr.c)0
-rw-r--r--tests/qtest/libqos/pci-spapr.h (renamed from tests/libqos/pci-spapr.h)0
-rw-r--r--tests/qtest/libqos/pci.c (renamed from tests/libqos/pci.c)0
-rw-r--r--tests/qtest/libqos/pci.h (renamed from tests/libqos/pci.h)0
-rw-r--r--tests/qtest/libqos/ppc64_pseries-machine.c (renamed from tests/libqos/ppc64_pseries-machine.c)0
-rw-r--r--tests/qtest/libqos/qgraph.c (renamed from tests/libqos/qgraph.c)0
-rw-r--r--tests/qtest/libqos/qgraph.h (renamed from tests/libqos/qgraph.h)0
-rw-r--r--tests/qtest/libqos/qgraph_internal.h (renamed from tests/libqos/qgraph_internal.h)0
-rw-r--r--tests/qtest/libqos/rtas.c (renamed from tests/libqos/rtas.c)0
-rw-r--r--tests/qtest/libqos/rtas.h (renamed from tests/libqos/rtas.h)0
-rw-r--r--tests/qtest/libqos/sdhci.c (renamed from tests/libqos/sdhci.c)0
-rw-r--r--tests/qtest/libqos/sdhci.h (renamed from tests/libqos/sdhci.h)0
-rw-r--r--tests/qtest/libqos/tpci200.c (renamed from tests/libqos/tpci200.c)0
-rw-r--r--tests/qtest/libqos/usb.c (renamed from tests/libqos/usb.c)0
-rw-r--r--tests/qtest/libqos/usb.h (renamed from tests/libqos/usb.h)0
-rw-r--r--tests/qtest/libqos/virtio-9p.c (renamed from tests/libqos/virtio-9p.c)0
-rw-r--r--tests/qtest/libqos/virtio-9p.h (renamed from tests/libqos/virtio-9p.h)0
-rw-r--r--tests/qtest/libqos/virtio-balloon.c (renamed from tests/libqos/virtio-balloon.c)0
-rw-r--r--tests/qtest/libqos/virtio-balloon.h (renamed from tests/libqos/virtio-balloon.h)0
-rw-r--r--tests/qtest/libqos/virtio-blk.c (renamed from tests/libqos/virtio-blk.c)0
-rw-r--r--tests/qtest/libqos/virtio-blk.h (renamed from tests/libqos/virtio-blk.h)0
-rw-r--r--tests/qtest/libqos/virtio-mmio.c (renamed from tests/libqos/virtio-mmio.c)0
-rw-r--r--tests/qtest/libqos/virtio-mmio.h (renamed from tests/libqos/virtio-mmio.h)0
-rw-r--r--tests/qtest/libqos/virtio-net.c (renamed from tests/libqos/virtio-net.c)0
-rw-r--r--tests/qtest/libqos/virtio-net.h (renamed from tests/libqos/virtio-net.h)0
-rw-r--r--tests/qtest/libqos/virtio-pci-modern.c (renamed from tests/libqos/virtio-pci-modern.c)0
-rw-r--r--tests/qtest/libqos/virtio-pci-modern.h (renamed from tests/libqos/virtio-pci-modern.h)0
-rw-r--r--tests/qtest/libqos/virtio-pci.c (renamed from tests/libqos/virtio-pci.c)0
-rw-r--r--tests/qtest/libqos/virtio-pci.h (renamed from tests/libqos/virtio-pci.h)0
-rw-r--r--tests/qtest/libqos/virtio-rng.c (renamed from tests/libqos/virtio-rng.c)0
-rw-r--r--tests/qtest/libqos/virtio-rng.h (renamed from tests/libqos/virtio-rng.h)0
-rw-r--r--tests/qtest/libqos/virtio-scsi.c (renamed from tests/libqos/virtio-scsi.c)0
-rw-r--r--tests/qtest/libqos/virtio-scsi.h (renamed from tests/libqos/virtio-scsi.h)0
-rw-r--r--tests/qtest/libqos/virtio-serial.c (renamed from tests/libqos/virtio-serial.c)0
-rw-r--r--tests/qtest/libqos/virtio-serial.h (renamed from tests/libqos/virtio-serial.h)0
-rw-r--r--tests/qtest/libqos/virtio.c (renamed from tests/libqos/virtio.c)0
-rw-r--r--tests/qtest/libqos/virtio.h (renamed from tests/libqos/virtio.h)0
-rw-r--r--tests/qtest/libqos/x86_64_pc-machine.c (renamed from tests/libqos/x86_64_pc-machine.c)0
74 files changed, 47 insertions, 48 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 02eab66b02..ceb5c45c0f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1102,9 +1102,9 @@ F: pc-bios/slof.bin
F: docs/specs/ppc-spapr-hcalls.txt
F: docs/specs/ppc-spapr-hotplug.txt
F: tests/qtest/spapr*
-F: tests/libqos/*spapr*
+F: tests/qtest/libqos/*spapr*
F: tests/qtest/rtas*
-F: tests/libqos/rtas*
+F: tests/qtest/libqos/rtas*
PowerNV (Non-Virtualized)
M: Cédric Le Goater <clg@kaod.org>
@@ -1363,7 +1363,7 @@ F: hw/block/hd-geometry.c
F: tests/qtest/ide-test.c
F: tests/qtest/ahci-test.c
F: tests/qtest/cdrom-test.c
-F: tests/libqos/ahci*
+F: tests/qtest/libqos/ahci*
T: git https://github.com/jnsnow/qemu.git ide
IPMI
@@ -1776,7 +1776,7 @@ F: hw/nvram/fw_cfg.c
F: stubs/fw_cfg.c
F: include/hw/nvram/fw_cfg.h
F: include/standard-headers/linux/qemu_fw_cfg.h
-F: tests/libqos/fw_cfg.c
+F: tests/qtest/libqos/fw_cfg.c
F: tests/qtest/fw_cfg-test.c
T: git https://github.com/philmd/qemu.git fw_cfg-next
@@ -2137,7 +2137,6 @@ R: Paolo Bonzini <pbonzini@redhat.com>
S: Maintained
F: qtest.c
F: accel/qtest.c
-F: tests/libqos/
F: tests/qtest/
Register API
diff --git a/configure b/configure
index 1b8796fc21..08c3a1c1f0 100755
--- a/configure
+++ b/configure
@@ -7963,8 +7963,8 @@ fi
# so the build tree will be missing the link back to the new file, and
# tests might fail. Prefer to keep the relevant files in their own
# directory and symlink the directory instead.
-DIRS="tests tests/tcg tests/tcg/lm32 tests/libqos tests/qapi-schema tests/qtest"
-DIRS="$DIRS tests/qemu-iotests tests/vm tests/fp tests/qgraph"
+DIRS="tests tests/tcg tests/tcg/lm32 tests/qapi-schema tests/qtest/libqos"
+DIRS="$DIRS tests/qtest tests/qemu-iotests tests/vm tests/fp tests/qgraph"
DIRS="$DIRS docs docs/interop fsdev scsi"
DIRS="$DIRS pc-bios/optionrom pc-bios/s390-ccw"
DIRS="$DIRS roms/seabios roms/vgabios"
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 065fd09964..1ae14a8b15 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -912,6 +912,6 @@ all: $(QEMU_IOTESTS_HELPERS-y)
-include $(wildcard tests/*.d)
-include $(wildcard tests/qtest/*.d)
--include $(wildcard tests/libqos/*.d)
+-include $(wildcard tests/qtest/qos/*.d)
endif
diff --git a/tests/qtest/Makefile.include b/tests/qtest/Makefile.include
index 816d0d90ea..e6bb4ab28c 100644
--- a/tests/qtest/Makefile.include
+++ b/tests/qtest/Makefile.include
@@ -155,52 +155,52 @@ check-qtest-s390x-y += cpu-plug-test
check-qtest-s390x-y += migration-test
# libqos / qgraph :
-libqgraph-obj-y = tests/libqos/qgraph.o
-
-libqos-obj-y = $(libqgraph-obj-y) tests/libqos/pci.o tests/libqos/fw_cfg.o
-libqos-obj-y += tests/libqos/malloc.o
-libqos-obj-y += tests/libqos/libqos.o
-libqos-spapr-obj-y = $(libqos-obj-y) tests/libqos/malloc-spapr.o
-libqos-spapr-obj-y += tests/libqos/libqos-spapr.o
-libqos-spapr-obj-y += tests/libqos/rtas.o
-libqos-spapr-obj-y += tests/libqos/pci-spapr.o
-libqos-pc-obj-y = $(libqos-obj-y) tests/libqos/pci-pc.o
-libqos-pc-obj-y += tests/libqos/malloc-pc.o tests/libqos/libqos-pc.o
-libqos-pc-obj-y += tests/libqos/ahci.o
-libqos-usb-obj-y = $(libqos-spapr-obj-y) $(libqos-pc-obj-y) tests/libqos/usb.o
+libqgraph-obj-y = tests/qtest/libqos/qgraph.o
+
+libqos-obj-y = $(libqgraph-obj-y) tests/qtest/libqos/pci.o tests/qtest/libqos/fw_cfg.o
+libqos-obj-y += tests/qtest/libqos/malloc.o
+libqos-obj-y += tests/qtest/libqos/libqos.o
+libqos-spapr-obj-y = $(libqos-obj-y) tests/qtest/libqos/malloc-spapr.o
+libqos-spapr-obj-y += tests/qtest/libqos/libqos-spapr.o
+libqos-spapr-obj-y += tests/qtest/libqos/rtas.o
+libqos-spapr-obj-y += tests/qtest/libqos/pci-spapr.o
+libqos-pc-obj-y = $(libqos-obj-y) tests/qtest/libqos/pci-pc.o
+libqos-pc-obj-y += tests/qtest/libqos/malloc-pc.o tests/qtest/libqos/libqos-pc.o
+libqos-pc-obj-y += tests/qtest/libqos/ahci.o
+libqos-usb-obj-y = $(libqos-spapr-obj-y) $(libqos-pc-obj-y) tests/qtest/libqos/usb.o
# qos devices:
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
-qos-test-obj-y += tests/libqos/i2c-imx.o
-qos-test-obj-y += tests/libqos/i2c-omap.o
-qos-test-obj-y += tests/libqos/sdhci.o
-qos-test-obj-y += tests/libqos/tpci200.o
-qos-test-obj-y += tests/libqos/virtio.o
-qos-test-obj-$(CONFIG_VIRTFS) += tests/libqos/virtio-9p.o
-qos-test-obj-y += tests/libqos/virtio-balloon.o
-qos-test-obj-y += tests/libqos/virtio-blk.o
-qos-test-obj-y += tests/libqos/virtio-mmio.o
-qos-test-obj-y += tests/libqos/virtio-net.o
-qos-test-obj-y += tests/libqos/virtio-pci.o
-qos-test-obj-y += tests/libqos/virtio-pci-modern.o
-qos-test-obj-y += tests/libqos/virtio-rng.o
-qos-test-obj-y += tests/libqos/virtio-scsi.o
-qos-test-obj-y += tests/libqos/virtio-serial.o
+qos-test-obj-y += tests/qtest/libqos/e1000e.o
+qos-test-obj-y += tests/qtest/libqos/i2c.o
+qos-test-obj-y += tests/qtest/libqos/i2c-imx.o
+qos-test-obj-y += tests/qtest/libqos/i2c-omap.o
+qos-test-obj-y += tests/qtest/libqos/sdhci.o
+qos-test-obj-y += tests/qtest/libqos/tpci200.o
+qos-test-obj-y += tests/qtest/libqos/virtio.o
+qos-test-obj-$(CONFIG_VIRTFS) += tests/qtest/libqos/virtio-9p.o
+qos-test-obj-y += tests/qtest/libqos/virtio-balloon.o
+qos-test-obj-y += tests/qtest/libqos/virtio-blk.o
+qos-test-obj-y += tests/qtest/libqos/virtio-mmio.o
+qos-test-obj-y += tests/qtest/libqos/virtio-net.o
+qos-test-obj-y += tests/qtest/libqos/virtio-pci.o
+qos-test-obj-y += tests/qtest/libqos/virtio-pci-modern.o
+qos-test-obj-y += tests/qtest/libqos/virtio-rng.o
+qos-test-obj-y += tests/qtest/libqos/virtio-scsi.o
+qos-test-obj-y += tests/qtest/libqos/virtio-serial.o
# qos machines:
-qos-test-obj-y += tests/libqos/aarch64-xlnx-zcu102-machine.o
-qos-test-obj-y += tests/libqos/arm-imx25-pdk-machine.o
-qos-test-obj-y += tests/libqos/arm-n800-machine.o
-qos-test-obj-y += tests/libqos/arm-raspi2-machine.o
-qos-test-obj-y += tests/libqos/arm-sabrelite-machine.o
-qos-test-obj-y += tests/libqos/arm-smdkc210-machine.o
-qos-test-obj-y += tests/libqos/arm-virt-machine.o
-qos-test-obj-y += tests/libqos/arm-xilinx-zynq-a9-machine.o
-qos-test-obj-y += tests/libqos/ppc64_pseries-machine.o
-qos-test-obj-y += tests/libqos/x86_64_pc-machine.o
+qos-test-obj-y += tests/qtest/libqos/aarch64-xlnx-zcu102-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-imx25-pdk-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-n800-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-raspi2-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-sabrelite-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-smdkc210-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-virt-machine.o
+qos-test-obj-y += tests/qtest/libqos/arm-xilinx-zynq-a9-machine.o
+qos-test-obj-y += tests/qtest/libqos/ppc64_pseries-machine.o
+qos-test-obj-y += tests/qtest/libqos/x86_64_pc-machine.o
# qos tests:
qos-test-obj-y += tests/qtest/ac97-test.o
diff --git a/tests/libqos/aarch64-xlnx-zcu102-machine.c b/tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c
index 1d5de5af00..1d5de5af00 100644
--- a/tests/libqos/aarch64-xlnx-zcu102-machine.c
+++ b/tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c
diff --git a/tests/libqos/ahci.c b/tests/qtest/libqos/ahci.c
index cc1b08eabe..cc1b08eabe 100644
--- a/tests/libqos/ahci.c
+++ b/tests/qtest/libqos/ahci.c
diff --git a/tests/libqos/ahci.h b/tests/qtest/libqos/ahci.h
index f05b3e5fce..f05b3e5fce 100644
--- a/tests/libqos/ahci.h
+++ b/tests/qtest/libqos/ahci.h
diff --git a/tests/libqos/arm-imx25-pdk-machine.c b/tests/qtest/libqos/arm-imx25-pdk-machine.c
index 25066fb8a9..25066fb8a9 100644
--- a/tests/libqos/arm-imx25-pdk-machine.c
+++ b/tests/qtest/libqos/arm-imx25-pdk-machine.c
diff --git a/tests/libqos/arm-n800-machine.c b/tests/qtest/libqos/arm-n800-machine.c
index 87279bdb26..87279bdb26 100644
--- a/tests/libqos/arm-n800-machine.c
+++ b/tests/qtest/libqos/arm-n800-machine.c
diff --git a/tests/libqos/arm-raspi2-machine.c b/tests/qtest/libqos/arm-raspi2-machine.c
index 12a7cb7e4b..12a7cb7e4b 100644
--- a/tests/libqos/arm-raspi2-machine.c
+++ b/tests/qtest/libqos/arm-raspi2-machine.c
diff --git a/tests/libqos/arm-sabrelite-machine.c b/tests/qtest/libqos/arm-sabrelite-machine.c
index e6df43795a..e6df43795a 100644
--- a/tests/libqos/arm-sabrelite-machine.c
+++ b/tests/qtest/libqos/arm-sabrelite-machine.c
diff --git a/tests/libqos/arm-smdkc210-machine.c b/tests/qtest/libqos/arm-smdkc210-machine.c
index 215b628a7d..215b628a7d 100644
--- a/tests/libqos/arm-smdkc210-machine.c
+++ b/tests/qtest/libqos/arm-smdkc210-machine.c
diff --git a/tests/libqos/arm-virt-machine.c b/tests/qtest/libqos/arm-virt-machine.c
index 96ffe3ee5c..96ffe3ee5c 100644
--- a/tests/libqos/arm-virt-machine.c
+++ b/tests/qtest/libqos/arm-virt-machine.c
diff --git a/tests/libqos/arm-xilinx-zynq-a9-machine.c b/tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c
index 5bc95f2e73..5bc95f2e73 100644
--- a/tests/libqos/arm-xilinx-zynq-a9-machine.c
+++ b/tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c
diff --git a/tests/libqos/e1000e.c b/tests/qtest/libqos/e1000e.c
index 560e7a2bb2..560e7a2bb2 100644
--- a/tests/libqos/e1000e.c
+++ b/tests/qtest/libqos/e1000e.c
diff --git a/tests/libqos/e1000e.h b/tests/qtest/libqos/e1000e.h
index dc4ab10f58..dc4ab10f58 100644
--- a/tests/libqos/e1000e.h
+++ b/tests/qtest/libqos/e1000e.h
diff --git a/tests/libqos/fw_cfg.c b/tests/qtest/libqos/fw_cfg.c
index 1f46258f96..1f46258f96 100644
--- a/tests/libqos/fw_cfg.c
+++ b/tests/qtest/libqos/fw_cfg.c
diff --git a/tests/libqos/fw_cfg.h b/tests/qtest/libqos/fw_cfg.h
index 13325cc4ff..13325cc4ff 100644
--- a/tests/libqos/fw_cfg.h
+++ b/tests/qtest/libqos/fw_cfg.h
diff --git a/tests/libqos/i2c-imx.c b/tests/qtest/libqos/i2c-imx.c
index f33ece55a3..f33ece55a3 100644
--- a/tests/libqos/i2c-imx.c
+++ b/tests/qtest/libqos/i2c-imx.c
diff --git a/tests/libqos/i2c-omap.c b/tests/qtest/libqos/i2c-omap.c
index 9ae8214fa8..9ae8214fa8 100644
--- a/tests/libqos/i2c-omap.c
+++ b/tests/qtest/libqos/i2c-omap.c
diff --git a/tests/libqos/i2c.c b/tests/qtest/libqos/i2c.c
index 156114e745..156114e745 100644
--- a/tests/libqos/i2c.c
+++ b/tests/qtest/libqos/i2c.c
diff --git a/tests/libqos/i2c.h b/tests/qtest/libqos/i2c.h
index 945b65b34c..945b65b34c 100644
--- a/tests/libqos/i2c.h
+++ b/tests/qtest/libqos/i2c.h
diff --git a/tests/libqos/libqos-pc.c b/tests/qtest/libqos/libqos-pc.c
index d04abc548b..d04abc548b 100644
--- a/tests/libqos/libqos-pc.c
+++ b/tests/qtest/libqos/libqos-pc.c
diff --git a/tests/libqos/libqos-pc.h b/tests/qtest/libqos/libqos-pc.h
index a0e4c45516..a0e4c45516 100644
--- a/tests/libqos/libqos-pc.h
+++ b/tests/qtest/libqos/libqos-pc.h
diff --git a/tests/libqos/libqos-spapr.c b/tests/qtest/libqos/libqos-spapr.c
index 8766d543ce..8766d543ce 100644
--- a/tests/libqos/libqos-spapr.c
+++ b/tests/qtest/libqos/libqos-spapr.c
diff --git a/tests/libqos/libqos-spapr.h b/tests/qtest/libqos/libqos-spapr.h
index dcb5c43ad3..dcb5c43ad3 100644
--- a/tests/libqos/libqos-spapr.h
+++ b/tests/qtest/libqos/libqos-spapr.h
diff --git a/tests/libqos/libqos.c b/tests/qtest/libqos/libqos.c
index f229eb2cb8..f229eb2cb8 100644
--- a/tests/libqos/libqos.c
+++ b/tests/qtest/libqos/libqos.c
diff --git a/tests/libqos/libqos.h b/tests/qtest/libqos/libqos.h
index 8e971c25a3..8e971c25a3 100644
--- a/tests/libqos/libqos.h
+++ b/tests/qtest/libqos/libqos.h
diff --git a/tests/libqos/malloc-pc.c b/tests/qtest/libqos/malloc-pc.c
index 6f92ce4135..6f92ce4135 100644
--- a/tests/libqos/malloc-pc.c
+++ b/tests/qtest/libqos/malloc-pc.c
diff --git a/tests/libqos/malloc-pc.h b/tests/qtest/libqos/malloc-pc.h
index 21e75ae004..21e75ae004 100644
--- a/tests/libqos/malloc-pc.h
+++ b/tests/qtest/libqos/malloc-pc.h
diff --git a/tests/libqos/malloc-spapr.c b/tests/qtest/libqos/malloc-spapr.c
index 2a6b7e3776..2a6b7e3776 100644
--- a/tests/libqos/malloc-spapr.c
+++ b/tests/qtest/libqos/malloc-spapr.c
diff --git a/tests/libqos/malloc-spapr.h b/tests/qtest/libqos/malloc-spapr.h
index e5fe9bfc4b..e5fe9bfc4b 100644
--- a/tests/libqos/malloc-spapr.h
+++ b/tests/qtest/libqos/malloc-spapr.h
diff --git a/tests/libqos/malloc.c b/tests/qtest/libqos/malloc.c
index 615422a5c4..615422a5c4 100644
--- a/tests/libqos/malloc.c
+++ b/tests/qtest/libqos/malloc.c
diff --git a/tests/libqos/malloc.h b/tests/qtest/libqos/malloc.h
index 4d1a2e2bef..4d1a2e2bef 100644
--- a/tests/libqos/malloc.h
+++ b/tests/qtest/libqos/malloc.h
diff --git a/tests/libqos/pci-pc.c b/tests/qtest/libqos/pci-pc.c
index 0bc591d1da..0bc591d1da 100644
--- a/tests/libqos/pci-pc.c
+++ b/tests/qtest/libqos/pci-pc.c
diff --git a/tests/libqos/pci-pc.h b/tests/qtest/libqos/pci-pc.h
index 4690005232..4690005232 100644
--- a/tests/libqos/pci-pc.h
+++ b/tests/qtest/libqos/pci-pc.h
diff --git a/tests/libqos/pci-spapr.c b/tests/qtest/libqos/pci-spapr.c
index d6f8c01cb7..d6f8c01cb7 100644
--- a/tests/libqos/pci-spapr.c
+++ b/tests/qtest/libqos/pci-spapr.c
diff --git a/tests/libqos/pci-spapr.h b/tests/qtest/libqos/pci-spapr.h
index d9e25631c6..d9e25631c6 100644
--- a/tests/libqos/pci-spapr.h
+++ b/tests/qtest/libqos/pci-spapr.h
diff --git a/tests/libqos/pci.c b/tests/qtest/libqos/pci.c
index 2309a724e4..2309a724e4 100644
--- a/tests/libqos/pci.c
+++ b/tests/qtest/libqos/pci.c
diff --git a/tests/libqos/pci.h b/tests/qtest/libqos/pci.h
index 590c175190..590c175190 100644
--- a/tests/libqos/pci.h
+++ b/tests/qtest/libqos/pci.h
diff --git a/tests/libqos/ppc64_pseries-machine.c b/tests/qtest/libqos/ppc64_pseries-machine.c
index 867f27a3c8..867f27a3c8 100644
--- a/tests/libqos/ppc64_pseries-machine.c
+++ b/tests/qtest/libqos/ppc64_pseries-machine.c
diff --git a/tests/libqos/qgraph.c b/tests/qtest/libqos/qgraph.c
index 7a7ae2a19e..7a7ae2a19e 100644
--- a/tests/libqos/qgraph.c
+++ b/tests/qtest/libqos/qgraph.c
diff --git a/tests/libqos/qgraph.h b/tests/qtest/libqos/qgraph.h
index 3a25dda4b2..3a25dda4b2 100644
--- a/tests/libqos/qgraph.h
+++ b/tests/qtest/libqos/qgraph.h
diff --git a/tests/libqos/qgraph_internal.h b/tests/qtest/libqos/qgraph_internal.h
index f4734c8681..f4734c8681 100644
--- a/tests/libqos/qgraph_internal.h
+++ b/tests/qtest/libqos/qgraph_internal.h
diff --git a/tests/libqos/rtas.c b/tests/qtest/libqos/rtas.c
index d81ff4274d..d81ff4274d 100644
--- a/tests/libqos/rtas.c
+++ b/tests/qtest/libqos/rtas.c
diff --git a/tests/libqos/rtas.h b/tests/qtest/libqos/rtas.h
index 459e23aaf4..459e23aaf4 100644
--- a/tests/libqos/rtas.h
+++ b/tests/qtest/libqos/rtas.h
diff --git a/tests/libqos/sdhci.c b/tests/qtest/libqos/sdhci.c
index 309794bc52..309794bc52 100644
--- a/tests/libqos/sdhci.c
+++ b/tests/qtest/libqos/sdhci.c
diff --git a/tests/libqos/sdhci.h b/tests/qtest/libqos/sdhci.h
index a88b45ae9d..a88b45ae9d 100644
--- a/tests/libqos/sdhci.h
+++ b/tests/qtest/libqos/sdhci.h
diff --git a/tests/libqos/tpci200.c b/tests/qtest/libqos/tpci200.c
index ae590a456e..ae590a456e 100644
--- a/tests/libqos/tpci200.c
+++ b/tests/qtest/libqos/tpci200.c
diff --git a/tests/libqos/usb.c b/tests/qtest/libqos/usb.c
index d7a9cb3c72..d7a9cb3c72 100644
--- a/tests/libqos/usb.c
+++ b/tests/qtest/libqos/usb.c
diff --git a/tests/libqos/usb.h b/tests/qtest/libqos/usb.h
index eeced39a2f..eeced39a2f 100644
--- a/tests/libqos/usb.h
+++ b/tests/qtest/libqos/usb.h
diff --git a/tests/libqos/virtio-9p.c b/tests/qtest/libqos/virtio-9p.c
index 77dbfb62ad..77dbfb62ad 100644
--- a/tests/libqos/virtio-9p.c
+++ b/tests/qtest/libqos/virtio-9p.c
diff --git a/tests/libqos/virtio-9p.h b/tests/qtest/libqos/virtio-9p.h
index b54e89b3a1..b54e89b3a1 100644
--- a/tests/libqos/virtio-9p.h
+++ b/tests/qtest/libqos/virtio-9p.h
diff --git a/tests/libqos/virtio-balloon.c b/tests/qtest/libqos/virtio-balloon.c
index 42a4c5831e..42a4c5831e 100644
--- a/tests/libqos/virtio-balloon.c
+++ b/tests/qtest/libqos/virtio-balloon.c
diff --git a/tests/libqos/virtio-balloon.h b/tests/qtest/libqos/virtio-balloon.h
index 52661cc87d..52661cc87d 100644
--- a/tests/libqos/virtio-balloon.h
+++ b/tests/qtest/libqos/virtio-balloon.h
diff --git a/tests/libqos/virtio-blk.c b/tests/qtest/libqos/virtio-blk.c
index 726e93c5c1..726e93c5c1 100644
--- a/tests/libqos/virtio-blk.c
+++ b/tests/qtest/libqos/virtio-blk.c
diff --git a/tests/libqos/virtio-blk.h b/tests/qtest/libqos/virtio-blk.h
index c05adc659d..c05adc659d 100644
--- a/tests/libqos/virtio-blk.h
+++ b/tests/qtest/libqos/virtio-blk.h
diff --git a/tests/libqos/virtio-mmio.c b/tests/qtest/libqos/virtio-mmio.c
index e0a2bd7bc6..e0a2bd7bc6 100644
--- a/tests/libqos/virtio-mmio.c
+++ b/tests/qtest/libqos/virtio-mmio.c
diff --git a/tests/libqos/virtio-mmio.h b/tests/qtest/libqos/virtio-mmio.h
index 0e45778b07..0e45778b07 100644
--- a/tests/libqos/virtio-mmio.h
+++ b/tests/qtest/libqos/virtio-mmio.h
diff --git a/tests/libqos/virtio-net.c b/tests/qtest/libqos/virtio-net.c
index 710d440c3d..710d440c3d 100644
--- a/tests/libqos/virtio-net.c
+++ b/tests/qtest/libqos/virtio-net.c
diff --git a/tests/libqos/virtio-net.h b/tests/qtest/libqos/virtio-net.h
index 855c67d00f..855c67d00f 100644
--- a/tests/libqos/virtio-net.h
+++ b/tests/qtest/libqos/virtio-net.h
diff --git a/tests/libqos/virtio-pci-modern.c b/tests/qtest/libqos/virtio-pci-modern.c
index 18d118866f..18d118866f 100644
--- a/tests/libqos/virtio-pci-modern.c
+++ b/tests/qtest/libqos/virtio-pci-modern.c
diff --git a/tests/libqos/virtio-pci-modern.h b/tests/qtest/libqos/virtio-pci-modern.h
index 6bf2b207c3..6bf2b207c3 100644
--- a/tests/libqos/virtio-pci-modern.h
+++ b/tests/qtest/libqos/virtio-pci-modern.h
diff --git a/tests/libqos/virtio-pci.c b/tests/qtest/libqos/virtio-pci.c
index 62851c29bb..62851c29bb 100644
--- a/tests/libqos/virtio-pci.c
+++ b/tests/qtest/libqos/virtio-pci.c
diff --git a/tests/libqos/virtio-pci.h b/tests/qtest/libqos/virtio-pci.h
index 294d5567ee..294d5567ee 100644
--- a/tests/libqos/virtio-pci.h
+++ b/tests/qtest/libqos/virtio-pci.h
diff --git a/tests/libqos/virtio-rng.c b/tests/qtest/libqos/virtio-rng.c
index b86349e2fd..b86349e2fd 100644
--- a/tests/libqos/virtio-rng.c
+++ b/tests/qtest/libqos/virtio-rng.c
diff --git a/tests/libqos/virtio-rng.h b/tests/qtest/libqos/virtio-rng.h
index 9e192f11f7..9e192f11f7 100644
--- a/tests/libqos/virtio-rng.h
+++ b/tests/qtest/libqos/virtio-rng.h
diff --git a/tests/libqos/virtio-scsi.c b/tests/qtest/libqos/virtio-scsi.c
index de739bec5f..de739bec5f 100644
--- a/tests/libqos/virtio-scsi.c
+++ b/tests/qtest/libqos/virtio-scsi.c
diff --git a/tests/libqos/virtio-scsi.h b/tests/qtest/libqos/virtio-scsi.h
index 4ca19a6a7a..4ca19a6a7a 100644
--- a/tests/libqos/virtio-scsi.h
+++ b/tests/qtest/libqos/virtio-scsi.h
diff --git a/tests/libqos/virtio-serial.c b/tests/qtest/libqos/virtio-serial.c
index 3e5b8b82c7..3e5b8b82c7 100644
--- a/tests/libqos/virtio-serial.c
+++ b/tests/qtest/libqos/virtio-serial.c
diff --git a/tests/libqos/virtio-serial.h b/tests/qtest/libqos/virtio-serial.h
index 080fa8428d..080fa8428d 100644
--- a/tests/libqos/virtio-serial.h
+++ b/tests/qtest/libqos/virtio-serial.h
diff --git a/tests/libqos/virtio.c b/tests/qtest/libqos/virtio.c
index 9aa360620c..9aa360620c 100644
--- a/tests/libqos/virtio.c
+++ b/tests/qtest/libqos/virtio.c
diff --git a/tests/libqos/virtio.h b/tests/qtest/libqos/virtio.h
index 529ef7555a..529ef7555a 100644
--- a/tests/libqos/virtio.h
+++ b/tests/qtest/libqos/virtio.h
diff --git a/tests/libqos/x86_64_pc-machine.c b/tests/qtest/libqos/x86_64_pc-machine.c
index 6dfa705217..6dfa705217 100644
--- a/tests/libqos/x86_64_pc-machine.c
+++ b/tests/qtest/libqos/x86_64_pc-machine.c