qemu/include/sysemu
Markus Armbruster db72581598 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>
2019-08-16 13:31:52 +02:00
..
accel.h hmp: Print if memory section is registered with an accelerator 2019-07-19 19:04:49 +02:00
arch_init.h Include generated QAPI headers less 2019-08-16 13:31:51 +02:00
balloon.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
block-backend.h
blockdev.h
bt.h
cpus.h
cryptodev-vhost-user.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
cryptodev-vhost.h
cryptodev.h Include qemu/queue.h slightly less 2019-08-16 13:31:52 +02:00
device_tree.h
dma.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
dump-arch.h
dump.h qapi: Split dump.json off misc.json 2019-07-02 13:37:00 +02:00
hax.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
hostmem.h qapi: Split machine.json off misc.json 2019-07-02 13:37:00 +02:00
hvf.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
hw_accel.h
iothread.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
kvm.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
kvm_int.h Clean up inclusion of exec/cpu-common.h 2019-08-16 13:31:52 +02:00
memory_mapping.h Clean up inclusion of exec/cpu-common.h 2019-08-16 13:31:52 +02:00
numa.h hw/core: Collect QMP command handlers in hw/core/ 2019-07-02 13:37:00 +02:00
os-posix.h
os-win32.h
qtest.h
replay.h
reset.h
rng-random.h
rng.h Include qemu/queue.h slightly less 2019-08-16 13:31:52 +02:00
seccomp.h
sev.h
sysemu.h Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
tcg.h
tpm.h
tpm_backend.h
vhost-user-backend.h
watchdog.h
whpx.h
xen-mapcache.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00