Browse Source

tests: move libqtest.h back under qtest/

Since commit a2ce7dbd917 ("meson: convert tests/qtest to meson"),
libqtest.h is under libqos/ directory, while libqtest.c is still in
qtest/. Move back to its original location to avoid mixing with libqos/.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Marc-André Lureau 3 years ago
parent
commit
907b5105f1
100 changed files with 99 additions and 99 deletions
  1. 1 1
      docs/devel/qtest.rst
  2. 1 1
      scripts/oss-fuzz/output_reproducer.py
  3. 1 1
      tests/qtest/ac97-test.c
  4. 1 1
      tests/qtest/acpi-utils.h
  5. 1 1
      tests/qtest/ahci-test.c
  6. 1 1
      tests/qtest/am53c974-test.c
  7. 1 1
      tests/qtest/arm-cpu-features.c
  8. 1 1
      tests/qtest/aspeed_hace-test.c
  9. 1 1
      tests/qtest/boot-order-test.c
  10. 1 1
      tests/qtest/boot-sector.c
  11. 1 1
      tests/qtest/boot-sector.h
  12. 1 1
      tests/qtest/boot-serial-test.c
  13. 1 1
      tests/qtest/cdrom-test.c
  14. 1 1
      tests/qtest/dbus-display-test.c
  15. 1 1
      tests/qtest/dbus-vmstate-test.c
  16. 1 1
      tests/qtest/device-introspect-test.c
  17. 1 1
      tests/qtest/device-plug-test.c
  18. 1 1
      tests/qtest/drive_del-test.c
  19. 1 1
      tests/qtest/ds1338-test.c
  20. 1 1
      tests/qtest/e1000-test.c
  21. 1 1
      tests/qtest/eepro100-test.c
  22. 1 1
      tests/qtest/endianness-test.c
  23. 1 1
      tests/qtest/erst-test.c
  24. 1 1
      tests/qtest/es1370-test.c
  25. 1 1
      tests/qtest/fuzz-e1000e-test.c
  26. 1 1
      tests/qtest/fuzz-lsi53c895a-test.c
  27. 1 1
      tests/qtest/fuzz-megasas-test.c
  28. 1 1
      tests/qtest/fuzz-sb16-test.c
  29. 1 1
      tests/qtest/fuzz-sdcard-test.c
  30. 1 1
      tests/qtest/fuzz-virtio-scsi-test.c
  31. 1 1
      tests/qtest/fuzz-xlnx-dp-test.c
  32. 1 1
      tests/qtest/fuzz/fuzz.c
  33. 1 1
      tests/qtest/fuzz/fuzz.h
  34. 1 1
      tests/qtest/fuzz/generic_fuzz.c
  35. 1 1
      tests/qtest/fuzz/i440fx_fuzz.c
  36. 1 1
      tests/qtest/fuzz/qos_fuzz.c
  37. 1 1
      tests/qtest/fuzz/virtio_blk_fuzz.c
  38. 1 1
      tests/qtest/fuzz/virtio_net_fuzz.c
  39. 1 1
      tests/qtest/fuzz/virtio_scsi_fuzz.c
  40. 1 1
      tests/qtest/fw_cfg-test.c
  41. 1 1
      tests/qtest/hd-geo-test.c
  42. 1 1
      tests/qtest/hexloader-test.c
  43. 1 1
      tests/qtest/ide-test.c
  44. 1 1
      tests/qtest/ipoctal232-test.c
  45. 1 1
      tests/qtest/ivshmem-test.c
  46. 1 1
      tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c
  47. 1 1
      tests/qtest/libqos/ahci.c
  48. 1 1
      tests/qtest/libqos/arm-imx25-pdk-machine.c
  49. 1 1
      tests/qtest/libqos/arm-n800-machine.c
  50. 1 1
      tests/qtest/libqos/arm-raspi2-machine.c
  51. 1 1
      tests/qtest/libqos/arm-sabrelite-machine.c
  52. 1 1
      tests/qtest/libqos/arm-smdkc210-machine.c
  53. 1 1
      tests/qtest/libqos/arm-virt-machine.c
  54. 1 1
      tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c
  55. 1 1
      tests/qtest/libqos/e1000e.c
  56. 1 1
      tests/qtest/libqos/fw_cfg.c
  57. 1 1
      tests/qtest/libqos/fw_cfg.h
  58. 1 1
      tests/qtest/libqos/i2c-imx.c
  59. 1 1
      tests/qtest/libqos/i2c-omap.c
  60. 1 1
      tests/qtest/libqos/i2c.c
  61. 1 1
      tests/qtest/libqos/i2c.h
  62. 1 1
      tests/qtest/libqos/libqos.c
  63. 1 1
      tests/qtest/libqos/libqos.h
  64. 1 1
      tests/qtest/libqos/malloc.h
  65. 1 1
      tests/qtest/libqos/pci-pc.c
  66. 1 1
      tests/qtest/libqos/pci-spapr.c
  67. 1 1
      tests/qtest/libqos/pci.h
  68. 1 1
      tests/qtest/libqos/ppc64_pseries-machine.c
  69. 1 1
      tests/qtest/libqos/qgraph.c
  70. 1 1
      tests/qtest/libqos/qos_external.c
  71. 1 1
      tests/qtest/libqos/rtas.c
  72. 1 1
      tests/qtest/libqos/sdhci-cmd.c
  73. 1 1
      tests/qtest/libqos/sdhci-cmd.h
  74. 1 1
      tests/qtest/libqos/sdhci.c
  75. 1 1
      tests/qtest/libqos/tpci200.c
  76. 1 1
      tests/qtest/libqos/usb.c
  77. 1 1
      tests/qtest/libqos/vhost-user-blk.c
  78. 1 1
      tests/qtest/libqos/virtio-9p.c
  79. 1 1
      tests/qtest/libqos/virtio-balloon.c
  80. 1 1
      tests/qtest/libqos/virtio-blk.c
  81. 1 1
      tests/qtest/libqos/virtio-iommu.c
  82. 1 1
      tests/qtest/libqos/virtio-mmio.c
  83. 1 1
      tests/qtest/libqos/virtio-net.c
  84. 1 1
      tests/qtest/libqos/virtio-pci.c
  85. 1 1
      tests/qtest/libqos/virtio-rng.c
  86. 1 1
      tests/qtest/libqos/virtio-scsi.c
  87. 1 1
      tests/qtest/libqos/virtio-serial.c
  88. 1 1
      tests/qtest/libqos/virtio.c
  89. 1 1
      tests/qtest/libqos/x86_64_pc-machine.c
  90. 1 1
      tests/qtest/libqtest-single.h
  91. 1 1
      tests/qtest/libqtest.c
  92. 0 0
      tests/qtest/libqtest.h
  93. 1 1
      tests/qtest/lpc-ich9-test.c
  94. 1 1
      tests/qtest/m48t59-test.c
  95. 1 1
      tests/qtest/machine-none-test.c
  96. 1 1
      tests/qtest/megasas-test.c
  97. 1 1
      tests/qtest/microbit-test.c
  98. 1 1
      tests/qtest/migration-helpers.h
  99. 1 1
      tests/qtest/migration-test.c
  100. 1 1
      tests/qtest/modules-test.c

