]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/virtio/virtio-crypto.c
Include qemu/main-loop.h less
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:50 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commitdb725815985654007ade0fd53590d613fd657208
treee39bcf77a808fa0002cea415b2a487cf5c7eaf4b
parentdc5e9ac716c5c5312ab29fb9f311f8176064fe04
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>
129 files changed:
accel/kvm/kvm-all.c
block.c
block/block-backend.c
block/create.c
block/io.c
block/nbd.c
block/nfs.c
block/nvme.c
block/qcow2.c
block/qed.c
block/sheepdog.c
block/throttle-groups.c
blockdev.c
blockjob.c
chardev/baum.c
chardev/char-pipe.c
chardev/char-win-stdio.c
chardev/char-win.c
dump/dump.c
fsdev/qemu-fsdev-throttle.c
fsdev/qemu-fsdev-throttle.h
hw/9pfs/9p.c
hw/9pfs/codir.c
hw/9pfs/cofile.c
hw/9pfs/cofs.c
hw/9pfs/coth.c
hw/9pfs/coth.h
hw/9pfs/coxattr.c
hw/9pfs/xen-9p-backend.c
hw/arm/omap1.c
hw/block/dataplane/virtio-blk.c
hw/block/dataplane/xen-block.c
hw/block/fdc.c
hw/block/xen-block.c
hw/char/virtio-serial-bus.c
hw/core/machine-qmp-cmds.c
hw/display/qxl.c
hw/dma/etraxfs_dma.c
hw/i386/intel_iommu.c
hw/i386/xen/xen-hvm.c
hw/ide/ahci.c
hw/ide/core.c
hw/ide/qdev.c
hw/intc/s390_flic.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/misc/imx6_src.c
hw/net/fsl_etsec/etsec.c
hw/net/lan9118.c
hw/net/vhost_net.c
hw/net/virtio-net.c
hw/ppc/ppc.c
hw/ppc/ppc440_uc.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_rng.c
hw/scsi/mptsas.c
hw/scsi/scsi-disk.c
hw/scsi/vmw_pvscsi.c
hw/timer/allwinner-a10-pit.c
hw/timer/altera_timer.c
hw/timer/etraxfs_timer.c
hw/timer/exynos4210_rtc.c
hw/timer/milkymist-sysctl.c
hw/usb/dev-uas.c
hw/usb/hcd-ehci.c
hw/usb/host-libusb.c
hw/usb/xen-usb.c
hw/vfio/ccw.c
hw/vfio/common.c
hw/vfio/pci.c
hw/vfio/platform.c
hw/virtio/vhost-backend.c
hw/virtio/vhost-user.c
hw/virtio/virtio-crypto.c
hw/virtio/virtio-pmem.c
hw/virtio/virtio.c
hw/xen/xen-legacy-backend.c
hw/xen/xen_pvdev.c
include/block/block_int.h
include/chardev/char-fe.h
include/chardev/char-io.h
include/chardev/char.h
include/hw/scsi/scsi.h
include/sysemu/sysemu.h
memory.c
migration/block.c
migration/colo.c
migration/migration.c
migration/savevm.c
nbd/nbd-internal.h
net/can/can_socketcan.c
net/netmap.c
net/tap-win32.c
net/tap.c
qemu-img.c
qom/cpu.c
replay/replay-internal.c
target/arm/helper-a64.c
target/arm/helper.c
target/arm/kvm.c
target/arm/kvm64.c
target/arm/m_helper.c
target/arm/psci.c
target/i386/kvm.c
target/lm32/op_helper.c
target/mips/kvm.c
target/ppc/int_helper.c
target/ppc/kvm.c
target/ppc/machine.c
target/ppc/mem_helper.c
target/ppc/misc_helper.c
target/ppc/mmu_helper.c
target/ppc/translate.c
target/s390x/kvm.c
tcg/tcg-op-gvec.c
tests/test-bdrv-drain.c
tests/test-bdrv-graph-mod.c
tests/test-block-backend.c
tests/test-block-iothread.c
tests/test-image-locking.c
tests/test-replication.c
tests/test-throttle.c
ui/cocoa.m
ui/input-linux.c
ui/spice-core.c
ui/spice-display.c
ui/vnc-auth-sasl.h
ui/vnc.c
util/oslib-posix.c