Browse Source

tests: move libqtest.h back under qtest/

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

2
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

2
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)

2
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"

2
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 {

2
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"

2
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)

2
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"

2
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

2
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"

2
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)

2
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);

2
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[] = {

2
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"

2
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*

2
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"

2
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";

2
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"

2
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"

2
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

2
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"

2
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"

2
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;

2
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"

2
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"

2
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

2
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()

2
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

2
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

2
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

2
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

2
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

2
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"

2
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

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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

2
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"

2
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"

2
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;

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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;

2
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"

2
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,

2
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)
{

2
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;

2
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"

2
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"

2
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,

2
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"

2
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"

2
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

2
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"

2
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"

2
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"

2
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,

2
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)
{

2
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

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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"

2
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));

2
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
tests/qtest/libqos/libqtest.h → tests/qtest/libqtest.h

2
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)
{

2
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

2
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"

2
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"

2
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"

2
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;

2
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"

2
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

Loading…
Cancel
Save