diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:50 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:52 +0200 |
commit | db725815985654007ade0fd53590d613fd657208 (patch) | |
tree | e39bcf77a808fa0002cea415b2a487cf5c7eaf4b /hw | |
parent | dc5e9ac716c5c5312ab29fb9f311f8176064fe04 (diff) | |
download | qemu-db725815985654007ade0fd53590d613fd657208.zip qemu-db725815985654007ade0fd53590d613fd657208.tar.gz qemu-db725815985654007ade0fd53590d613fd657208.tar.bz2 |
Include qemu/main-loop.h less
In my "build everything" tree, changing qemu/main-loop.h triggers a
recompile of some 5600 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h). It includes block/aio.h,
which in turn includes qemu/event_notifier.h, qemu/notify.h,
qemu/processor.h, qemu/qsp.h, qemu/queue.h, qemu/thread-posix.h,
qemu/thread.h, qemu/timer.h, and a few more.
Include qemu/main-loop.h only where it's needed. Touching it now
recompiles only some 1700 objects. For block/aio.h and
qemu/event_notifier.h, these numbers drop from 5600 to 2800. For the
others, they shrink only slightly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190812052359.30071-21-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw')
57 files changed, 56 insertions, 2 deletions
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 5582134..cce2366 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -17,6 +17,7 @@ #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/sockets.h" #include "virtio-9p.h" #include "fsdev/qemu-fsdev.h" diff --git a/hw/9pfs/codir.c b/hw/9pfs/codir.c index 7cd6fce..73f9a75 100644 --- a/hw/9pfs/codir.c +++ b/hw/9pfs/codir.c @@ -15,6 +15,7 @@ #include "fsdev/qemu-fsdev.h" #include "qemu/thread.h" #include "qemu/coroutine.h" +#include "qemu/main-loop.h" #include "coth.h" int coroutine_fn v9fs_co_readdir(V9fsPDU *pdu, V9fsFidState *fidp, diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index 9c22837..83bb6c1 100644 --- a/hw/9pfs/cofile.c +++ b/hw/9pfs/cofile.c @@ -15,6 +15,7 @@ #include "fsdev/qemu-fsdev.h" #include "qemu/thread.h" #include "qemu/coroutine.h" +#include "qemu/main-loop.h" #include "coth.h" int coroutine_fn v9fs_co_st_gen(V9fsPDU *pdu, V9fsPath *path, mode_t st_mode, diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c index c621032..5599191 100644 --- a/hw/9pfs/cofs.c +++ b/hw/9pfs/cofs.c @@ -15,6 +15,7 @@ #include "fsdev/qemu-fsdev.h" #include "qemu/thread.h" #include "qemu/coroutine.h" +#include "qemu/main-loop.h" #include "coth.h" static ssize_t __readlink(V9fsState *s, V9fsPath *path, V9fsString *buf) diff --git a/hw/9pfs/coth.c b/hw/9pfs/coth.c index c3b4336..9778f24 100644 --- a/hw/9pfs/coth.c +++ b/hw/9pfs/coth.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "block/thread-pool.h" #include "qemu/coroutine.h" +#include "qemu/main-loop.h" #include "coth.h" /* Called from QEMU I/O thread. */ diff --git a/hw/9pfs/coth.h b/hw/9pfs/coth.h index 19e4d92..c2cdc7a 100644 --- a/hw/9pfs/coth.h +++ b/hw/9pfs/coth.h @@ -17,7 +17,6 @@ #include "qemu/thread.h" #include "qemu/coroutine.h" -#include "qemu/main-loop.h" #include "9p.h" /* diff --git a/hw/9pfs/coxattr.c b/hw/9pfs/coxattr.c index 154392e..0e00ffa 100644 --- a/hw/9pfs/coxattr.c +++ b/hw/9pfs/coxattr.c @@ -15,6 +15,7 @@ #include "fsdev/qemu-fsdev.h" #include "qemu/thread.h" #include "qemu/coroutine.h" +#include "qemu/main-loop.h" #include "coth.h" int coroutine_fn v9fs_co_llistxattr(V9fsPDU *pdu, V9fsPath *path, void *value, diff --git a/hw/9pfs/xen-9p-backend.c b/hw/9pfs/xen-9p-backend.c index c50b196..71eebe1 100644 --- a/hw/9pfs/xen-9p-backend.c +++ b/hw/9pfs/xen-9p-backend.c @@ -15,6 +15,7 @@ #include "hw/9pfs/xen-9pfs.h" #include "qapi/error.h" #include "qemu/config-file.h" +#include "qemu/main-loop.h" #include "qemu/option.h" #include "fsdev/qemu-fsdev.h" diff --git a/hw/arm/omap1.c b/hw/arm/omap1.c index cce6710..ce92471 100644 --- a/hw/arm/omap1.c +++ b/hw/arm/omap1.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c index 158c78f..9299a1a 100644 --- a/hw/block/dataplane/virtio-blk.c +++ b/hw/block/dataplane/virtio-blk.c @@ -16,6 +16,7 @@ #include "qapi/error.h" #include "trace.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/thread.h" #include "qemu/error-report.h" #include "hw/virtio/virtio-access.h" diff --git a/hw/block/dataplane/xen-block.c b/hw/block/dataplane/xen-block.c index 71c6333..3b9caeb 100644 --- a/hw/block/dataplane/xen-block.c +++ b/hw/block/dataplane/xen-block.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qapi/error.h" #include "hw/xen/xen_common.h" #include "hw/block/xen_blkif.h" diff --git a/hw/block/fdc.c b/hw/block/fdc.c index 7542c8f..e804394 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -41,6 +41,7 @@ #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "trace.h" diff --git a/hw/block/xen-block.c b/hw/block/xen-block.c index 848a0ad..aef3953 100644 --- a/hw/block/xen-block.c +++ b/hw/block/xen-block.c @@ -7,6 +7,7 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/option.h" #include "qapi/error.h" diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c index b868e54..272cfb6 100644 --- a/hw/char/virtio-serial-bus.c +++ b/hw/char/virtio-serial-bus.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "migration/qemu-file-types.h" #include "monitor/monitor.h" diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c index 5bd95b8..d8284671 100644 --- a/hw/core/machine-qmp-cmds.c +++ b/hw/core/machine-qmp-cmds.c @@ -13,6 +13,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-machine.h" #include "qapi/qmp/qerror.h" +#include "qemu/main-loop.h" #include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "sysemu/numa.h" diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 4a44712..539ede1 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -26,6 +26,7 @@ #include "qemu/timer.h" #include "qemu/queue.h" #include "qemu/atomic.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "sysemu/sysemu.h" #include "migration/blocker.h" diff --git a/hw/dma/etraxfs_dma.c b/hw/dma/etraxfs_dma.c index 4285443..36da22f 100644 --- a/hw/dma/etraxfs_dma.c +++ b/hw/dma/etraxfs_dma.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/irq.h" +#include "qemu/main-loop.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 000de6b..50fe5cc 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qapi/error.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c index 63abace..3e15ffc 100644 --- a/hw/i386/xen/xen-hvm.c +++ b/hw/i386/xen/xen-hvm.c @@ -23,6 +23,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/range.h" #include "sysemu/xen-mapcache.h" #include "trace.h" diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 1d5a54b..378c1f3 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -28,6 +28,7 @@ #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" diff --git a/hw/ide/core.c b/hw/ide/core.c index 005b4d5..61cb3b2 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -27,6 +27,7 @@ #include "hw/isa/isa.h" #include "migration/vmstate.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "sysemu/blockdev.h" diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index d85c31a..d30bdd7 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -22,6 +22,7 @@ #include "qapi/error.h" #include "qapi/qapi-types-block.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/ide/internal.h" #include "sysemu/block-backend.h" diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c index d0be755..a1b28e7 100644 --- a/hw/intc/s390_flic.c +++ b/hw/intc/s390_flic.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/sysbus.h" #include "hw/s390x/ioinst.h" diff --git a/hw/m68k/mcf5206.c b/hw/m68k/mcf5206.c index 5ee1498..a9c2c95 100644 --- a/hw/m68k/mcf5206.c +++ b/hw/m68k/mcf5206.c @@ -8,6 +8,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "cpu.h" #include "hw/hw.h" #include "hw/irq.h" diff --git a/hw/m68k/mcf5208.c b/hw/m68k/mcf5208.c index 3a21c62..012710d 100644 --- a/hw/m68k/mcf5208.c +++ b/hw/m68k/mcf5208.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" diff --git a/hw/misc/imx6_src.c b/hw/misc/imx6_src.c index 0be683d..b9d86fe 100644 --- a/hw/misc/imx6_src.c +++ b/hw/misc/imx6_src.c @@ -14,6 +14,7 @@ #include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "arm-powerctl.h" #include "qom/cpu.h" diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c index e217238..e5c902a 100644 --- a/hw/net/fsl_etsec/etsec.c +++ b/hw/net/fsl_etsec/etsec.c @@ -34,6 +34,7 @@ #include "etsec.h" #include "registers.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" /* #define HEX_DUMP */ diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index 1d32cb7..ea20a92 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -21,6 +21,7 @@ #include "sysemu/sysemu.h" #include "hw/ptimer.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" /* For crc32 */ #include <zlib.h> diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index a6b7190..e975700 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -22,7 +22,7 @@ #include "hw/virtio/virtio-net.h" #include "net/vhost_net.h" #include "qemu/error-report.h" - +#include "qemu/main-loop.h" #include <sys/socket.h> #include <net/if.h> diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index b9e1cd7..cdf4d77 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/virtio/virtio.h" #include "net/net.h" diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index a1192d7..a28aca4 100644 --- a/hw/ppc/ppc.c +++ b/hw/ppc/ppc.c @@ -31,6 +31,7 @@ #include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" #include "kvm_ppc.h" diff --git a/hw/ppc/ppc440_uc.c b/hw/ppc/ppc440_uc.c index e7f42d7..761d551 100644 --- a/hw/ppc/ppc440_uc.c +++ b/hw/ppc/ppc440_uc.c @@ -13,6 +13,7 @@ #include "qemu/error-report.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "cpu.h" #include "hw/irq.h" diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 6808d4c..0f4e6b7 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -3,6 +3,7 @@ #include "sysemu/hw_accel.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/error-report.h" #include "cpu.h" diff --git a/hw/ppc/spapr_rng.c b/hw/ppc/spapr_rng.c index 0e1c7eb..cfe43ea 100644 --- a/hw/ppc/spapr_rng.c +++ b/hw/ppc/spapr_rng.c @@ -21,6 +21,7 @@ #include "qapi/error.h" #include "cpu.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "sysemu/sysemu.h" #include "sysemu/device_tree.h" diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c index b32f4c0..efa54a3 100644 --- a/hw/scsi/mptsas.c +++ b/hw/scsi/mptsas.c @@ -27,6 +27,7 @@ #include "sysemu/dma.h" #include "hw/pci/msi.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 5fbdecb..aa34297 100644 --- a/hw/scsi/scsi-disk.c +++ b/hw/scsi/scsi-disk.c @@ -23,6 +23,7 @@ #include "qemu/units.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/scsi/scsi.h" #include "migration/qemu-file-types.h" diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index 85af638..7e27bce 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/scsi/scsi.h" #include "migration/vmstate.h" diff --git a/hw/timer/allwinner-a10-pit.c b/hw/timer/allwinner-a10-pit.c index b9d057d..904da4f 100644 --- a/hw/timer/allwinner-a10-pit.c +++ b/hw/timer/allwinner-a10-pit.c @@ -22,6 +22,7 @@ #include "hw/timer/allwinner-a10-pit.h" #include "migration/vmstate.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" static void a10_pit_update_irq(AwA10PITState *s) diff --git a/hw/timer/altera_timer.c b/hw/timer/altera_timer.c index 0dd4f32..51971e4 100644 --- a/hw/timer/altera_timer.c +++ b/hw/timer/altera_timer.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qapi/error.h" diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c index 2fd54ad..739276e 100644 --- a/hw/timer/etraxfs_timer.c +++ b/hw/timer/etraxfs_timer.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/timer.h" #include "hw/irq.h" diff --git a/hw/timer/exynos4210_rtc.c b/hw/timer/exynos4210_rtc.c index f79b970..5c954cf 100644 --- a/hw/timer/exynos4210_rtc.c +++ b/hw/timer/exynos4210_rtc.c @@ -28,6 +28,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/sysbus.h" #include "migration/vmstate.h" diff --git a/hw/timer/milkymist-sysctl.c b/hw/timer/milkymist-sysctl.c index 900b0b6..4d75d73 100644 --- a/hw/timer/milkymist-sysctl.c +++ b/hw/timer/milkymist-sysctl.c @@ -30,6 +30,7 @@ #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" enum { diff --git a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c index 525bc1e..c7d215d 100644 --- a/hw/usb/dev-uas.c +++ b/hw/usb/dev-uas.c @@ -14,6 +14,7 @@ #include "qemu/config-file.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/usb.h" diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 45ff4f4..d7d1ecd 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -34,6 +34,7 @@ #include "migration/vmstate.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #define FRAME_TIMER_FREQ 1000 #define FRAME_TIMER_NS (NANOSECONDS_PER_SECOND / FRAME_TIMER_FREQ) diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index 6f53388..c043487 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -43,6 +43,7 @@ #include "migration/vmstate.h" #include "monitor/monitor.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c index dfbb418..1fc2f32 100644 --- a/hw/usb/xen-usb.c +++ b/hw/usb/xen-usb.c @@ -24,6 +24,7 @@ #include <sys/user.h> #include "qemu/config-file.h" +#include "qemu/main-loop.h" #include "qemu/option.h" #include "hw/sysbus.h" #include "hw/usb.h" diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c index 16f200e..c78a85a 100644 --- a/hw/vfio/ccw.c +++ b/hw/vfio/ccw.c @@ -28,6 +28,7 @@ #include "hw/s390x/ccw-device.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" struct VFIOCCWDevice { diff --git a/hw/vfio/common.c b/hw/vfio/common.c index a363b44..3e03c49 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -31,6 +31,7 @@ #include "exec/memory.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/range.h" #include "sysemu/balloon.h" #include "sysemu/kvm.h" diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 48ac0f5..ab3ee2c 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -28,6 +28,7 @@ #include "hw/pci/pci_bridge.h" #include "migration/vmstate.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/option.h" #include "qemu/range.h" diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 2ec9c9f..ff5f805 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -22,6 +22,7 @@ #include "hw/vfio/vfio-platform.h" #include "migration/vmstate.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/range.h" #include "sysemu/sysemu.h" diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c index 96b8d3c..4890538 100644 --- a/hw/virtio/vhost-backend.c +++ b/hw/virtio/vhost-backend.c @@ -12,6 +12,7 @@ #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-backend.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "standard-headers/linux/vhost_types.h" #ifdef CONFIG_VHOST_KERNEL diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 4ca5b25..02a9b25 100644 --- a/hw/virtio/vhost-user.c +++ b/hw/virtio/vhost-user.c @@ -18,6 +18,7 @@ #include "chardev/char-fe.h" #include "sysemu/kvm.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/sockets.h" #include "sysemu/cryptodev.h" #include "migration/migration.h" diff --git a/hw/virtio/virtio-crypto.c b/hw/virtio/virtio-crypto.c index 45187d3..dbfaee6 100644 --- a/hw/virtio/virtio-crypto.c +++ b/hw/virtio/virtio-crypto.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/qdev.h" #include "qapi/error.h" diff --git a/hw/virtio/virtio-pmem.c b/hw/virtio/virtio-pmem.c index 17c196d..ca487f6 100644 --- a/hw/virtio/virtio-pmem.c +++ b/hw/virtio/virtio-pmem.c @@ -15,6 +15,7 @@ #include "qapi/error.h" #include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "hw/virtio/virtio-pmem.h" #include "hw/virtio/virtio-access.h" #include "standard-headers/linux/virtio_ids.h" diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 79c7a91..f4c8337 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -17,6 +17,7 @@ #include "trace.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/virtio/virtio.h" #include "migration/qemu-file-types.h" diff --git a/hw/xen/xen-legacy-backend.c b/hw/xen/xen-legacy-backend.c index 2831940..47a7c97 100644 --- a/hw/xen/xen-legacy-backend.c +++ b/hw/xen/xen-legacy-backend.c @@ -28,6 +28,7 @@ #include "hw/sysbus.h" #include "hw/boards.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qapi/error.h" #include "hw/xen/xen-legacy-backend.h" #include "hw/xen/xen_pvdev.h" diff --git a/hw/xen/xen_pvdev.c b/hw/xen/xen_pvdev.c index 6ef09cb..43a336a 100644 --- a/hw/xen/xen_pvdev.c +++ b/hw/xen/xen_pvdev.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "hw/qdev-core.h" #include "hw/xen/xen-legacy-backend.h" #include "hw/xen/xen_pvdev.h" |