]> git.proxmox.com Git - mirror_qemu.git/commit
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:59 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:37:36 +0000 (13:37 +0200)
commit54d31236b906c8f03eb011717de7bc47000720c3
treecc3e5f84c89e946a78df8deb8bc939ae25d2ef6b
parent2f780b6a91fe99652266004bf78191ceddfae09c
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h

sysemu/sysemu.h is a rather unfocused dumping ground for stuff related
to the system-emulator.  Evidence:

* It's included widely: in my "build everything" tree, changing
  sysemu/sysemu.h still triggers a recompile of some 1100 out of 6600
  objects (not counting tests and objects that don't depend on
  qemu/osdep.h, down from 5400 due to the previous two commits).

* It pulls in more than a dozen additional headers.

Split stuff related to run state management into its own header
sysemu/runstate.h.

Touching sysemu/sysemu.h now recompiles some 850 objects.  qemu/uuid.h
also drops from 1100 to 850, and qapi/qapi-types-run-state.h from 4400
to 4200.  Touching new sysemu/runstate.h recompiles some 500 objects.

Since I'm touching MAINTAINERS to add sysemu/runstate.h anyway, also
add qemu/main-loop.h.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190812052359.30071-30-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[Unbreak OS-X build]
143 files changed:
MAINTAINERS
accel/kvm/kvm-all.c
audio/audio.c
block/block-backend.c
blockdev.c
cpus.c
dump/dump.c
gdbstub.c
hw/acpi/core.c
hw/acpi/ich9.c
hw/acpi/piix4.c
hw/arm/highbank.c
hw/arm/integratorcp.c
hw/arm/msf2-soc.c
hw/arm/musicpal.c
hw/arm/nseries.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/sbsa-ref.c
hw/arm/spitz.c
hw/arm/stellaris.c
hw/arm/tosa.c
hw/arm/virt.c
hw/block/pflash_cfi01.c
hw/block/vhost-user-blk.c
hw/block/virtio-blk.c
hw/char/serial.c
hw/core/machine-qmp-cmds.c
hw/core/vm-change-state-handler.c
hw/display/qxl-render.c
hw/display/qxl.c
hw/dma/etraxfs_dma.c
hw/i386/kvm/clock.c
hw/i386/kvm/i8254.c
hw/i386/kvmvapic.c
hw/i386/pc.c
hw/i386/xen/xen-hvm.c
hw/i386/xen/xen-mapcache.c
hw/ide/core.c
hw/ide/qdev.c
hw/input/pckbd.c
hw/input/ps2.c
hw/intc/arm_gicv3_its_kvm.c
hw/intc/arm_gicv3_kvm.c
hw/intc/spapr_xive_kvm.c
hw/ipmi/ipmi.c
hw/isa/lpc_ich9.c
hw/mips/boston.c
hw/mips/mips_malta.c
hw/mips/mips_r4k.c
hw/misc/arm_sysctl.c
hw/misc/cbus.c
hw/misc/exynos4210_pmu.c
hw/misc/imx7_snvs.c
hw/misc/iotkit-sysctl.c
hw/misc/macio/cuda.c
hw/misc/macio/pmu.c
hw/misc/pvpanic.c
hw/misc/slavio_misc.c
hw/misc/zynq_slcr.c
hw/net/e1000e_core.c
hw/nvram/spapr_nvram.c
hw/pci-host/bonito.c
hw/pci-host/piix.c
hw/pci-host/sabre.c
hw/ppc/e500.c
hw/ppc/mpc8544_guts.c
hw/ppc/pnv.c
hw/ppc/ppc.c
hw/ppc/ppc_booke.c
hw/ppc/prep_systemio.c
hw/ppc/spapr.c
hw/ppc/spapr_events.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_rtas.c
hw/rdma/vmw/pvrdma_main.c
hw/s390x/ipl.c
hw/s390x/sclpquiesce.c
hw/s390x/tod-kvm.c
hw/scsi/scsi-bus.c
hw/sh4/r2d.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
hw/timer/etraxfs_timer.c
hw/timer/m48t59.c
hw/timer/mc146818rtc.c
hw/timer/milkymist-sysctl.c
hw/timer/pxa2xx_timer.c
hw/usb/hcd-ehci.c
hw/usb/host-libusb.c
hw/usb/redirect.c
hw/vfio/pci.c
hw/virtio/virtio-rng.c
hw/virtio/virtio.c
hw/watchdog/watchdog.c
hw/xen/xen-common.c
hw/xtensa/xtfpga.c
include/hw/ppc/spapr_drc.h
include/sysemu/runstate.h [new file with mode: 0644]
include/sysemu/sysemu.h
memory.c
migration/block-dirty-bitmap.c
migration/colo.c
migration/global_state.c
migration/migration.c
migration/savevm.c
monitor/hmp-cmds.c
monitor/hmp.c
monitor/misc.c
monitor/qmp-cmds.c
net/net.c
os-posix.c
os-win32.c
qapi/qmp-dispatch.c
qtest.c
replay/replay-internal.c
replay/replay.c
stubs/change-state-handler.c
stubs/runstate-check.c
stubs/vm-stop.c
target/alpha/sys_helper.c
target/arm/psci.c
target/hppa/op_helper.c
target/i386/excp_helper.c
target/i386/hax-all.c
target/i386/helper.c
target/i386/hvf/hvf.c
target/i386/kvm.c
target/i386/sev.c
target/i386/whpx-all.c
target/lm32/op_helper.c
target/mips/kvm.c
target/s390x/helper.c
target/s390x/kvm.c
target/s390x/sigp.c
target/sh4/helper.c
target/sparc/int32_helper.c
ui/cocoa.m
ui/gtk.c
ui/input.c
ui/sdl2.c
ui/spice-core.c
vl.c