]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/libqos: Move the libqos files under tests/qtest/
authorThomas Huth <thuth@redhat.com>
Tue, 10 Sep 2019 14:41:20 +0000 (16:41 +0200)
committerThomas Huth <thuth@redhat.com>
Sun, 12 Jan 2020 10:42:41 +0000 (11:42 +0100)
The qos stuff belongs to qtest, so move it into that directory, too.

Message-Id: <20191218103059.11729-8-thuth@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
74 files changed:
MAINTAINERS
configure
tests/Makefile.include
tests/qtest/Makefile.include
tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c [moved from tests/libqos/aarch64-xlnx-zcu102-machine.c with 100% similarity]
tests/qtest/libqos/ahci.c [moved from tests/libqos/ahci.c with 100% similarity]
tests/qtest/libqos/ahci.h [moved from tests/libqos/ahci.h with 100% similarity]
tests/qtest/libqos/arm-imx25-pdk-machine.c [moved from tests/libqos/arm-imx25-pdk-machine.c with 100% similarity]
tests/qtest/libqos/arm-n800-machine.c [moved from tests/libqos/arm-n800-machine.c with 100% similarity]
tests/qtest/libqos/arm-raspi2-machine.c [moved from tests/libqos/arm-raspi2-machine.c with 100% similarity]
tests/qtest/libqos/arm-sabrelite-machine.c [moved from tests/libqos/arm-sabrelite-machine.c with 100% similarity]
tests/qtest/libqos/arm-smdkc210-machine.c [moved from tests/libqos/arm-smdkc210-machine.c with 100% similarity]
tests/qtest/libqos/arm-virt-machine.c [moved from tests/libqos/arm-virt-machine.c with 100% similarity]
tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c [moved from tests/libqos/arm-xilinx-zynq-a9-machine.c with 100% similarity]
tests/qtest/libqos/e1000e.c [moved from tests/libqos/e1000e.c with 100% similarity]
tests/qtest/libqos/e1000e.h [moved from tests/libqos/e1000e.h with 100% similarity]
tests/qtest/libqos/fw_cfg.c [moved from tests/libqos/fw_cfg.c with 100% similarity]
tests/qtest/libqos/fw_cfg.h [moved from tests/libqos/fw_cfg.h with 100% similarity]
tests/qtest/libqos/i2c-imx.c [moved from tests/libqos/i2c-imx.c with 100% similarity]
tests/qtest/libqos/i2c-omap.c [moved from tests/libqos/i2c-omap.c with 100% similarity]
tests/qtest/libqos/i2c.c [moved from tests/libqos/i2c.c with 100% similarity]
tests/qtest/libqos/i2c.h [moved from tests/libqos/i2c.h with 100% similarity]
tests/qtest/libqos/libqos-pc.c [moved from tests/libqos/libqos-pc.c with 100% similarity]
tests/qtest/libqos/libqos-pc.h [moved from tests/libqos/libqos-pc.h with 100% similarity]
tests/qtest/libqos/libqos-spapr.c [moved from tests/libqos/libqos-spapr.c with 100% similarity]
tests/qtest/libqos/libqos-spapr.h [moved from tests/libqos/libqos-spapr.h with 100% similarity]
tests/qtest/libqos/libqos.c [moved from tests/libqos/libqos.c with 100% similarity]
tests/qtest/libqos/libqos.h [moved from tests/libqos/libqos.h with 100% similarity]
tests/qtest/libqos/malloc-pc.c [moved from tests/libqos/malloc-pc.c with 100% similarity]
tests/qtest/libqos/malloc-pc.h [moved from tests/libqos/malloc-pc.h with 100% similarity]
tests/qtest/libqos/malloc-spapr.c [moved from tests/libqos/malloc-spapr.c with 100% similarity]
tests/qtest/libqos/malloc-spapr.h [moved from tests/libqos/malloc-spapr.h with 100% similarity]
tests/qtest/libqos/malloc.c [moved from tests/libqos/malloc.c with 100% similarity]
tests/qtest/libqos/malloc.h [moved from tests/libqos/malloc.h with 100% similarity]
tests/qtest/libqos/pci-pc.c [moved from tests/libqos/pci-pc.c with 100% similarity]
tests/qtest/libqos/pci-pc.h [moved from tests/libqos/pci-pc.h with 100% similarity]
tests/qtest/libqos/pci-spapr.c [moved from tests/libqos/pci-spapr.c with 100% similarity]
tests/qtest/libqos/pci-spapr.h [moved from tests/libqos/pci-spapr.h with 100% similarity]
tests/qtest/libqos/pci.c [moved from tests/libqos/pci.c with 100% similarity]
tests/qtest/libqos/pci.h [moved from tests/libqos/pci.h with 100% similarity]
tests/qtest/libqos/ppc64_pseries-machine.c [moved from tests/libqos/ppc64_pseries-machine.c with 100% similarity]
tests/qtest/libqos/qgraph.c [moved from tests/libqos/qgraph.c with 100% similarity]
tests/qtest/libqos/qgraph.h [moved from tests/libqos/qgraph.h with 100% similarity]
tests/qtest/libqos/qgraph_internal.h [moved from tests/libqos/qgraph_internal.h with 100% similarity]
tests/qtest/libqos/rtas.c [moved from tests/libqos/rtas.c with 100% similarity]
tests/qtest/libqos/rtas.h [moved from tests/libqos/rtas.h with 100% similarity]
tests/qtest/libqos/sdhci.c [moved from tests/libqos/sdhci.c with 100% similarity]
tests/qtest/libqos/sdhci.h [moved from tests/libqos/sdhci.h with 100% similarity]
tests/qtest/libqos/tpci200.c [moved from tests/libqos/tpci200.c with 100% similarity]
tests/qtest/libqos/usb.c [moved from tests/libqos/usb.c with 100% similarity]
tests/qtest/libqos/usb.h [moved from tests/libqos/usb.h with 100% similarity]
tests/qtest/libqos/virtio-9p.c [moved from tests/libqos/virtio-9p.c with 100% similarity]
tests/qtest/libqos/virtio-9p.h [moved from tests/libqos/virtio-9p.h with 100% similarity]
tests/qtest/libqos/virtio-balloon.c [moved from tests/libqos/virtio-balloon.c with 100% similarity]
tests/qtest/libqos/virtio-balloon.h [moved from tests/libqos/virtio-balloon.h with 100% similarity]
tests/qtest/libqos/virtio-blk.c [moved from tests/libqos/virtio-blk.c with 100% similarity]
tests/qtest/libqos/virtio-blk.h [moved from tests/libqos/virtio-blk.h with 100% similarity]
tests/qtest/libqos/virtio-mmio.c [moved from tests/libqos/virtio-mmio.c with 100% similarity]
tests/qtest/libqos/virtio-mmio.h [moved from tests/libqos/virtio-mmio.h with 100% similarity]
tests/qtest/libqos/virtio-net.c [moved from tests/libqos/virtio-net.c with 100% similarity]
tests/qtest/libqos/virtio-net.h [moved from tests/libqos/virtio-net.h with 100% similarity]
tests/qtest/libqos/virtio-pci-modern.c [moved from tests/libqos/virtio-pci-modern.c with 100% similarity]
tests/qtest/libqos/virtio-pci-modern.h [moved from tests/libqos/virtio-pci-modern.h with 100% similarity]
tests/qtest/libqos/virtio-pci.c [moved from tests/libqos/virtio-pci.c with 100% similarity]
tests/qtest/libqos/virtio-pci.h [moved from tests/libqos/virtio-pci.h with 100% similarity]
tests/qtest/libqos/virtio-rng.c [moved from tests/libqos/virtio-rng.c with 100% similarity]
tests/qtest/libqos/virtio-rng.h [moved from tests/libqos/virtio-rng.h with 100% similarity]
tests/qtest/libqos/virtio-scsi.c [moved from tests/libqos/virtio-scsi.c with 100% similarity]
tests/qtest/libqos/virtio-scsi.h [moved from tests/libqos/virtio-scsi.h with 100% similarity]
tests/qtest/libqos/virtio-serial.c [moved from tests/libqos/virtio-serial.c with 100% similarity]
tests/qtest/libqos/virtio-serial.h [moved from tests/libqos/virtio-serial.h with 100% similarity]
tests/qtest/libqos/virtio.c [moved from tests/libqos/virtio.c with 100% similarity]
tests/qtest/libqos/virtio.h [moved from tests/libqos/virtio.h with 100% similarity]
tests/qtest/libqos/x86_64_pc-machine.c [moved from tests/libqos/x86_64_pc-machine.c with 100% similarity]

