Kaynağa Gözat

Include qemu/queue.h slightly less

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190812052359.30071-20-armbru@redhat.com>
Markus Armbruster 6 yıl önce
ebeveyn
işleme
dc5e9ac716

+ 0 - 1
hw/scsi/vhost-scsi.c

@@ -20,7 +20,6 @@
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
-#include "qemu/queue.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
 #include "migration/blocker.h"
 #include "migration/blocker.h"
 #include "hw/virtio/vhost-scsi.h"
 #include "hw/virtio/vhost-scsi.h"

+ 0 - 1
hw/vfio/ap.c

@@ -20,7 +20,6 @@
 #include "hw/s390x/ap-device.h"
 #include "hw/s390x/ap-device.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
-#include "qemu/queue.h"
 #include "qemu/option.h"
 #include "qemu/option.h"
 #include "qemu/config-file.h"
 #include "qemu/config-file.h"
 #include "cpu.h"
 #include "cpu.h"

+ 0 - 1
include/exec/cpu-defs.h

@@ -25,7 +25,6 @@
 
 
 #include "qemu/host-utils.h"
 #include "qemu/host-utils.h"
 #include "qemu/thread.h"
 #include "qemu/thread.h"
-#include "qemu/queue.h"
 #ifdef CONFIG_TCG
 #ifdef CONFIG_TCG
 #include "tcg-target.h"
 #include "tcg-target.h"
 #endif
 #endif

+ 0 - 1
include/hw/xen/xen_common.h

@@ -16,7 +16,6 @@
 
 
 #include "hw/xen/xen.h"
 #include "hw/xen/xen.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
-#include "qemu/queue.h"
 #include "hw/xen/trace.h"
 #include "hw/xen/trace.h"
 
 
 extern xc_interface *xen_xc;
 extern xc_interface *xen_xc;

+ 1 - 0
include/net/can_emu.h

@@ -28,6 +28,7 @@
 #ifndef NET_CAN_EMU_H
 #ifndef NET_CAN_EMU_H
 #define NET_CAN_EMU_H
 #define NET_CAN_EMU_H
 
 
+#include "qemu/queue.h"
 #include "qom/object.h"
 #include "qom/object.h"
 
 
 /* NOTE: the following two structures is copied from <linux/can.h>. */
 /* NOTE: the following two structures is copied from <linux/can.h>. */

+ 1 - 0
include/net/filter.h

@@ -10,6 +10,7 @@
 #define QEMU_NET_FILTER_H
 #define QEMU_NET_FILTER_H
 
 
 #include "qapi/qapi-types-net.h"
 #include "qapi/qapi-types-net.h"
+#include "qemu/queue.h"
 #include "qom/object.h"
 #include "qom/object.h"
 #include "net/queue.h"
 #include "net/queue.h"
 
 

+ 0 - 2
include/qemu/range.h

@@ -20,8 +20,6 @@
 #ifndef QEMU_RANGE_H
 #ifndef QEMU_RANGE_H
 #define QEMU_RANGE_H
 #define QEMU_RANGE_H
 
 
-#include "qemu/queue.h"
-
 /*
 /*
  * Operations on 64 bit address ranges.
  * Operations on 64 bit address ranges.
  * Notes:
  * Notes:

+ 0 - 1
include/qom/object.h

@@ -15,7 +15,6 @@
 #define QEMU_OBJECT_H
 #define QEMU_OBJECT_H
 
 
 #include "qapi/qapi-builtin-types.h"
 #include "qapi/qapi-builtin-types.h"
-#include "qemu/queue.h"
 #include "qemu/module.h"
 #include "qemu/module.h"
 
 
 struct TypeImpl;
 struct TypeImpl;

+ 1 - 0
include/sysemu/cryptodev.h

@@ -23,6 +23,7 @@
 #ifndef CRYPTODEV_H
 #ifndef CRYPTODEV_H
 #define CRYPTODEV_H
 #define CRYPTODEV_H
 
 
+#include "qemu/queue.h"
 #include "qom/object.h"
 #include "qom/object.h"
 
 
 /**
 /**

+ 1 - 0
include/sysemu/rng.h

@@ -13,6 +13,7 @@
 #ifndef QEMU_RNG_H
 #ifndef QEMU_RNG_H
 #define QEMU_RNG_H
 #define QEMU_RNG_H
 
 
+#include "qemu/queue.h"
 #include "qom/object.h"
 #include "qom/object.h"
 
 
 #define TYPE_RNG_BACKEND "rng-backend"
 #define TYPE_RNG_BACKEND "rng-backend"

+ 0 - 1
include/sysemu/sysemu.h

@@ -3,7 +3,6 @@
 /* Misc. things related to the system emulator.  */
 /* Misc. things related to the system emulator.  */
 
 
 #include "qapi/qapi-types-run-state.h"
 #include "qapi/qapi-types-run-state.h"