+ 1 - 1
docs/devel/qtest.rst

@@ -88,4 +88,4 @@ QTest Protocol
 libqtest API reference
 ----------------------
 
-.. kernel-doc:: tests/qtest/libqos/libqtest.h
+.. kernel-doc:: tests/qtest/libqtest.h

+ 1 - 1
scripts/oss-fuzz/output_reproducer.py

@@ -36,7 +36,7 @@ def c_header(owner):
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
     """.format(date=date.today().year, owner=owner)
 

+ 1 - 1
tests/qtest/ac97-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"
 #include "libqos/pci.h"

+ 1 - 1
tests/qtest/acpi-utils.h

@@ -13,7 +13,7 @@
 #ifndef TEST_ACPI_UTILS_H
 #define TEST_ACPI_UTILS_H
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /* DSDT and SSDTs format */
 typedef struct {

+ 1 - 1
tests/qtest/ahci-test.c

@@ -25,7 +25,7 @@
 #include "qemu/osdep.h"
 #include <getopt.h>
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/libqos-pc.h"
 #include "libqos/ahci.h"
 #include "libqos/pci-pc.h"

+ 1 - 1
tests/qtest/am53c974-test.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 
 static void test_cmdfifo_underflow_ok(void)

+ 1 - 1
tests/qtest/arm-cpu-features.c

@@ -10,7 +10,7 @@
  */
 #include "qemu/osdep.h"
 #include "qemu/bitops.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qjson.h"
 

+ 1 - 1
tests/qtest/aspeed_hace-test.c

@@ -7,7 +7,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/bitops.h"
 
 #define HACE_CMD                 0x10

+ 1 - 1
tests/qtest/boot-order-test.c

@@ -12,7 +12,7 @@
 
 #include "qemu/osdep.h"
 #include "libqos/fw_cfg.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qapi/qmp/qdict.h"
 #include "standard-headers/linux/qemu_fw_cfg.h"
 

+ 1 - 1
tests/qtest/boot-sector.c

@@ -12,7 +12,7 @@
  */
 #include "qemu/osdep.h"
 #include "boot-sector.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 #define LOW(x) ((x) & 0xff)
 #define HIGH(x) ((x) >> 8)

+ 1 - 1
tests/qtest/boot-sector.h

@@ -14,7 +14,7 @@
 #ifndef TEST_BOOT_SECTOR_H
 #define TEST_BOOT_SECTOR_H
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /* Create boot disk file. fname must be a suitable string for mkstemp() */
 int boot_sector_init(char *fname);

+ 1 - 1
tests/qtest/boot-serial-test.c

@@ -14,7 +14,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/libqos-spapr.h"
 
 static const uint8_t bios_avr[] = {

+ 1 - 1
tests/qtest/cdrom-test.c

@@ -11,7 +11,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "boot-sector.h"
 #include "qapi/qmp/qdict.h"
 

+ 1 - 1
tests/qtest/dbus-display-test.c

@@ -2,7 +2,7 @@
 #include "qemu/dbus.h"
 #include <gio/gio.h>
 #include <gio/gunixfdlist.h>
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "dbus-display1.h"
 
 static GDBusConnection*

+ 1 - 1
tests/qtest/dbus-vmstate-test.c

@@ -1,7 +1,7 @@
 #include "qemu/osdep.h"
 #include <glib/gstdio.h>
 #include <gio/gio.h>
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "dbus-vmstate1.h"
 #include "migration-helpers.h"
 

+ 1 - 1
tests/qtest/device-introspect-test.c

@@ -21,7 +21,7 @@
 #include "qapi/qmp/qstring.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qlist.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 const char common_args[] = "-nodefaults -machine none";
 

+ 1 - 1
tests/qtest/device-plug-test.c

@@ -11,7 +11,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qstring.h"
 

+ 1 - 1
tests/qtest/drive_del-test.c

@@ -11,7 +11,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/virtio.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qlist.h"

+ 1 - 1
tests/qtest/ds1338-test.c

@@ -18,7 +18,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/i2c.h"
 
 #define DS1338_ADDR 0x68

+ 1 - 1
tests/qtest/e1000-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"
 #include "libqos/pci.h"

+ 1 - 1
tests/qtest/eepro100-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"
 #include "libqos/pci.h"

+ 1 - 1
tests/qtest/endianness-test.c

@@ -13,7 +13,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/bswap.h"
 
 typedef struct TestCase TestCase;

+ 1 - 1
tests/qtest/erst-test.c

@@ -10,7 +10,7 @@
 #include "qemu/osdep.h"
 #include <glib/gstdio.h>
 #include "libqos/libqos-pc.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 #include "hw/pci/pci.h"
 

+ 1 - 1
tests/qtest/es1370-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"
 #include "libqos/pci.h"

+ 1 - 1
tests/qtest/fuzz-e1000e-test.c

@@ -8,7 +8,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * https://bugs.launchpad.net/qemu/+bug/1879531

+ 1 - 1
tests/qtest/fuzz-lsi53c895a-test.c

@@ -6,7 +6,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * This used to trigger the assert in lsi_do_dma()

+ 1 - 1
tests/qtest/fuzz-megasas-test.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * This used to trigger the assert in scsi_dma_complete

+ 1 - 1
tests/qtest/fuzz-sb16-test.c

@@ -7,7 +7,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * This used to trigger the assert in audio_calloc

+ 1 - 1
tests/qtest/fuzz-sdcard-test.c

@@ -7,7 +7,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * https://gitlab.com/qemu-project/qemu/-/issues/450

+ 1 - 1
tests/qtest/fuzz-virtio-scsi-test.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * Here a MemoryRegionCache pointed to an MMIO region but had a

+ 1 - 1
tests/qtest/fuzz-xlnx-dp-test.c

@@ -7,7 +7,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /*
  * This used to trigger the out-of-bounds read in xlnx_dp_read

+ 1 - 1
tests/qtest/fuzz/fuzz.c

@@ -21,7 +21,7 @@
 #include "sysemu/runstate.h"
 #include "qemu/main-loop.h"
 #include "qemu/rcu.h"
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/qgraph.h"
 #include "fuzz.h"
 

+ 1 - 1
tests/qtest/fuzz/fuzz.h

@@ -17,7 +17,7 @@
 #include "qemu/units.h"
 #include "qapi/error.h"
 
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 
 /**
  * A libfuzzer fuzzing target

+ 1 - 1
tests/qtest/fuzz/generic_fuzz.c

@@ -15,7 +15,7 @@
 #include <wordexp.h>
 
 #include "hw/core/cpu.h"
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/pci-pc.h"
 #include "fuzz.h"
 #include "fork_fuzz.h"

+ 1 - 1
tests/qtest/fuzz/i440fx_fuzz.c

@@ -13,7 +13,7 @@
 #include "qemu/osdep.h"
 
 #include "qemu/main-loop.h"
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/pci.h"
 #include "tests/qtest/libqos/pci-pc.h"
 #include "fuzz.h"

+ 1 - 1
tests/qtest/fuzz/qos_fuzz.c

@@ -22,7 +22,7 @@
 #include "exec/memory.h"
 #include "qemu/main-loop.h"
 
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/malloc.h"
 #include "tests/qtest/libqos/qgraph.h"
 #include "tests/qtest/libqos/qgraph_internal.h"

+ 1 - 1
tests/qtest/fuzz/virtio_blk_fuzz.c

@@ -11,7 +11,7 @@
 
 #include "qemu/osdep.h"
 
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/virtio-blk.h"
 #include "tests/qtest/libqos/virtio.h"
 #include "tests/qtest/libqos/virtio-pci.h"

+ 1 - 1
tests/qtest/fuzz/virtio_net_fuzz.c

@@ -13,7 +13,7 @@
 #include "qemu/osdep.h"
 
 #include "standard-headers/linux/virtio_config.h"
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/virtio-net.h"
 #include "fuzz.h"
 #include "fork_fuzz.h"

+ 1 - 1
tests/qtest/fuzz/virtio_scsi_fuzz.c

@@ -12,7 +12,7 @@
 
 #include "qemu/osdep.h"
 
-#include "tests/qtest/libqos/libqtest.h"
+#include "tests/qtest/libqtest.h"
 #include "tests/qtest/libqos/virtio-scsi.h"
 #include "tests/qtest/libqos/virtio.h"
 #include "tests/qtest/libqos/virtio-pci.h"

+ 1 - 1
tests/qtest/fw_cfg-test.c

@@ -12,7 +12,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "standard-headers/linux/qemu_fw_cfg.h"
 #include "libqos/fw_cfg.h"
 #include "qemu/bswap.h"

+ 1 - 1
tests/qtest/hd-geo-test.c

@@ -18,7 +18,7 @@
 #include "qemu/osdep.h"
 #include "qemu/bswap.h"
 #include "qapi/qmp/qlist.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/fw_cfg.h"
 #include "libqos/libqos.h"
 #include "standard-headers/linux/qemu_fw_cfg.h"

+ 1 - 1
tests/qtest/hexloader-test.c

@@ -10,7 +10,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 /* Load 'test.hex' and verify that the in-memory contents are as expected.
  * 'test.hex' is a memory test pattern stored in Hexadecimal Object

+ 1 - 1
tests/qtest/ide-test.c

@@ -25,7 +25,7 @@
 #include "qemu/osdep.h"
 
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "libqos/libqos.h"
 #include "libqos/pci-pc.h"
 #include "libqos/malloc-pc.h"

+ 1 - 1
tests/qtest/ipoctal232-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"
 

+ 1 - 1
tests/qtest/ivshmem-test.c

@@ -13,7 +13,7 @@
 #include "contrib/ivshmem-server/ivshmem-server.h"
 #include "libqos/libqos-pc.h"
 #include "libqos/libqos-spapr.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 #define TMPSHMSIZE (1 << 20)
 static char *tmpshm;

+ 1 - 1
tests/qtest/libqos/aarch64-xlnx-zcu102-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/ahci.c

@@ -24,7 +24,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "ahci.h"
 #include "pci-pc.h"
 

+ 1 - 1
tests/qtest/libqos/arm-imx25-pdk-machine.c

@@ -19,7 +19,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "malloc.h"
 #include "qgraph.h"
 #include "i2c.h"

+ 1 - 1
tests/qtest/libqos/arm-n800-machine.c

@@ -19,7 +19,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "malloc.h"
 #include "qgraph.h"
 #include "i2c.h"

+ 1 - 1
tests/qtest/libqos/arm-raspi2-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/arm-sabrelite-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/arm-smdkc210-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/arm-virt-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/arm-xilinx-zynq-a9-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "malloc.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/e1000e.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "pci-pc.h"
 #include "qemu/sockets.h"
 #include "qemu/iov.h"

+ 1 - 1
tests/qtest/libqos/fw_cfg.c

@@ -14,7 +14,7 @@
 
 #include "qemu/osdep.h"
 #include "fw_cfg.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/bswap.h"
 #include "hw/nvram/fw_cfg.h"
 

+ 1 - 1
tests/qtest/libqos/fw_cfg.h

@@ -13,7 +13,7 @@
 #ifndef LIBQOS_FW_CFG_H
 #define LIBQOS_FW_CFG_H
 
-#include "libqtest.h"
+#include "../libqtest.h"
 
 typedef struct QFWCFG QFWCFG;
 

+ 1 - 1
tests/qtest/libqos/i2c-imx.c

@@ -21,7 +21,7 @@
 #include "i2c.h"
 
 
-#include "libqtest.h"
+#include "../libqtest.h"
 
 #include "hw/i2c/imx_i2c.h"
 

+ 1 - 1
tests/qtest/libqos/i2c-omap.c

@@ -11,7 +11,7 @@
 
 
 #include "qemu/bswap.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 
 enum OMAPI2CRegisters {
     OMAP_I2C_REV  = 0x00,

+ 1 - 1
tests/qtest/libqos/i2c.c

@@ -8,7 +8,7 @@
  */
 #include "qemu/osdep.h"
 #include "i2c.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 
 void qi2c_send(QI2CDevice *i2cdev, const uint8_t *buf, uint16_t len)
 {

+ 1 - 1
tests/qtest/libqos/i2c.h

@@ -9,7 +9,7 @@
 #ifndef LIBQOS_I2C_H
 #define LIBQOS_I2C_H
 
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qgraph.h"
 
 typedef struct I2CAdapter I2CAdapter;

+ 1 - 1
tests/qtest/libqos/libqos.c

@@ -1,7 +1,7 @@
 #include "qemu/osdep.h"
 #include <sys/wait.h>
 
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "libqos.h"
 #include "pci.h"
 #include "qapi/qmp/qdict.h"

+ 1 - 1
tests/qtest/libqos/libqos.h

@@ -1,7 +1,7 @@
 #ifndef LIBQOS_H
 #define LIBQOS_H
 
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "pci.h"
 #include "malloc.h"
 

+ 1 - 1
tests/qtest/libqos/malloc.h

@@ -14,7 +14,7 @@
 #define LIBQOS_MALLOC_H
 
 #include "qemu/queue.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 
 typedef enum {
     ALLOC_NO_FLAGS    = 0x00,

+ 1 - 1
tests/qtest/libqos/pci-pc.c

@@ -11,7 +11,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "pci-pc.h"
 #include "qapi/qmp/qdict.h"
 #include "hw/pci/pci_regs.h"

+ 1 - 1
tests/qtest/libqos/pci-spapr.c

@@ -6,7 +6,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "pci-spapr.h"
 #include "rtas.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/pci.h

@@ -13,7 +13,7 @@
 #ifndef LIBQOS_PCI_H
 #define LIBQOS_PCI_H
 
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qgraph.h"
 
 #define QPCI_PIO_LIMIT    0x10000

+ 1 - 1
tests/qtest/libqos/ppc64_pseries-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qgraph.h"
 #include "pci-spapr.h"
 #include "qemu/module.h"

+ 1 - 1
tests/qtest/libqos/qgraph.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/queue.h"
 #include "qgraph_internal.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/qos_external.c

@@ -18,7 +18,7 @@
 
 #include "qemu/osdep.h"
 #include <getopt.h>
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qstring.h"

+ 1 - 1
tests/qtest/libqos/rtas.c

@@ -4,7 +4,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "rtas.h"
 
 static void qrtas_copy_args(QTestState *qts, uint64_t target_args,

+ 1 - 1
tests/qtest/libqos/sdhci-cmd.c

@@ -16,7 +16,7 @@
 
 #include "qemu/osdep.h"
 #include "sdhci-cmd.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 
 static ssize_t read_fifo(QTestState *qts, uint64_t reg, char *msg, size_t count)
 {

+ 1 - 1
tests/qtest/libqos/sdhci-cmd.h

@@ -14,7 +14,7 @@
  * for more details.
  */
 
-#include "libqtest.h"
+#include "../libqtest.h"
 
 /* more details at hw/sd/sdhci-internal.h */
 #define SDHC_BLKSIZE 0x04

+ 1 - 1
tests/qtest/libqos/sdhci.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qgraph.h"
 #include "pci.h"
 #include "qemu/module.h"

+ 1 - 1
tests/qtest/libqos/tpci200.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "pci.h"

+ 1 - 1
tests/qtest/libqos/usb.c

@@ -12,7 +12,7 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "hw/usb/uhci-regs.h"
 #include "usb.h"
 

+ 1 - 1
tests/qtest/libqos/vhost-user-blk.c

@@ -21,7 +21,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "standard-headers/linux/virtio_blk.h"
 #include "vhost-user-blk.h"

+ 1 - 1
tests/qtest/libqos/virtio-9p.c

@@ -22,7 +22,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "standard-headers/linux/virtio_ids.h"
 #include "virtio-9p.h"

+ 1 - 1
tests/qtest/libqos/virtio-balloon.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "virtio-balloon.h"

+ 1 - 1
tests/qtest/libqos/virtio-blk.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "standard-headers/linux/virtio_blk.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/virtio-iommu.c

@@ -12,7 +12,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "virtio-iommu.h"

+ 1 - 1
tests/qtest/libqos/virtio-mmio.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "virtio.h"
 #include "virtio-mmio.h"

+ 1 - 1
tests/qtest/libqos/virtio-net.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "virtio-net.h"

+ 1 - 1
tests/qtest/libqos/virtio-pci.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "virtio.h"
 #include "virtio-pci.h"
 #include "pci.h"

+ 1 - 1
tests/qtest/libqos/virtio-rng.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "virtio-rng.h"

+ 1 - 1
tests/qtest/libqos/virtio-scsi.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "standard-headers/linux/virtio_ids.h"
 #include "qgraph.h"

+ 1 - 1
tests/qtest/libqos/virtio-serial.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qemu/module.h"
 #include "qgraph.h"
 #include "virtio-serial.h"

+ 1 - 1
tests/qtest/libqos/virtio.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 #include "qemu/bswap.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "virtio.h"
 #include "standard-headers/linux/virtio_config.h"
 #include "standard-headers/linux/virtio_ring.h"

+ 1 - 1
tests/qtest/libqos/x86_64_pc-machine.c

@@ -17,7 +17,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqtest.h"
+#include "../libqtest.h"
 #include "qgraph.h"
 #include "pci-pc.h"
 #include "qemu/module.h"

+ 1 - 1
tests/qtest/libqtest-single.h

@@ -11,7 +11,7 @@
 #ifndef LIBQTEST_SINGLE_H
 #define LIBQTEST_SINGLE_H
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 QTestState *global_qtest __attribute__((common, weak));
 

+ 1 - 1
tests/qtest/libqtest.c

@@ -20,7 +20,7 @@
 #include <sys/wait.h>
 #include <sys/un.h>
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/ctype.h"
 #include "qemu/cutils.h"
 #include "qapi/error.h"

+ 0 - 0
tests/qtest/libqos/libqtest.h → tests/qtest/libqtest.h


+ 1 - 1
tests/qtest/lpc-ich9-test.c

@@ -9,7 +9,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 static void test_lp1878642_pci_bus_get_irq_level_assert(void)
 {

+ 1 - 1
tests/qtest/m48t59-test.c

@@ -14,7 +14,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 #define RTC_SECONDS             0x9
 #define RTC_MINUTES             0xa

+ 1 - 1
tests/qtest/machine-none-test.c

@@ -13,7 +13,7 @@
 #include "qemu/osdep.h"
 
 #include "qemu/cutils.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qapi/qmp/qdict.h"
 
 

+ 1 - 1
tests/qtest/megasas-test.c

@@ -8,7 +8,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qemu/bswap.h"
 #include "qemu/module.h"
 #include "libqos/qgraph.h"

+ 1 - 1
tests/qtest/microbit-test.c

@@ -16,7 +16,7 @@
 
 #include "qemu/osdep.h"
 #include "exec/hwaddr.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 #include "hw/arm/nrf51.h"
 #include "hw/char/nrf51_uart.h"

+ 1 - 1
tests/qtest/migration-helpers.h

@@ -12,7 +12,7 @@
 #ifndef MIGRATION_HELPERS_H_
 #define MIGRATION_HELPERS_H_
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 extern bool got_stop;
 

+ 1 - 1
tests/qtest/migration-test.c

@@ -12,7 +12,7 @@
 
 #include "qemu/osdep.h"
 
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 #include "qapi/error.h"
 #include "qapi/qmp/qdict.h"
 #include "qemu/module.h"

+ 1 - 1
tests/qtest/modules-test.c

@@ -1,5 +1,5 @@
 #include "qemu/osdep.h"
-#include "libqos/libqtest.h"
+#include "libqtest.h"
 
 const char common_args[] = "-nodefaults -machine none";
 

Some files were not shown because too many files changed in this diff