index 02eab66b02c062c005355c67e0403dba43f9a566..ceb5c45c0ff360ca06d06666f72a6eeb5803813e 100644 (file)
@@ -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
index 1b8796fc21dbe7cd27a86b2edd121952457ceb0d..08c3a1c1f08a9e4f13caad807ef63f14903c4183 100755 (executable)
--- 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"
index 065fd09964307c2d670df603cdc6e5c64e1b8224..1ae14a8b158276a67d00d78c65a650acfd8fc731 100644 (file)
@@ -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
index 816d0d90eaa341dabdddec7459c9bb3106c332da..e6bb4ab28c0ed31cbad092bf633f41788f7e6486 100644 (file)
@@ -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
similarity index 100%
rename from tests/libqos/i2c.c
rename to tests/qtest/libqos/i2c.c
similarity index 100%
rename from tests/libqos/i2c.h
rename to tests/qtest/libqos/i2c.h
similarity index 100%
rename from tests/libqos/pci.c
rename to tests/qtest/libqos/pci.c
similarity index 100%
rename from tests/libqos/pci.h
rename to tests/qtest/libqos/pci.h
similarity index 100%
rename from tests/libqos/usb.c
rename to tests/qtest/libqos/usb.c
similarity index 100%
rename from tests/libqos/usb.h
rename to tests/qtest/libqos/usb.h