-#include "qemu/queue.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu/notify.h"
 #include "qemu/notify.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"

+ 1 - 0
linux-user/elfload.c

@@ -8,6 +8,7 @@
 #include "qemu.h"
 #include "qemu.h"
 #include "disas/disas.h"
 #include "disas/disas.h"
 #include "qemu/path.h"
 #include "qemu/path.h"
+#include "qemu/queue.h"
 #include "qemu/guest-random.h"
 #include "qemu/guest-random.h"
 
 
 #ifdef _ARCH_PPC64
 #ifdef _ARCH_PPC64

+ 1 - 0
linux-user/main.c

@@ -28,6 +28,7 @@
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "qemu.h"
 #include "qemu.h"
 #include "qemu/path.h"
 #include "qemu/path.h"
+#include "qemu/queue.h"
 #include "qemu/config-file.h"
 #include "qemu/config-file.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"

+ 0 - 1
linux-user/qemu.h

@@ -16,7 +16,6 @@
 #include "syscall_defs.h"
 #include "syscall_defs.h"
 #include "target_syscall.h"
 #include "target_syscall.h"
 #include "exec/gdbstub.h"
 #include "exec/gdbstub.h"
-#include "qemu/queue.h"
 
 
 /* This is the size of the host kernel's sigset_t, needed where we make
 /* This is the size of the host kernel's sigset_t, needed where we make
  * direct system calls that take a sigset_t pointer and a size.
  * direct system calls that take a sigset_t pointer and a size.

+ 1 - 0
linux-user/syscall.c

@@ -20,6 +20,7 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"
 #include "qemu/path.h"
 #include "qemu/path.h"
+#include "qemu/queue.h"
 #include <elf.h>
 #include <elf.h>
 #include <endian.h>
 #include <endian.h>
 #include <grp.h>
 #include <grp.h>

+ 1 - 0
nbd/client.c

@@ -19,6 +19,7 @@
 
 
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
+#include "qemu/queue.h"
 #include "trace.h"
 #include "trace.h"
 #include "nbd-internal.h"
 #include "nbd-internal.h"
 #include "qemu/cutils.h"
 #include "qemu/cutils.h"

+ 0 - 1
nbd/nbd-internal.h

@@ -28,7 +28,6 @@
 #endif
 #endif
 
 
 #include "qemu/bswap.h"
 #include "qemu/bswap.h"
-#include "qemu/queue.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"
 
 
 /* This is all part of the "official" NBD API.
 /* This is all part of the "official" NBD API.

+ 1 - 0
nbd/server.c

@@ -19,6 +19,7 @@
 
 
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
+#include "qemu/queue.h"
 #include "trace.h"
 #include "trace.h"
 #include "nbd-internal.h"
 #include "nbd-internal.h"
 #include "qemu/units.h"
 #include "qemu/units.h"

+ 0 - 1
qapi/qapi-dealloc-visitor.c

@@ -15,7 +15,6 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qapi/dealloc-visitor.h"
 #include "qapi/dealloc-visitor.h"
 #include "qapi/qmp/qnull.h"
 #include "qapi/qmp/qnull.h"
-#include "qemu/queue.h"
 #include "qapi/visitor-impl.h"
 #include "qapi/visitor-impl.h"
 
 
 struct QapiDeallocVisitor
 struct QapiDeallocVisitor

+ 0 - 1
target/i386/whpx-all.c

@@ -20,7 +20,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"
 #include "hw/boards.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
-#include "qemu/queue.h"
 #include "qapi/error.h"
 #include "qapi/error.h"
 #include "migration/blocker.h"
 #include "migration/blocker.h"
 #include "whp-dispatch.h"
 #include "whp-dispatch.h"

+ 0 - 1
ui/kbd-state.c

@@ -5,7 +5,6 @@
  */
  */
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/bitmap.h"
 #include "qemu/bitmap.h"
-#include "qemu/queue.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/input.h"
 #include "ui/kbd-state.h"
 #include "ui/kbd-state.h"

+ 0 - 1
util/vfio-helpers.c

@@ -17,7 +17,6 @@
 #include "exec/ramlist.h"
 #include "exec/ramlist.h"
 #include "exec/cpu-common.h"
 #include "exec/cpu-common.h"
 #include "trace.h"
 #include "trace.h"
-#include "qemu/queue.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "standard-headers/linux/pci_regs.h"
 #include "standard-headers/linux/pci_regs.h"
 #include "qemu/event_notifier.h"
 #include "qemu/event_notifier.h"