]> git.proxmox.com Git - mirror_qemu.git/commit
Clean up inclusion of sysemu/sysemu.h
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:56 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:53 +0000 (13:31 +0200)
commitd5938f29fea29581725426f203a74da746ca03e7
tree0caa694b1084f73004a8eacced417b1ef3073fcc
parentb58c5c2dd29db0eae0bed800ac1a311e14007cec
Clean up inclusion of sysemu/sysemu.h

In my "build everything" tree, changing sysemu/sysemu.h triggers a
recompile of some 5400 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

Almost a third of its inclusions are actually superfluous.  Delete
them.  Downgrade two more to qapi/qapi-types-run-state.h, and move one
from char/serial.h to char/serial.c.

hw/semihosting/config.c, monitor/monitor.c, qdev-monitor.c, and
stubs/semihost.c define variables declared in sysemu/sysemu.h without
including it.  The compiler is cool with that, but include it anyway.

This doesn't reduce actual use much, as it's still included into
widely included headers.  The next commit will tackle that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-27-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
126 files changed:
accel/tcg/tcg-all.c
block/nfs.c
blockdev-nbd.c
dump/win_dump.c
hw/acpi/pcihp.c
hw/acpi/vmgenid.c
hw/alpha/pci.c
hw/alpha/typhoon.c
hw/arm/nrf51_soc.c
hw/arm/smmu-common.c
hw/arm/smmuv3.c
hw/arm/sysbus-fdt.c
hw/arm/z2.c
hw/char/exynos4210_uart.c
hw/char/imx_serial.c
hw/char/serial.c
hw/core/loader-fit.c
hw/core/platform-bus.c
hw/core/qdev.c
hw/display/ramfb-standalone.c
hw/display/ramfb.c
hw/dma/xlnx-zynq-devcfg.c
hw/hppa/dino.c
hw/hppa/pci.c
hw/i2c/smbus_ich9.c
hw/ide/cmd646.c
hw/ide/ioport.c
hw/ide/piix.c
hw/ide/via.c
hw/input/adb-kbd.c
hw/intc/allwinner-a10-pic.c
hw/intc/mips_gic.c
hw/intc/xics_pnv.c
hw/ipmi/ipmi_bmc_extern.c
hw/isa/vt82c686.c
hw/misc/armsse-cpuid.c
hw/misc/armsse-mhu.c
hw/misc/imx6_src.c
hw/misc/imx7_gpr.c
hw/misc/iotkit-sysinfo.c
hw/misc/mips_cmgcr.c
hw/misc/mos6522.c
hw/misc/sga.c
hw/misc/zynq-xadc.c
hw/net/fsl_etsec/etsec.c
hw/net/lan9118.c
hw/net/ne2000.c
hw/net/opencores_eth.c
hw/net/pcnet.c
hw/nios2/generic_nommu.c
hw/pci-host/pam.c
hw/ppc/pnv_bmc.c
hw/ppc/pnv_core.c
hw/ppc/pnv_lpc.c
hw/ppc/pnv_occ.c
hw/ppc/ppce500_spin.c
hw/ppc/spapr_rng.c
hw/ppc/spapr_vio.c
hw/s390x/event-facility.c
hw/s390x/sclpcpu.c
hw/s390x/virtio-ccw.c
hw/scsi/scsi-disk.c
hw/sd/milkymist-memcard.c
hw/semihosting/config.c
hw/ssi/aspeed_smc.c
hw/ssi/imx_spi.c
hw/ssi/xilinx_spi.c
hw/ssi/xilinx_spips.c
hw/timer/allwinner-a10-pit.c
hw/timer/altera_timer.c
hw/timer/exynos4210_rtc.c
hw/tricore/tricore_testboard.c
hw/usb/hcd-ehci.h
hw/vfio/ap.c
hw/vfio/platform.c
hw/xen/xen_pt_load_rom.c
hw/xtensa/xtensa_memory.c
include/hw/arm/allwinner-a10.h
include/hw/char/serial.h
include/hw/i386/pc.h
include/hw/riscv/riscv_htif.h
include/hw/timer/stm32f2xx_timer.h
include/hw/virtio/virtio-bus.h
include/hw/xen/xen-legacy-backend.h
include/migration/global_state.h
include/sysemu/kvm_int.h
include/sysemu/replay.h
include/ui/spice-display.h
monitor/monitor.c
net/tap-bsd.c
net/tap-linux.c
net/tap-solaris.c
net/tap-win32.c
qdev-monitor.c
qemu-img.c
qom/cpu.c
replay/replay-audio.c
replay/replay-char.c
replay/replay-net.c
replay/replay-snapshot.c
stubs/replay.c
stubs/semihost.c
target/arm/cpu64.c
target/arm/helper-a64.c
target/arm/helper.c
target/arm/kvm32.c
target/arm/kvm64.c
target/arm/m_helper.c
target/i386/hvf/x86_task.c
target/lm32/helper.c
target/m68k/m68k-semi.c
target/nios2/nios2-semi.c
target/ppc/kvm.c
target/sparc/helper.c
target/xtensa/translate.c
target/xtensa/xtensa-semi.c
tests/migration-test.c
ui/input-keymap.c
ui/input-legacy.c
ui/input-linux.c
ui/keymaps.c
ui/sdl2-2d.c
ui/sdl2-gl.c
ui/sdl2-input.c
ui/spice-display.c
util/qemu-timer.c