Remove more superfluous include statements
Subsystems (13)
cover Remove more superfluous include statements
Here are some more patches to remove superfluous include statements. Compile-tested here:
https://gitlab.com/thuth/qemu/-/pipelines/287607644
and here:
https://cirrus-ci.com/build/5073843392872448
Thomas Huth (4):
Do not include sysemu/sysemu.h if it's not really necessary Do not include hw/boards.h if it's not really necessary Do not include cpu.h if it's not really necessary
Do not include exec/address-spaces.h if it's not really necessary
accel/kvm/kvm-all.c | 2 -- accel/stubs/kvm-stub.c | 1 - accel/stubs/tcg-stub.c | 1 - accel/tcg/cpu-exec-common.c | 1 - accel/tcg/cpu-exec.c | 1 - accel/tcg/cputlb.c | 2 -- accel/tcg/plugin-gen.c | 1 - accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - accel/tcg/translate-all.c | 1 - accel/tcg/translator.c | 1 - accel/tcg/user-exec-stub.c | 1 - accel/tcg/user-exec.c | 1 - backends/hostmem-file.c | 1 - backends/hostmem-memfd.c | 1 - backends/hostmem.c | 1 - block.c | 1 - block/block-backend.c | 1 - block/nfs.c | 1 - bsd-user/main.c | 1 - chardev/char-mux.c | 1 - chardev/char.c | 1 - disas.c | 1 - dump/dump.c | 1 - dump/win_dump.c | 1 - gdbstub.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/generic_event_device.c | 1 - hw/acpi/ich9.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/acpi/pcihp.c | 1 - hw/acpi/piix4.c | 1 - hw/alpha/dp264.c | 1 - hw/alpha/typhoon.c | 2 -- hw/arm/allwinner-a10.c | 2 -- hw/arm/allwinner-h3.c | 2 -- hw/arm/armv7m.c | 2 -- hw/arm/aspeed.c | 4 ---- hw/arm/aspeed_ast2600.c | 2 -- hw/arm/aspeed_soc.c | 2 -- hw/arm/bcm2836.c | 1 - hw/arm/boot.c | 1 - hw/arm/cubieboard.c | 3 --- hw/arm/digic_boards.c | 3 --- hw/arm/exynos4_boards.c | 2 -- hw/arm/fsl-imx25.c | 2 -- hw/arm/fsl-imx31.c | 1 - hw/arm/highbank.c | 1 - hw/arm/imx25_pdk.c | 2 -- hw/arm/kzm.c | 1 - hw/arm/mcimx6ul-evk.c | 1 - hw/arm/mcimx7d-sabre.c | 1 - hw/arm/msf2-som.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/npcm7xx.c | 1 - hw/arm/npcm7xx_boards.c | 2 -- hw/arm/nrf51_soc.c | 2 -- hw/arm/nseries.c | 1 - hw/arm/omap1.c | 1 - hw/arm/omap2.c | 1 - hw/arm/orangepi.c | 2 -- hw/arm/palm.c | 1 - hw/arm/raspi.c | 2 -- hw/arm/realview.c | 1 - hw/arm/sabrelite.c | 1 - hw/arm/sbsa-ref.c | 1 - hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 1 - hw/arm/stellaris.c | 1 - hw/arm/strongarm.c | 1 - hw/arm/versatilepb.c | 1 - hw/arm/vexpress.c | 1 - hw/arm/virt.c | 3 --- hw/arm/xilinx_zynq.c | 1 - hw/arm/xlnx-versal-virt.c | 1 - hw/arm/xlnx-zcu102.c | 1 - hw/arm/xlnx-zynqmp.c | 2 -- hw/avr/arduino.c | 1 - hw/avr/atmega.c | 1 - hw/block/nvme-subsys.c | 1 - hw/char/mchp_pfsoc_mmuart.c | 1 - hw/char/spapr_vty.c | 1 - hw/core/loader.c | 1 - hw/core/machine-qmp-cmds.c | 2 -- hw/core/null-machine.c | 1 - hw/core/numa.c | 1 - hw/cris/axis_dev88.c | 1 - hw/display/next-fb.c | 1 - hw/dma/pl080.c | 1 - hw/hppa/dino.c | 2 -- hw/hppa/lasi.c | 2 -- hw/hppa/machine.c | 1 - hw/i386/acpi-build.c | 1 - hw/i386/acpi-microvm.c | 1 - hw/i386/intel_iommu.c | 2 -- hw/i386/kvm/apic.c | 1 - hw/i386/kvm/clock.c | 1 - hw/i386/kvmvapic.c | 1 - hw/i386/microvm.c | 1 - hw/i386/pc.c | 2 -- hw/i386/pc_piix.c | 3 --- hw/i386/pc_q35.c | 1 - hw/i386/pc_sysfw.c | 1 - hw/i386/vmport.c | 1 - hw/i386/x86-iommu.c | 1 - hw/i386/xen/xen-hvm.c | 1 - hw/i386/xen/xen_platform.c | 1 - hw/input/lasips2.c | 1 - hw/intc/apic.c | 1 - hw/intc/apic_common.c | 1 - hw/intc/arm_gic_kvm.c | 1 - hw/intc/armv7m_nvic.c | 1 - hw/intc/grlib_irqmp.c | 1 - hw/intc/openpic_kvm.c | 2 -- hw/intc/s390_flic.c | 1 - hw/intc/s390_flic_kvm.c | 1 - hw/intc/sifive_plic.c | 2 -- hw/intc/xics.c | 1 - hw/intc/xics_kvm.c | 1 - hw/intc/xics_spapr.c | 1 - hw/isa/isa-superio.c | 1 - hw/isa/lpc_ich9.c | 1 - hw/isa/piix3.c | 1 - hw/isa/vt82c686.c | 1 - hw/lm32/lm32_boards.c | 1 - hw/lm32/milkymist.c | 1 - hw/m68k/an5206.c | 1 - hw/m68k/mcf5208.c | 1 - hw/m68k/next-cube.c | 2 -- hw/m68k/next-kbd.c | 2 -- hw/m68k/q800.c | 1 - hw/m68k/virt.c | 1 - hw/mem/sparse-mem.c | 1 - hw/microblaze/boot.c | 1 - hw/mips/boston.c | 1 - hw/mips/fuloong2e.c | 1 - hw/mips/gt64xxx_pci.c | 1 - hw/mips/jazz.c | 1 - hw/mips/loongson3_virt.c | 3 --- hw/mips/malta.c | 3 --- hw/mips/mips_int.c | 1 - hw/mips/mipssim.c | 2 -- hw/misc/macio/macio.c | 1 - hw/misc/mips_itu.c | 1 - hw/moxie/moxiesim.c | 1 - hw/net/can/xlnx-zynqmp-can.c | 1 - hw/net/i82596.c | 1 - hw/net/lasi_i82596.c | 1 - hw/net/msf2-emac.c | 1 - hw/net/spapr_llan.c | 1 - hw/nios2/10m50_devboard.c | 1 - hw/nios2/boot.c | 2 -- hw/nios2/generic_nommu.c | 1 - hw/nvram/nrf51_nvm.c | 1 - hw/nvram/spapr_nvram.c | 1 - hw/openrisc/openrisc_sim.c | 1 - hw/pci-host/bonito.c | 1 - hw/pci-host/ppce500.c | 1 - hw/pci-host/prep.c | 1 - hw/pci-host/sabre.c | 1 - hw/pci-host/sh_pci.c | 1 - hw/pci/pci.c | 1 - hw/pci/pcie_host.c | 1 - hw/ppc/e500.c | 2 -- hw/ppc/mac_newworld.c | 2 -- hw/ppc/mac_oldworld.c | 2 -- hw/ppc/pnv.c | 2 -- hw/ppc/pnv_psi.c | 1 - hw/ppc/ppc.c | 1 - hw/ppc/ppc405_boards.c | 2 -- hw/ppc/ppc440_bamboo.c | 1 - hw/ppc/ppc440_pcix.c | 1 - hw/ppc/ppc440_uc.c | 2 -- hw/ppc/ppc4xx_devs.c | 1 - hw/ppc/ppc4xx_pci.c | 1 - hw/ppc/prep.c | 3 --- hw/ppc/rs6000_mc.c | 1 - hw/ppc/sam460ex.c | 1 - hw/ppc/spapr.c | 2 -- hw/ppc/spapr_drc.c | 1 - hw/ppc/spapr_events.c | 1 - hw/ppc/spapr_hcall.c | 1 - hw/ppc/spapr_iommu.c | 1 - hw/ppc/spapr_pci.c | 2 -- hw/ppc/spapr_pci_vfio.c | 1 - hw/ppc/spapr_rng.c | 1 - hw/ppc/spapr_rtas.c | 2 -- hw/ppc/spapr_rtas_ddw.c | 1 - hw/ppc/spapr_rtc.c | 1 - hw/ppc/spapr_tpm_proxy.c | 1 - hw/ppc/virtex_ml507.c | 1 - hw/remote/iohub.c | 1 - hw/remote/machine.c | 1 - hw/remote/memory.c | 1 - hw/remote/proxy-memory-listener.c | 2 -- hw/riscv/opentitan.c | 1 - hw/riscv/sifive_e.c | 1 - hw/rtc/m48t59.c | 1 - hw/rtc/mc146818rtc.c | 1 - hw/rx/rx-gdbsim.c | 2 -- hw/rx/rx62n.c | 1 - hw/s390x/3270-ccw.c | 1 - hw/s390x/css-bridge.c | 1 - hw/s390x/css.c | 1 - hw/s390x/ipl.c | 2 -- hw/s390x/pv.c | 1 - hw/s390x/s390-pci-bus.c | 1 - hw/s390x/s390-pci-inst.c | 1 - hw/s390x/s390-stattrib-kvm.c | 1 - hw/s390x/s390-stattrib.c | 1 - hw/s390x/s390-virtio-ccw.c | 4 ---- hw/s390x/sclp.c | 2 -- hw/s390x/sclpcpu.c | 1 - hw/scsi/spapr_vscsi.c | 1 - hw/sh4/r2d.c | 1 - hw/sh4/sh7750.c | 1 - hw/sh4/shix.c | 2 -- hw/sparc/leon3.c | 1 - hw/sparc64/niagara.c | 1 - hw/ssi/aspeed_smc.c | 1 - hw/ssi/sifive_spi.c | 1 - hw/tpm/tpm_crb.c | 1 - hw/tricore/tc27x_soc.c | 3 --- hw/tricore/triboard.c | 3 --- hw/tricore/tricore_testboard.c | 1 - hw/vfio/ap.c | 1 - hw/vfio/display.c | 1 - hw/vfio/migration.c | 1 - hw/vfio/pci.c | 1 - hw/vfio/spapr.c | 1 - hw/virtio/vhost.c | 1 - hw/virtio/virtio.c | 1 - hw/xen/xen_pt.c | 1 - hw/xtensa/sim.c | 2 -- hw/xtensa/virt.c | 3 --- hw/xtensa/xtensa_memory.c | 1 - hw/xtensa/xtfpga.c | 1 - linux-user/main.c | 1 - linux-user/semihost.c | 1 - migration/ram.c | 2 -- monitor/misc.c | 1 - monitor/monitor.c | 1 - net/net.c | 2 -- net/netmap.c | 1 - plugins/api.c | 2 -- plugins/core.c | 2 -- plugins/loader.c | 1 - semihosting/arm-compat-semi.c | 1 - semihosting/config.c | 1 - semihosting/console.c | 2 -- softmmu/arch_init.c | 2 -- softmmu/device_tree.c | 1 - softmmu/memory.c | 2 -- softmmu/memory_mapping.c | 1 - softmmu/physmem.c | 3 --- softmmu/qdev-monitor.c | 1 - softmmu/vl.c | 1 - stubs/semihost.c | 1 - target/arm/cpu.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_mmu.c | 1 - target/i386/sev.c | 1 - target/openrisc/sys_helper.c | 1 - target/rx/helper.c | 1 - target/s390x/cpu.c | 1 - target/s390x/diag.c | 1 - target/s390x/excp_helper.c | 1 - target/xtensa/op_helper.c | 1 - tcg/tcg-op-vec.c | 1 - tcg/tcg-op.c | 1 - tcg/tcg.c | 2 -- tests/qtest/fuzz/fuzz.c | 1 - tests/qtest/fuzz/generic_fuzz.c | 2 -- tests/qtest/fuzz/qos_fuzz.c | 2 -- util/oslib-win32.c | 1 - 276 files changed, 356 deletions(-)
Signature · 1 line
2.27.0
PATCH 1/4 Do not include sysemu/sysemu.h if it's not really necessary
Stop including sysemu/sysemu.h in files that don't need it.
--- accel/kvm/kvm-all.c | 1 - accel/tcg/user-exec-stub.c | 1 - backends/hostmem-file.c | 1 - backends/hostmem-memfd.c | 1 - backends/hostmem.c | 1 - block.c | 1 - block/block-backend.c | 1 - block/nfs.c | 1 - chardev/char-mux.c | 1 - chardev/char.c | 1 - gdbstub.c | 1 - hw/alpha/dp264.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/exynos4_boards.c | 1 - hw/arm/mcimx6ul-evk.c | 1 - hw/arm/mcimx7d-sabre.c | 1 - hw/arm/npcm7xx_boards.c | 1 - hw/arm/orangepi.c | 1 - hw/arm/raspi.c | 1 - hw/arm/sabrelite.c | 1 - hw/arm/virt.c | 1 - hw/block/nvme-subsys.c | 1 - hw/core/machine-qmp-cmds.c | 1 - hw/core/null-machine.c | 1 - hw/core/numa.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/pc_sysfw.c | 1 - hw/input/lasips2.c | 1 - hw/intc/sifive_plic.c | 1 - hw/isa/isa-superio.c | 1 - hw/isa/piix3.c | 1 - hw/m68k/next-kbd.c | 1 - hw/microblaze/boot.c | 1 - hw/mips/malta.c | 1 - hw/misc/macio/macio.c | 1 - hw/net/can/xlnx-zynqmp-can.c | 1 - hw/net/i82596.c | 1 - hw/net/lasi_i82596.c | 1 - hw/nios2/boot.c | 1 - hw/ppc/ppc405_boards.c | 1 - hw/ppc/prep.c | 1 - hw/rx/rx-gdbsim.c | 1 - hw/s390x/ipl.c | 1 - hw/s390x/sclp.c | 1 - hw/sh4/shix.c | 1 - hw/ssi/sifive_spi.c | 1 - hw/vfio/display.c | 1 - hw/vfio/pci.c | 1 - hw/xtensa/virt.c | 1 - migration/ram.c | 1 - monitor/monitor.c | 1 - net/net.c | 2 -- net/netmap.c | 1 - plugins/api.c | 1 - plugins/core.c | 1 - semihosting/config.c | 1 - semihosting/console.c | 1 - softmmu/arch_init.c | 1 - softmmu/device_tree.c | 1 - softmmu/physmem.c | 1 - softmmu/qdev-monitor.c | 1 - stubs/semihost.c | 1 - target/arm/cpu.c | 1 - target/openrisc/sys_helper.c | 1 - target/rx/helper.c | 1 - target/s390x/cpu.c | 1 - target/s390x/excp_helper.c | 1 - tcg/tcg.c | 1 - tests/qtest/fuzz/fuzz.c | 1 - tests/qtest/fuzz/qos_fuzz.c | 1 - util/oslib-win32.c | 1 - 73 files changed, 74 deletions(-)
accel/kvm/kvm-all.c +0 -1
@@ -30,7 +30,6 @@#include "sysemu/kvm_int.h" #include "sysemu/runstate.h" #include "sysemu/cpus.h" -#include "sysemu/sysemu.h" #include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h"
accel/tcg/user-exec-stub.c +0 -1
@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "hw/core/cpu.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" bool enable_cpu_pm = false;
backends/hostmem-file.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qom/object.h"
backends/hostmem-memfd.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qemu/memfd.h" #include "qemu/module.h"
backends/hostmem.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h"
block.c +0 -1
@@ -41,7 +41,6 @@#include "qapi/qobject-output-visitor.h" #include "qapi/qapi-visit-block-core.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "qemu/notify.h" #include "qemu/option.h" #include "qemu/coroutine.h"
block/block-backend.c +0 -1
@@ -18,7 +18,6 @@#include "hw/qdev-core.h" #include "sysemu/blockdev.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/replay.h" #include "qapi/error.h" #include "qapi/qapi-events-block.h"
block/nfs.c +0 -1
@@ -39,7 +39,6 @@#include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "sysemu/replay.h" #include "qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h"
chardev/char-mux.c +0 -1
@@ -28,7 +28,6 @@#include "qemu/option.h" #include "chardev/char.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "chardev-internal.h" /* MUX driver for serial I/O splitting */
chardev/char.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "monitor/monitor.h" -#include "sysemu/sysemu.h" #include "qemu/config-file.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h"
gdbstub.c +0 -1
@@ -37,7 +37,6 @@#include "monitor/monitor.h" #include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "exec/gdbstub.h" #include "hw/cpu/cluster.h" #include "hw/boards.h"
hw/alpha/dp264.c +0 -1
@@ -13,7 +13,6 @@#include "hw/loader.h" #include "alpha_sys.h" #include "qemu/error-report.h" -#include "sysemu/sysemu.h" #include "hw/rtc/mc146818rtc.h" #include "hw/ide/pci.h" #include "hw/timer/i8254.h"
hw/arm/aspeed.c +0 -1
@@ -23,7 +23,6 @@#include "hw/misc/led.h" #include "hw/qdev-properties.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/units.h"
hw/arm/cubieboard.c +0 -1
@@ -19,7 +19,6 @@#include "exec/address-spaces.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-a10.h"
hw/arm/digic_boards.c +0 -1
@@ -34,7 +34,6 @@#include "hw/arm/digic.h" #include "hw/block/flash.h" #include "hw/loader.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "qemu/units.h" #include "qemu/cutils.h"
hw/arm/exynos4_boards.c +0 -1
@@ -26,7 +26,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/arm/boot.h"
hw/arm/mcimx6ul-evk.c +0 -1
@@ -15,7 +15,6 @@#include "hw/arm/fsl-imx6ul.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/mcimx7d-sabre.c +0 -1
@@ -17,7 +17,6 @@#include "hw/arm/fsl-imx7.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/npcm7xx_boards.c +0 -1
@@ -27,7 +27,6 @@#include "qemu-common.h" #include "qemu/datadir.h" #include "qemu/units.h" -#include "sysemu/sysemu.h" #define NPCM750_EVB_POWER_ON_STRAPS 0x00001ff7#define QUANTA_GSJ_POWER_ON_STRAPS 0x00001fff
hw/arm/orangepi.c +0 -1
@@ -25,7 +25,6 @@#include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-h3.h" -#include "sysemu/sysemu.h" static struct arm_boot_info orangepi_binfo = { .nb_cpus =AW_H3_NUM_CPUS ,
hw/arm/raspi.c +0 -1
@@ -23,7 +23,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "hw/arm/boot.h" -#include "sysemu/sysemu.h" #include "qom/object.h" #define SMPBOOT_ADDR 0x300/* this should leave enough space for ATAGS */
hw/arm/sabrelite.c +0 -1
@@ -15,7 +15,6 @@#include "hw/arm/fsl-imx6.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/virt.c +0 -1
@@ -48,7 +48,6 @@#include "sysemu/device_tree.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/tpm.h" #include "sysemu/kvm.h" #include "hw/loader.h"
hw/block/nvme-subsys.c +0 -1
@@ -17,7 +17,6 @@#include "hw/block/block.h" #include "block/aio.h" #include "block/accounting.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "nvme.h" #include "nvme-subsys.h"
hw/core/machine-qmp-cmds.c +0 -1
@@ -22,7 +22,6 @@#include "sysemu/hw_accel.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" static void cpustate_to_cpuinfo_s390 (CpuInfoS390 *info,const CPUState *cpu) {
hw/core/null-machine.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qemu/error-report.h" #include "hw/boards.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/core/cpu.h"
hw/core/numa.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/units.h" #include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "sysemu/sysemu.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" #include "qemu/bitmap.h"
hw/i386/pc_piix.c +0 -1
@@ -42,7 +42,6 @@#include "hw/irq.h" #include "sysemu/kvm.h" #include "hw/kvm/clock.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "sysemu/arch_init.h" #include "hw/i2c/smbus_eeprom.h"
hw/i386/pc_sysfw.c +0 -1
@@ -35,7 +35,6 @@#include "hw/i386/pc.h" #include "hw/loader.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "hw/block/flash.h" #include "sysemu/kvm.h" #include "sysemu/sev.h"
hw/input/lasips2.c +0 -1
@@ -27,7 +27,6 @@#include "hw/input/ps2.h" #include "hw/input/lasips2.h" #include "exec/hwaddr.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "exec/address-spaces.h" #include "migration/vmstate.h"
hw/intc/sifive_plic.c +0 -1
@@ -29,7 +29,6 @@#include "hw/qdev-properties.h" #include "hw/intc/sifive_plic.h" #include "target/riscv/cpu.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #define RISCV_DEBUG_PLIC 0
hw/isa/isa-superio.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "chardev/char.h" #include "hw/block/fdc.h"
hw/isa/piix3.c +0 -1
@@ -29,7 +29,6 @@#include "hw/isa/isa.h" #include "hw/xen/xen.h" #include "sysemu/xen.h" -#include "sysemu/sysemu.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "migration/vmstate.h"
hw/m68k/next-kbd.c +0 -1
@@ -33,7 +33,6 @@#include "hw/sysbus.h" #include "hw/m68k/next-cube.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "qom/object.h"
hw/microblaze/boot.c +0 -1
@@ -33,7 +33,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/mips/malta.c +0 -1
@@ -39,7 +39,6 @@#include "hw/mips/mips.h" #include "hw/mips/cpudevs.h" #include "hw/pci/pci.h" -#include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "qemu/log.h" #include "hw/mips/bios.h"
hw/misc/macio/macio.c +0 -1
@@ -35,7 +35,6 @@#include "hw/char/escc.h" #include "hw/misc/macio/macio.h" #include "hw/intc/heathrow_pic.h" -#include "sysemu/sysemu.h" #include "trace.h" /* Note: this code is strongly inspirated from the corresponding code
hw/net/can/xlnx-zynqmp-can.c +0 -1
@@ -37,7 +37,6 @@#include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "hw/qdev-properties.h" #include "net/can_emu.h"
hw/net/i82596.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/timer.h" #include "net/net.h" #include "net/eth.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h"
hw/net/lasi_i82596.c +0 -1
@@ -18,7 +18,6 @@#include "hw/net/lasi_82596.h" #include "hw/net/i82596.h" #include "trace.h" -#include "sysemu/sysemu.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h"
hw/nios2/boot.c +0 -1
@@ -38,7 +38,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/ppc/ppc405_boards.c +0 -1
@@ -34,7 +34,6 @@#include "ppc405.h" #include "hw/rtc/m48t59.h" #include "hw/block/flash.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/block-backend.h"
hw/ppc/prep.c +0 -1
@@ -29,7 +29,6 @@#include "hw/char/serial.h" #include "hw/block/fdc.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h"
hw/rx/rx-gdbsim.c +0 -1
@@ -24,7 +24,6 @@#include "cpu.h" #include "hw/loader.h" #include "hw/rx/rx62n.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/device_tree.h" #include "hw/boards.h"
hw/s390x/ipl.c +0 -1
@@ -18,7 +18,6 @@#include "qapi/error.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "cpu.h" #include "elf.h"
hw/s390x/sclp.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/s390x/sclp.h" #include "hw/s390x/event-facility.h"
hw/sh4/shix.c +0 -1
@@ -31,7 +31,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/sh4/sh.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "hw/boards.h" #include "hw/loader.h"
hw/ssi/sifive_spi.c +0 -1
@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "hw/ssi/ssi.h" -#include "sysemu/sysemu.h" #include "qemu/fifo8.h" #include "qemu/log.h" #include "qemu/module.h"
hw/vfio/display.c +0 -1
@@ -14,7 +14,6 @@#include <linux/vfio.h> #include <sys/ioctl.h> -#include "sysemu/sysemu.h" #include "hw/display/edid.h" #include "ui/console.h" #include "qapi/error.h"
hw/vfio/pci.c +0 -1
@@ -37,7 +37,6 @@#include "qemu/units.h" #include "sysemu/kvm.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "pci.h" #include "trace.h" #include "qapi/error.h"
hw/xtensa/virt.c +0 -1
@@ -29,7 +29,6 @@#include "qapi/error.h" #include "cpu.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "hw/pci-host/gpex.h"
migration/ram.c +0 -1
@@ -51,7 +51,6 @@#include "qemu/rcu_queue.h" #include "migration/colo.h" #include "block.h" -#include "sysemu/sysemu.h" #include "sysemu/cpu-throttle.h" #include "savevm.h" #include "qemu/iov.h"
monitor/monitor.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h" -#include "sysemu/sysemu.h" #include "trace.h" /*
net/net.c +0 -2
@@ -51,9 +51,7 @@#include "qemu/option.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" -#include "sysemu/sysemu.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "net/filter.h" #include "qapi/string-output-visitor.h"
net/netmap.c +0 -1
@@ -33,7 +33,6 @@#include "net/net.h" #include "net/tap.h" #include "clients.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qemu/iov.h"
plugins/api.c +0 -1
@@ -37,7 +37,6 @@#include "qemu/osdep.h" #include "qemu/plugin.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h"
plugins/core.c +0 -1
@@ -26,7 +26,6 @@#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" -#include "sysemu/sysemu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "trace/mem-internal.h" /* mem_info macros */
semihosting/config.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/error-report.h" #include "semihosting/semihost.h" #include "chardev/char.h" -#include "sysemu/sysemu.h" QemuOptsList qemu_semihosting_config_opts = { .name ="semihosting-config" ,
semihosting/console.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/log.h" #include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "qapi/error.h" #include "qemu/fifo8.h"
softmmu/arch_init.c +0 -1
@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "hw/pci/pci.h" #include "hw/audio/soundhw.h"
softmmu/device_tree.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/bswap.h" #include "qemu/cutils.h" #include "sysemu/device_tree.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "hw/boards.h" #include "qemu/config-file.h"
softmmu/physmem.c +0 -1
@@ -36,7 +36,6 @@#include "hw/boards.h" #include "hw/xen/xen.h" #include "sysemu/kvm.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "sysemu/qtest.h" #include "qemu/timer.h"
softmmu/qdev-monitor.c +0 -1
@@ -35,7 +35,6 @@#include "qemu/qemu-print.h" #include "qemu/option_int.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "migration/misc.h" #include "migration/migration.h" #include "qemu/cutils.h"
stubs/semihost.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/option.h" #include "qemu/error-report.h" #include "semihosting/semihost.h" -#include "sysemu/sysemu.h" /* Empty config */ QemuOptsList qemu_semihosting_config_opts = {
target/arm/cpu.c +0 -1
@@ -36,7 +36,6 @@#include "hw/loader.h" #include "hw/boards.h" #endif -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "sysemu/hw_accel.h" #include "kvm_arm.h"
target/openrisc/sys_helper.c +0 -1
@@ -23,7 +23,6 @@#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exception.h" -#include "sysemu/sysemu.h" #ifndef CONFIG_USER_ONLY #include "hw/boards.h" #endif
target/rx/helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/log.h" #include "exec/cpu_ldst.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" void rx_cpu_unpack_psw (CPURXState *env,uint32_t psw,int rte)
target/s390x/cpu.c +0 -1
@@ -40,7 +40,6 @@#include "hw/s390x/pv.h" #include "hw/boards.h" #include "sysemu/arch_init.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #endif #include "fpu/softfloat-helpers.h"
target/s390x/excp_helper.c +0 -1
@@ -29,7 +29,6 @@#include "exec/address-spaces.h" #include "tcg_s390x.h" #ifndef CONFIG_USER_ONLY -#include "sysemu/sysemu.h" #include "hw/s390x/s390_flic.h" #include "hw/boards.h" #endif
tcg/tcg.c +0 -1
@@ -64,7 +64,6 @@#include "elf.h" #include "exec/log.h" -#include "sysemu/sysemu.h" /* Forward declarations for functions declared in tcg-target.c.inc and used here. */
tests/qtest/fuzz/fuzz.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/datadir.h" #include "sysemu/qtest.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "qemu/rcu.h" #include "tests/qtest/libqos/libqtest.h"
tests/qtest/fuzz/qos_fuzz.c +0 -1
@@ -22,7 +22,6 @@#include "qemu-common.h" #include "exec/memory.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "tests/qtest/libqos/libqtest.h"
util/oslib-win32.c +0 -1
@@ -34,7 +34,6 @@#include <windows.h> #include "qemu-common.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "trace.h" #include "qemu/sockets.h"
Signature · 1 line
2.27.0
Laurent Vivier
AppliedRe: [PATCH 1/4] Do not include sysemu/sysemu.h if it's not really necessary
Le 16/04/2021 à 19:13, Thomas Huth a écrit :
Quoted 951 lines
Stop including
sysemu/sysemu.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/kvm/kvm-all.c | 1 - accel/tcg/user-exec-stub.c | 1 - backends/hostmem-file.c | 1 - backends/hostmem-memfd.c | 1 - backends/hostmem.c | 1 - block.c | 1 - block/block-backend.c | 1 - block/nfs.c | 1 - chardev/char-mux.c | 1 - chardev/char.c | 1 - gdbstub.c | 1 - hw/alpha/dp264.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/exynos4_boards.c | 1 - hw/arm/mcimx6ul-evk.c | 1 - hw/arm/mcimx7d-sabre.c | 1 - hw/arm/npcm7xx_boards.c | 1 - hw/arm/orangepi.c | 1 - hw/arm/raspi.c | 1 - hw/arm/sabrelite.c | 1 - hw/arm/virt.c | 1 - hw/block/nvme-subsys.c | 1 - hw/core/machine-qmp-cmds.c | 1 - hw/core/null-machine.c | 1 - hw/core/numa.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/pc_sysfw.c | 1 - hw/input/lasips2.c | 1 - hw/intc/sifive_plic.c | 1 - hw/isa/isa-superio.c | 1 - hw/isa/piix3.c | 1 - hw/m68k/next-kbd.c | 1 - hw/microblaze/boot.c | 1 - hw/mips/malta.c | 1 - hw/misc/macio/macio.c | 1 - hw/net/can/xlnx-zynqmp-can.c | 1 - hw/net/i82596.c | 1 - hw/net/lasi_i82596.c | 1 - hw/nios2/boot.c | 1 - hw/ppc/ppc405_boards.c | 1 - hw/ppc/prep.c | 1 - hw/rx/rx-gdbsim.c | 1 - hw/s390x/ipl.c | 1 - hw/s390x/sclp.c | 1 - hw/sh4/shix.c | 1 - hw/ssi/sifive_spi.c | 1 - hw/vfio/display.c | 1 - hw/vfio/pci.c | 1 - hw/xtensa/virt.c | 1 - migration/ram.c | 1 - monitor/monitor.c | 1 - net/net.c | 2 -- net/netmap.c | 1 - plugins/api.c | 1 - plugins/core.c | 1 - semihosting/config.c | 1 - semihosting/console.c | 1 - softmmu/arch_init.c | 1 - softmmu/device_tree.c | 1 - softmmu/physmem.c | 1 - softmmu/qdev-monitor.c | 1 - stubs/semihost.c | 1 - target/arm/cpu.c | 1 - target/openrisc/sys_helper.c | 1 - target/rx/helper.c | 1 - target/s390x/cpu.c | 1 - target/s390x/excp_helper.c | 1 - tcg/tcg.c | 1 - tests/qtest/fuzz/fuzz.c | 1 - tests/qtest/fuzz/qos_fuzz.c | 1 - util/oslib-win32.c | 1 - 73 files changed, 74 deletions(-)accel/kvm/kvm-all.c +0
-1@@ -30,7 +30,6 @@#include "sysemu/kvm_int.h" #include "sysemu/runstate.h" #include "sysemu/cpus.h" -#include "sysemu/sysemu.h" #include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h" accel/tcg/user-exec-stub.c +0
-1@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "hw/core/cpu.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" bool enable_cpu_pm = false;backends/hostmem-file.c +0
-1@@ -15,7 +15,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qom/object.h" backends/hostmem-memfd.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qemu/memfd.h" #include "qemu/module.h" backends/hostmem.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h" block.c +0
-1@@ -41,7 +41,6 @@#include "qapi/qobject-output-visitor.h" #include "qapi/qapi-visit-block-core.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "qemu/notify.h" #include "qemu/option.h" #include "qemu/coroutine.h" block/block-backend.c +0
-1@@ -18,7 +18,6 @@#include "hw/qdev-core.h" #include "sysemu/blockdev.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/replay.h" #include "qapi/error.h" #include "qapi/qapi-events-block.h" block/nfs.c +0
-1@@ -39,7 +39,6 @@#include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "sysemu/replay.h" #include "qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" chardev/char-mux.c +0
-1@@ -28,7 +28,6 @@#include "qemu/option.h" #include "chardev/char.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "chardev-internal.h" /* MUX driver for serial I/O splitting */ chardev/char.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "monitor/monitor.h" -#include "sysemu/sysemu.h" #include "qemu/config-file.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" gdbstub.c +0
-1@@ -37,7 +37,6 @@#include "monitor/monitor.h" #include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "exec/gdbstub.h" #include "hw/cpu/cluster.h" #include "hw/boards.h" hw/alpha/dp264.c +0
-1@@ -13,7 +13,6 @@#include "hw/loader.h" #include "alpha_sys.h" #include "qemu/error-report.h" -#include "sysemu/sysemu.h" #include "hw/rtc/mc146818rtc.h" #include "hw/ide/pci.h" #include "hw/timer/i8254.h" hw/arm/aspeed.c +0
-1@@ -23,7 +23,6 @@#include "hw/misc/led.h" #include "hw/qdev-properties.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/units.h" hw/arm/cubieboard.c +0
-1@@ -19,7 +19,6 @@#include "exec/address-spaces.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-a10.h" hw/arm/digic_boards.c +0
-1@@ -34,7 +34,6 @@#include "hw/arm/digic.h" #include "hw/block/flash.h" #include "hw/loader.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "qemu/units.h" #include "qemu/cutils.h" hw/arm/exynos4_boards.c +0
-1@@ -26,7 +26,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/arm/boot.h" hw/arm/mcimx6ul-evk.c +0
-1@@ -15,7 +15,6 @@#include "hw/arm/fsl-imx6ul.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" hw/arm/mcimx7d-sabre.c +0
-1@@ -17,7 +17,6 @@#include "hw/arm/fsl-imx7.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" hw/arm/npcm7xx_boards.c +0
-1@@ -27,7 +27,6 @@#include "qemu-common.h" #include "qemu/datadir.h" #include "qemu/units.h" -#include "sysemu/sysemu.h" #define NPCM750_EVB_POWER_ON_STRAPS 0x00001ff7#define QUANTA_GSJ_POWER_ON_STRAPS 0x00001fffhw/arm/orangepi.c +0
-1@@ -25,7 +25,6 @@#include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-h3.h" -#include "sysemu/sysemu.h" static struct arm_boot_info orangepi_binfo = { .nb_cpus =AW_H3_NUM_CPUS ,hw/arm/raspi.c +0
-1@@ -23,7 +23,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "hw/arm/boot.h" -#include "sysemu/sysemu.h" #include "qom/object.h" #define SMPBOOT_ADDR 0x300/* this should leave enough space for ATAGS */ hw/arm/sabrelite.c +0
-1@@ -15,7 +15,6 @@#include "hw/arm/fsl-imx6.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" hw/arm/virt.c +0
-1@@ -48,7 +48,6 @@#include "sysemu/device_tree.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/tpm.h" #include "sysemu/kvm.h" #include "hw/loader.h" hw/block/nvme-subsys.c +0
-1@@ -17,7 +17,6 @@#include "hw/block/block.h" #include "block/aio.h" #include "block/accounting.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "nvme.h" #include "nvme-subsys.h" hw/core/machine-qmp-cmds.c +0
-1@@ -22,7 +22,6 @@#include "sysemu/hw_accel.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" static void cpustate_to_cpuinfo_s390 (CpuInfoS390 *info,const CPUState *cpu) {hw/core/null-machine.c +0
-1@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qemu/error-report.h" #include "hw/boards.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/core/cpu.h" hw/core/numa.c +0
-1@@ -26,7 +26,6 @@#include "qemu/units.h" #include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "sysemu/sysemu.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" #include "qemu/bitmap.h" hw/i386/pc_piix.c +0
-1@@ -42,7 +42,6 @@#include "hw/irq.h" #include "sysemu/kvm.h" #include "hw/kvm/clock.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "sysemu/arch_init.h" #include "hw/i2c/smbus_eeprom.h" hw/i386/pc_sysfw.c +0
-1@@ -35,7 +35,6 @@#include "hw/i386/pc.h" #include "hw/loader.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "hw/block/flash.h" #include "sysemu/kvm.h" #include "sysemu/sev.h" hw/input/lasips2.c +0
-1@@ -27,7 +27,6 @@#include "hw/input/ps2.h" #include "hw/input/lasips2.h" #include "exec/hwaddr.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "exec/address-spaces.h" #include "migration/vmstate.h" hw/intc/sifive_plic.c +0
-1@@ -29,7 +29,6 @@#include "hw/qdev-properties.h" #include "hw/intc/sifive_plic.h" #include "target/riscv/cpu.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #define RISCV_DEBUG_PLIC 0hw/isa/isa-superio.c +0
-1@@ -14,7 +14,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "chardev/char.h" #include "hw/block/fdc.h" hw/isa/piix3.c +0
-1@@ -29,7 +29,6 @@#include "hw/isa/isa.h" #include "hw/xen/xen.h" #include "sysemu/xen.h" -#include "sysemu/sysemu.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "migration/vmstate.h" hw/m68k/next-kbd.c +0
-1@@ -33,7 +33,6 @@#include "hw/sysbus.h" #include "hw/m68k/next-cube.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "qom/object.h" hw/microblaze/boot.c +0
-1@@ -33,7 +33,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h" hw/mips/malta.c +0
-1@@ -39,7 +39,6 @@#include "hw/mips/mips.h" #include "hw/mips/cpudevs.h" #include "hw/pci/pci.h" -#include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "qemu/log.h" #include "hw/mips/bios.h" hw/misc/macio/macio.c +0
-1@@ -35,7 +35,6 @@#include "hw/char/escc.h" #include "hw/misc/macio/macio.h" #include "hw/intc/heathrow_pic.h" -#include "sysemu/sysemu.h" #include "trace.h" /* Note: this code is strongly inspirated from the corresponding code hw/net/can/xlnx-zynqmp-can.c +0
-1@@ -37,7 +37,6 @@#include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "hw/qdev-properties.h" #include "net/can_emu.h" hw/net/i82596.c +0
-1@@ -12,7 +12,6 @@#include "qemu/timer.h" #include "net/net.h" #include "net/eth.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" hw/net/lasi_i82596.c +0
-1@@ -18,7 +18,6 @@#include "hw/net/lasi_82596.h" #include "hw/net/i82596.h" #include "trace.h" -#include "sysemu/sysemu.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" hw/nios2/boot.c +0
-1@@ -38,7 +38,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h" hw/ppc/ppc405_boards.c +0
-1@@ -34,7 +34,6 @@#include "ppc405.h" #include "hw/rtc/m48t59.h" #include "hw/block/flash.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/block-backend.h" hw/ppc/prep.c +0
-1@@ -29,7 +29,6 @@#include "hw/char/serial.h" #include "hw/block/fdc.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" hw/rx/rx-gdbsim.c +0
-1@@ -24,7 +24,6 @@#include "cpu.h" #include "hw/loader.h" #include "hw/rx/rx62n.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/device_tree.h" #include "hw/boards.h" hw/s390x/ipl.c +0
-1@@ -18,7 +18,6 @@#include "qapi/error.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "cpu.h" #include "elf.h" hw/s390x/sclp.c +0
-1@@ -16,7 +16,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/s390x/sclp.h" #include "hw/s390x/event-facility.h" hw/sh4/shix.c +0
-1@@ -31,7 +31,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/sh4/sh.h" -#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "hw/boards.h" #include "hw/loader.h" hw/ssi/sifive_spi.c +0
-1@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "hw/ssi/ssi.h" -#include "sysemu/sysemu.h" #include "qemu/fifo8.h" #include "qemu/log.h" #include "qemu/module.h" hw/vfio/display.c +0
-1@@ -14,7 +14,6 @@#include <linux/vfio.h> #include <sys/ioctl.h> -#include "sysemu/sysemu.h" #include "hw/display/edid.h" #include "ui/console.h" #include "qapi/error.h" hw/vfio/pci.c +0
-1@@ -37,7 +37,6 @@#include "qemu/units.h" #include "sysemu/kvm.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "pci.h" #include "trace.h" #include "qapi/error.h" hw/xtensa/virt.c +0
-1@@ -29,7 +29,6 @@#include "qapi/error.h" #include "cpu.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "hw/pci-host/gpex.h" migration/ram.c +0
-1@@ -51,7 +51,6 @@#include "qemu/rcu_queue.h" #include "migration/colo.h" #include "block.h" -#include "sysemu/sysemu.h" #include "sysemu/cpu-throttle.h" #include "savevm.h" #include "qemu/iov.h" monitor/monitor.c +0
-1@@ -32,7 +32,6 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h" -#include "sysemu/sysemu.h" #include "trace.h" /* net/net.c +0
-2@@ -51,9 +51,7 @@#include "qemu/option.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" -#include "sysemu/sysemu.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "net/filter.h" #include "qapi/string-output-visitor.h" net/netmap.c +0
-1@@ -33,7 +33,6 @@#include "net/net.h" #include "net/tap.h" #include "clients.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qemu/iov.h" plugins/api.c +0
-1@@ -37,7 +37,6 @@#include "qemu/osdep.h" #include "qemu/plugin.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h" plugins/core.c +0
-1@@ -26,7 +26,6 @@#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" -#include "sysemu/sysemu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "trace/mem-internal.h" /* mem_info macros */ semihosting/config.c +0
-1@@ -24,7 +24,6 @@#include "qemu/error-report.h" #include "semihosting/semihost.h" #include "chardev/char.h" -#include "sysemu/sysemu.h" QemuOptsList qemu_semihosting_config_opts = { .name ="semihosting-config" ,semihosting/console.c +0
-1@@ -24,7 +24,6 @@#include "qemu/log.h" #include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "qapi/error.h" #include "qemu/fifo8.h" softmmu/arch_init.c +0
-1@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "sysemu/arch_init.h" #include "hw/pci/pci.h" #include "hw/audio/soundhw.h" softmmu/device_tree.c +0
-1@@ -23,7 +23,6 @@#include "qemu/bswap.h" #include "qemu/cutils.h" #include "sysemu/device_tree.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "hw/boards.h" #include "qemu/config-file.h" softmmu/physmem.c +0
-1@@ -36,7 +36,6 @@#include "hw/boards.h" #include "hw/xen/xen.h" #include "sysemu/kvm.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "sysemu/qtest.h" #include "qemu/timer.h" softmmu/qdev-monitor.c +0
-1@@ -35,7 +35,6 @@#include "qemu/qemu-print.h" #include "qemu/option_int.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "migration/misc.h" #include "migration/migration.h" #include "qemu/cutils.h" stubs/semihost.c +0
-1@@ -12,7 +12,6 @@#include "qemu/option.h" #include "qemu/error-report.h" #include "semihosting/semihost.h" -#include "sysemu/sysemu.h" /* Empty config */ QemuOptsList qemu_semihosting_config_opts = {target/arm/cpu.c +0
-1@@ -36,7 +36,6 @@#include "hw/loader.h" #include "hw/boards.h" #endif -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "sysemu/hw_accel.h" #include "kvm_arm.h" target/openrisc/sys_helper.c +0
-1@@ -23,7 +23,6 @@#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exception.h" -#include "sysemu/sysemu.h" #ifndef CONFIG_USER_ONLY #include "hw/boards.h" #endif target/rx/helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/log.h" #include "exec/cpu_ldst.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" void rx_cpu_unpack_psw (CPURXState *env,uint32_t psw,int rte)target/s390x/cpu.c +0
-1@@ -40,7 +40,6 @@#include "hw/s390x/pv.h" #include "hw/boards.h" #include "sysemu/arch_init.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #endif #include "fpu/softfloat-helpers.h" target/s390x/excp_helper.c +0
-1@@ -29,7 +29,6 @@#include "exec/address-spaces.h" #include "tcg_s390x.h" #ifndef CONFIG_USER_ONLY -#include "sysemu/sysemu.h" #include "hw/s390x/s390_flic.h" #include "hw/boards.h" #endif tcg/tcg.c +0
-1@@ -64,7 +64,6 @@#include "elf.h" #include "exec/log.h" -#include "sysemu/sysemu.h" /* Forward declarations for functions declared in tcg-target.c.inc and used here. */ tests/qtest/fuzz/fuzz.c +0
-1@@ -18,7 +18,6 @@#include "qemu/datadir.h" #include "sysemu/qtest.h" #include "sysemu/runstate.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "qemu/rcu.h" #include "tests/qtest/libqos/libqtest.h" tests/qtest/fuzz/qos_fuzz.c +0
-1@@ -22,7 +22,6 @@#include "qemu-common.h" #include "exec/memory.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "tests/qtest/libqos/libqtest.h" util/oslib-win32.c +0
-0
util/oslib-win32.c line 39
Quoted 7 lines
util/oslib-win32.c +0
-1@@ -34,7 +34,6 @@#include <windows.h> #include "qemu-common.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "qemu/main-loop.h" #include "trace.h" #include "qemu/sockets.h"
Applied to my trivial-patches branch.
Thanks,
Laurent
PATCH 2/4 Do not include hw/boards.h if it's not really necessary
In reply to Thomas HuthStop including hw/boards.h in files that don't need it.
--- accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/omap1.c | 1 - hw/arm/omap2.c | 1 - hw/arm/strongarm.c | 1 - hw/arm/virt.c | 1 - hw/avr/arduino.c | 1 - hw/avr/atmega.c | 1 - hw/display/next-fb.c | 1 - hw/hppa/machine.c | 1 - hw/i386/acpi-build.c | 1 - hw/i386/acpi-microvm.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 - hw/i386/x86-iommu.c | 1 - hw/intc/sifive_plic.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/ppc/e500.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/ppc4xx_devs.c | 1 - hw/ppc/rs6000_mc.c | 1 - hw/ppc/spapr.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/remote/iohub.c | 1 - hw/s390x/s390-virtio-ccw.c | 2 -- hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - softmmu/vl.c | 1 - 35 files changed, 36 deletions(-)
accel/tcg/tcg-accel-ops-icount.c +0 -1
@@ -30,7 +30,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-icount.h"
accel/tcg/tcg-accel-ops-rr.c +0 -1
@@ -30,7 +30,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-rr.h"
accel/tcg/tcg-accel-ops.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-mttcg.h"
hw/acpi/cpu.c +0 -1
@@ -1,5 +1,4 @@#include "qemu/osdep.h" -#include "hw/boards.h" #include "migration/vmstate.h" #include "hw/acpi/cpu.h" #include "qapi/error.h"
hw/acpi/memory_hotplug.c +0 -1
@@ -2,7 +2,6 @@#include "hw/acpi/memory_hotplug.h" #include "hw/acpi/pc-hotplug.h" #include "hw/mem/pc-dimm.h" -#include "hw/boards.h" #include "hw/qdev-core.h" #include "migration/vmstate.h" #include "trace.h"
hw/alpha/typhoon.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" -#include "hw/boards.h" #include "hw/irq.h" #include "alpha_sys.h" #include "exec/address-spaces.h"
hw/arm/aspeed.c +0 -1
@@ -16,7 +16,6 @@#include "hw/arm/boot.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" -#include "hw/boards.h" #include "hw/i2c/smbus_eeprom.h" #include "hw/misc/pca9552.h" #include "hw/misc/tmp105.h"
hw/arm/omap1.c +0 -1
@@ -24,7 +24,6 @@#include "qemu-common.h" #include "cpu.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "hw/hw.h" #include "hw/irq.h" #include "hw/qdev-properties.h"
hw/arm/omap2.c +0 -1
@@ -27,7 +27,6 @@#include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/arm/boot.h"
hw/arm/strongarm.c +0 -1
@@ -30,7 +30,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "cpu.h" -#include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h"
hw/arm/virt.c +0 -1
@@ -36,7 +36,6 @@#include "monitor/qdev.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/arm/boot.h" #include "hw/arm/primecell.h" #include "hw/arm/virt.h"
hw/avr/arduino.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/boards.h" #include "atmega.h" #include "boot.h" #include "qom/object.h"
hw/avr/atmega.c +0 -1
@@ -18,7 +18,6 @@#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qom/object.h" -#include "hw/boards.h" /* FIXME memory_region_allocate_system_memory for sram */ #include "hw/misc/unimp.h" #include "atmega.h"
hw/display/next-fb.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "ui/console.h" -#include "hw/boards.h" #include "hw/loader.h" #include "framebuffer.h" #include "ui/pixel_ops.h"
hw/hppa/machine.c +0 -1
@@ -9,7 +9,6 @@#include "cpu.h" #include "elf.h" #include "hw/loader.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h"
hw/i386/acpi-build.c +0 -1
@@ -43,7 +43,6 @@#include "sysemu/tpm.h" #include "hw/acpi/tpm.h" #include "hw/acpi/vmgenid.h" -#include "hw/boards.h" #include "sysemu/tpm_backend.h" #include "hw/rtc/mc146818rtc_regs.h" #include "migration/vmstate.h"
hw/i386/acpi-microvm.c +0 -1
@@ -30,7 +30,6 @@#include "hw/acpi/bios-linker-loader.h" #include "hw/acpi/generic_event_device.h" #include "hw/acpi/utils.h" -#include "hw/boards.h" #include "hw/i386/fw_cfg.h" #include "hw/i386/microvm.h" #include "hw/pci/pci.h"
hw/i386/intel_iommu.c +0 -1
@@ -31,7 +31,6 @@#include "hw/qdev-properties.h" #include "hw/i386/pc.h" #include "hw/i386/apic-msidef.h" -#include "hw/boards.h" #include "hw/i386/x86-iommu.h" #include "hw/pci-host/q35.h" #include "sysemu/kvm.h"
hw/i386/pc.c +0 -1
@@ -74,7 +74,6 @@#include "qemu/cutils.h" #include "hw/acpi/acpi.h" #include "hw/acpi/cpu_hotplug.h" -#include "hw/boards.h" #include "acpi-build.h" #include "hw/mem/pc-dimm.h" #include "hw/mem/nvdimm.h"
hw/i386/x86-iommu.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/i386/x86-iommu.h" #include "hw/qdev-properties.h" #include "hw/i386/pc.h"
hw/intc/sifive_plic.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/error-report.h" #include "hw/sysbus.h" #include "hw/pci/msi.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/intc/sifive_plic.h" #include "target/riscv/cpu.h"
hw/mips/loongson3_virt.c +0 -1
@@ -32,7 +32,6 @@#include "cpu.h" #include "elf.h" #include "kvm_mips.h" -#include "hw/boards.h" #include "hw/char/serial.h" #include "hw/intc/loongson_liointc.h" #include "hw/mips/mips.h"
hw/ppc/e500.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/config-file.h" #include "hw/char/serial.h" #include "hw/pci/pci.h" -#include "hw/boards.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/reset.h"
hw/ppc/mac_newworld.c +0 -1
@@ -58,7 +58,6 @@#include "hw/pci/pci.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "hw/boards.h" #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h"
hw/ppc/mac_oldworld.c +0 -1
@@ -38,7 +38,6 @@#include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "hw/boards.h" #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h"
hw/ppc/pnv.c +0 -1
@@ -52,7 +52,6 @@#include "hw/ppc/pnv_pnor.h" #include "hw/isa/isa.h" -#include "hw/boards.h" #include "hw/char/serial.h" #include "hw/rtc/mc146818rtc.h"
hw/ppc/ppc4xx_devs.c +0 -1
@@ -29,7 +29,6 @@#include "hw/irq.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc4xx.h" -#include "hw/boards.h" #include "hw/intc/ppc-uic.h" #include "hw/qdev-properties.h" #include "qemu/log.h"
hw/ppc/rs6000_mc.c +0 -1
@@ -23,7 +23,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "qapi/error.h" #include "trace.h" #include "qom/object.h"
hw/ppc/spapr.c +0 -1
@@ -54,7 +54,6 @@#include "cpu-models.h" #include "hw/core/cpu.h" -#include "hw/boards.h" #include "hw/ppc/ppc.h" #include "hw/loader.h"
hw/ppc/spapr_rtas.c +0 -1
@@ -41,7 +41,6 @@#include "hw/ppc/spapr_rtas.h" #include "hw/ppc/spapr_cpu_core.h" #include "hw/ppc/ppc.h" -#include "hw/boards.h" #include <libfdt.h> #include "hw/ppc/spapr_drc.h"
hw/remote/iohub.c +0 -1
@@ -15,7 +15,6 @@#include "hw/pci/pci_ids.h" #include "hw/pci/pci_bus.h" #include "qemu/thread.h" -#include "hw/boards.h" #include "hw/remote/machine.h" #include "hw/remote/iohub.h" #include "qemu/main-loop.h"
hw/s390x/s390-virtio-ccw.c +0 -2
@@ -14,10 +14,8 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "hw/boards.h" #include "exec/address-spaces.h" #include "exec/ram_addr.h" -#include "hw/boards.h" #include "hw/s390x/s390-virtio-hcall.h" #include "hw/s390x/sclp.h" #include "hw/s390x/s390_flic.h"
hw/tricore/tc27x_soc.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/loader.h" #include "qemu/units.h" #include "hw/misc/unimp.h"
hw/tricore/triboard.c +0 -1
@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "cpu.h" #include "net/net.h" -#include "hw/boards.h" #include "hw/loader.h" #include "exec/address-spaces.h" #include "elf.h"
softmmu/vl.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/datadir.h" #include "qemu/units.h" #include "exec/cpu-common.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "qapi/compat-policy.h" #include "qapi/error.h"
Signature · 1 line
2.27.0
Re: [PATCH 2/4] Do not include hw/boards.h if it's not really necessary
Hi Thomas,
Quoted 11 lines · Thomas Huth
Stop including
hw/boards.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/aspeed.c | 1 -
It requires the macros declared by:
OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)
Quoted 4 lines
hw/arm/omap1.c | 1 - hw/arm/omap2.c | 1 - hw/arm/strongarm.c | 1 - hw/arm/virt.c | 1 -
Ditto.
Quoted 1 line
hw/avr/arduino.c | 1 -
Ditto.
Quoted 3 lines
hw/avr/atmega.c | 1 - hw/display/next-fb.c | 1 - hw/hppa/machine.c | 1 -
Ditto.
Quoted 4 lines
hw/i386/acpi-build.c | 1 - hw/i386/acpi-microvm.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 -
Ditto (MACHINE_CLASS macro).
Quoted 3 lines
hw/i386/x86-iommu.c | 1 - hw/intc/sifive_plic.c | 1 - hw/mips/loongson3_virt.c | 1 -
Ditto.
(skipping the rest).
Quoted 14 lines
hw/ppc/e500.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/ppc4xx_devs.c | 1 - hw/ppc/rs6000_mc.c | 1 - hw/ppc/spapr.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/remote/iohub.c | 1 - hw/s390x/s390-virtio-ccw.c | 2 -- hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - softmmu/vl.c | 1 - 35 files changed, 36 deletions(-)
Re: [PATCH 2/4] Do not include hw/boards.h if it's not really necessary
Quoted 15 lines · Philippe Mathieu-Daudé
Hi Thomas,
Quoted 11 lines · Thomas Huth
Stop including
hw/boards.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/aspeed.c | 1 -
Quoted 3 lines
It requires the macros declared by:
OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)
"hw/boards.h" is already included in include/hw/arm/aspeed.h, that's why it's working ... Hmm, do we have a policy whether a header should be included again in the .c file if it's already included by a .h file?
Quoted 6 lines
Quoted 4 lines
hw/arm/omap1.c | 1 - hw/arm/omap2.c | 1 - hw/arm/strongarm.c | 1 - hw/arm/virt.c | 1 -Ditto.
See include/hw/arm/virt.h
Quoted 3 lines
Quoted 1 line
hw/avr/arduino.c | 1 -Ditto.
See hw/avr/boot.h
Quoted 5 lines
Quoted 3 lines
hw/avr/atmega.c | 1 - hw/display/next-fb.c | 1 - hw/hppa/machine.c | 1 -Ditto.
See hw/hppa/hppa_sys.h
Quoted 6 lines
Quoted 4 lines
hw/i386/acpi-build.c | 1 - hw/i386/acpi-microvm.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 -Ditto (
MACHINE_CLASSmacro).
See include/hw/i386/pc.h
Quoted 5 lines
Quoted 3 lines
hw/i386/x86-iommu.c | 1 - hw/intc/sifive_plic.c | 1 - hw/mips/loongson3_virt.c | 1 -Ditto.
See hw/mips/fw_cfg.h
Thomas
Re: [PATCH 2/4] Do not include hw/boards.h if it's not really necessary
Quoted 14 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Hi Thomas,
Quoted 11 lines · Thomas Huth
Stop including
hw/boards.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/aspeed.c | 1 -
Quoted 7 lines
Quoted 2 lines
It requires the macros declared by:
OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)"
hw/boards.h" is already included ininclude/hw/arm/aspeed.h, that's why it's working ... Hmm, do we have a policy whether a header should be included again in the .c file if it's already included by a .h file?
I'm not aware of a formal policy.
The most common "method" for dealing with #include is probably "when the compiler demands declarations, throw #include at it until it shuts up".
This "method" only ever adds, never deletes. It can easily lead to including headers many times, and to including headers unnecessarily.
Including many times isn't much of a problem in practice. A sufficiently smart C compiler should be able to skip #include of a "safe" header it has already seen, so redundant #include should not slow down the build noticeably. I prefer to avoid / delete obviously duplicate inclusions anyway.
Including unnecessarily *is* a problem. A massive one. But it's not what you asked about.
[...]
Laurent Vivier
AppliedRe: [PATCH 2/4] Do not include hw/boards.h if it's not really necessary
In reply to Thomas HuthLe 16/04/2021 à 19:13, Thomas Huth a écrit :
Quoted 456 lines
Stop including
hw/boards.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/tcg/tcg-accel-ops-icount.c | 1 - accel/tcg/tcg-accel-ops-rr.c | 1 - accel/tcg/tcg-accel-ops.c | 1 - hw/acpi/cpu.c | 1 - hw/acpi/memory_hotplug.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/omap1.c | 1 - hw/arm/omap2.c | 1 - hw/arm/strongarm.c | 1 - hw/arm/virt.c | 1 - hw/avr/arduino.c | 1 - hw/avr/atmega.c | 1 - hw/display/next-fb.c | 1 - hw/hppa/machine.c | 1 - hw/i386/acpi-build.c | 1 - hw/i386/acpi-microvm.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 - hw/i386/x86-iommu.c | 1 - hw/intc/sifive_plic.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/ppc/e500.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/ppc4xx_devs.c | 1 - hw/ppc/rs6000_mc.c | 1 - hw/ppc/spapr.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/remote/iohub.c | 1 - hw/s390x/s390-virtio-ccw.c | 2 -- hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - softmmu/vl.c | 1 - 35 files changed, 36 deletions(-)accel/tcg/tcg-accel-ops-icount.c +0
-1@@ -30,7 +30,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-icount.h" accel/tcg/tcg-accel-ops-rr.c +0
-1@@ -30,7 +30,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-rr.h" accel/tcg/tcg-accel-ops.c +0
-1@@ -32,7 +32,6 @@#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "tcg-accel-ops.h" #include "tcg-accel-ops-mttcg.h" hw/acpi/cpu.c +0
-1@@ -1,5 +1,4 @@#include "qemu/osdep.h" -#include "hw/boards.h" #include "migration/vmstate.h" #include "hw/acpi/cpu.h" #include "qapi/error.h" hw/acpi/memory_hotplug.c +0
-1@@ -2,7 +2,6 @@#include "hw/acpi/memory_hotplug.h" #include "hw/acpi/pc-hotplug.h" #include "hw/mem/pc-dimm.h" -#include "hw/boards.h" #include "hw/qdev-core.h" #include "migration/vmstate.h" #include "trace.h" hw/alpha/typhoon.c +0
-1@@ -11,7 +11,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" -#include "hw/boards.h" #include "hw/irq.h" #include "alpha_sys.h" #include "exec/address-spaces.h" hw/arm/aspeed.c +0
-1@@ -16,7 +16,6 @@#include "hw/arm/boot.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" -#include "hw/boards.h" #include "hw/i2c/smbus_eeprom.h" #include "hw/misc/pca9552.h" #include "hw/misc/tmp105.h" hw/arm/omap1.c +0
-1@@ -24,7 +24,6 @@#include "qemu-common.h" #include "cpu.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "hw/hw.h" #include "hw/irq.h" #include "hw/qdev-properties.h" hw/arm/omap2.c +0
-1@@ -27,7 +27,6 @@#include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/arm/boot.h" hw/arm/strongarm.c +0
-1@@ -30,7 +30,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "cpu.h" -#include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h" hw/arm/virt.c +0
-1@@ -36,7 +36,6 @@#include "monitor/qdev.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/arm/boot.h" #include "hw/arm/primecell.h" #include "hw/arm/virt.h" hw/avr/arduino.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/boards.h" #include "atmega.h" #include "boot.h" #include "qom/object.h" hw/avr/atmega.c +0
-1@@ -18,7 +18,6 @@#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qom/object.h" -#include "hw/boards.h" /* FIXME memory_region_allocate_system_memory for sram */ #include "hw/misc/unimp.h" #include "atmega.h" hw/display/next-fb.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "ui/console.h" -#include "hw/boards.h" #include "hw/loader.h" #include "framebuffer.h" #include "ui/pixel_ops.h" hw/hppa/machine.c +0
-1@@ -9,7 +9,6 @@#include "cpu.h" #include "elf.h" #include "hw/loader.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" hw/i386/acpi-build.c +0
-1@@ -43,7 +43,6 @@#include "sysemu/tpm.h" #include "hw/acpi/tpm.h" #include "hw/acpi/vmgenid.h" -#include "hw/boards.h" #include "sysemu/tpm_backend.h" #include "hw/rtc/mc146818rtc_regs.h" #include "migration/vmstate.h" hw/i386/acpi-microvm.c +0
-1@@ -30,7 +30,6 @@#include "hw/acpi/bios-linker-loader.h" #include "hw/acpi/generic_event_device.h" #include "hw/acpi/utils.h" -#include "hw/boards.h" #include "hw/i386/fw_cfg.h" #include "hw/i386/microvm.h" #include "hw/pci/pci.h" hw/i386/intel_iommu.c +0
-1@@ -31,7 +31,6 @@#include "hw/qdev-properties.h" #include "hw/i386/pc.h" #include "hw/i386/apic-msidef.h" -#include "hw/boards.h" #include "hw/i386/x86-iommu.h" #include "hw/pci-host/q35.h" #include "sysemu/kvm.h" hw/i386/pc.c +0
-1@@ -74,7 +74,6 @@#include "qemu/cutils.h" #include "hw/acpi/acpi.h" #include "hw/acpi/cpu_hotplug.h" -#include "hw/boards.h" #include "acpi-build.h" #include "hw/mem/pc-dimm.h" #include "hw/mem/nvdimm.h" hw/i386/x86-iommu.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/i386/x86-iommu.h" #include "hw/qdev-properties.h" #include "hw/i386/pc.h" hw/intc/sifive_plic.c +0
-1@@ -25,7 +25,6 @@#include "qemu/error-report.h" #include "hw/sysbus.h" #include "hw/pci/msi.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/intc/sifive_plic.h" #include "target/riscv/cpu.h" hw/mips/loongson3_virt.c +0
-1@@ -32,7 +32,6 @@#include "cpu.h" #include "elf.h" #include "kvm_mips.h" -#include "hw/boards.h" #include "hw/char/serial.h" #include "hw/intc/loongson_liointc.h" #include "hw/mips/mips.h" hw/ppc/e500.c +0
-1@@ -25,7 +25,6 @@#include "qemu/config-file.h" #include "hw/char/serial.h" #include "hw/pci/pci.h" -#include "hw/boards.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" hw/ppc/mac_newworld.c +0
-1@@ -58,7 +58,6 @@#include "hw/pci/pci.h" #include "net/net.h" #include "sysemu/sysemu.h" -#include "hw/boards.h" #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h" hw/ppc/mac_oldworld.c +0
-1@@ -38,7 +38,6 @@#include "hw/isa/isa.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "hw/boards.h" #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h" hw/ppc/pnv.c +0
-1@@ -52,7 +52,6 @@#include "hw/ppc/pnv_pnor.h" #include "hw/isa/isa.h" -#include "hw/boards.h" #include "hw/char/serial.h" #include "hw/rtc/mc146818rtc.h" hw/ppc/ppc4xx_devs.c +0
-1@@ -29,7 +29,6 @@#include "hw/irq.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc4xx.h" -#include "hw/boards.h" #include "hw/intc/ppc-uic.h" #include "hw/qdev-properties.h" #include "qemu/log.h" hw/ppc/rs6000_mc.c +0
-1@@ -23,7 +23,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "qapi/error.h" #include "trace.h" #include "qom/object.h" hw/ppc/spapr.c +0
-1@@ -54,7 +54,6 @@#include "cpu-models.h" #include "hw/core/cpu.h" -#include "hw/boards.h" #include "hw/ppc/ppc.h" #include "hw/loader.h" hw/ppc/spapr_rtas.c +0
-1@@ -41,7 +41,6 @@#include "hw/ppc/spapr_rtas.h" #include "hw/ppc/spapr_cpu_core.h" #include "hw/ppc/ppc.h" -#include "hw/boards.h" #include <libfdt.h> #include "hw/ppc/spapr_drc.h" hw/remote/iohub.c +0
-1@@ -15,7 +15,6 @@#include "hw/pci/pci_ids.h" #include "hw/pci/pci_bus.h" #include "qemu/thread.h" -#include "hw/boards.h" #include "hw/remote/machine.h" #include "hw/remote/iohub.h" #include "qemu/main-loop.h" hw/s390x/s390-virtio-ccw.c +0
-2@@ -14,10 +14,8 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "hw/boards.h" #include "exec/address-spaces.h" #include "exec/ram_addr.h" -#include "hw/boards.h" #include "hw/s390x/s390-virtio-hcall.h" #include "hw/s390x/sclp.h" #include "hw/s390x/s390_flic.h" hw/tricore/tc27x_soc.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/loader.h" #include "qemu/units.h" #include "hw/misc/unimp.h" hw/tricore/triboard.c +0
-1@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "cpu.h" #include "net/net.h" -#include "hw/boards.h" #include "hw/loader.h" #include "exec/address-spaces.h" #include "elf.h" softmmu/vl.c +0
-0
softmmu/vl.c line 32
Quoted 7 lines
softmmu/vl.c +0
-1@@ -27,7 +27,6 @@#include "qemu/datadir.h" #include "qemu/units.h" #include "exec/cpu-common.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "qapi/compat-policy.h" #include "qapi/error.h"
Applied to my trivial-patches branch.
Thanks,
Laurent
PATCH 3/4 Do not include cpu.h if it's not really necessary
In reply to Thomas HuthStop including cpu.h in files that don't need it.
--- accel/stubs/kvm-stub.c | 1 - accel/stubs/tcg-stub.c | 1 - accel/tcg/cpu-exec-common.c | 1 - accel/tcg/cpu-exec.c | 1 - accel/tcg/cputlb.c | 1 - accel/tcg/plugin-gen.c | 1 - accel/tcg/translate-all.c | 1 - accel/tcg/translator.c | 1 - accel/tcg/user-exec.c | 1 - bsd-user/main.c | 1 - disas.c | 1 - dump/dump.c | 1 - dump/win_dump.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/allwinner-h3.c | 1 - hw/arm/armv7m.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/aspeed_ast2600.c | 1 - hw/arm/aspeed_soc.c | 1 - hw/arm/bcm2836.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/exynos4_boards.c | 1 - hw/arm/fsl-imx25.c | 1 - hw/arm/fsl-imx31.c | 1 - hw/arm/imx25_pdk.c | 1 - hw/arm/kzm.c | 1 - hw/arm/msf2-som.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/orangepi.c | 1 - hw/arm/raspi.c | 1 - hw/arm/stellaris.c | 1 - hw/arm/xlnx-zcu102.c | 1 - hw/arm/xlnx-zynqmp.c | 1 - hw/char/spapr_vty.c | 1 - hw/core/machine-qmp-cmds.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/lasi.c | 1 - hw/i386/kvm/apic.c | 1 - hw/i386/kvm/clock.c | 1 - hw/i386/kvmvapic.c | 1 - hw/i386/microvm.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/vmport.c | 1 - hw/intc/apic.c | 1 - hw/intc/apic_common.c | 1 - hw/intc/arm_gic_kvm.c | 1 - hw/intc/armv7m_nvic.c | 1 - hw/intc/grlib_irqmp.c | 1 - hw/intc/openpic_kvm.c | 1 - hw/intc/s390_flic.c | 1 - hw/intc/s390_flic_kvm.c | 1 - hw/intc/xics.c | 1 - hw/intc/xics_kvm.c | 1 - hw/intc/xics_spapr.c | 1 - hw/m68k/next-cube.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/mips/malta.c | 1 - hw/mips/mips_int.c | 1 - hw/mips/mipssim.c | 1 - hw/misc/mips_itu.c | 1 - hw/net/spapr_llan.c | 1 - hw/nios2/10m50_devboard.c | 1 - hw/nios2/boot.c | 1 - hw/nios2/generic_nommu.c | 1 - hw/nvram/spapr_nvram.c | 1 - hw/ppc/ppc.c | 1 - hw/ppc/ppc440_uc.c | 1 - hw/ppc/prep.c | 1 - hw/ppc/spapr_drc.c | 1 - hw/ppc/spapr_events.c | 1 - hw/ppc/spapr_hcall.c | 1 - hw/ppc/spapr_pci.c | 1 - hw/ppc/spapr_pci_vfio.c | 1 - hw/ppc/spapr_rng.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/ppc/spapr_rtas_ddw.c | 1 - hw/ppc/spapr_rtc.c | 1 - hw/ppc/spapr_tpm_proxy.c | 1 - hw/remote/proxy-memory-listener.c | 1 - hw/rx/rx-gdbsim.c | 1 - hw/rx/rx62n.c | 1 - hw/s390x/3270-ccw.c | 1 - hw/s390x/css-bridge.c | 1 - hw/s390x/css.c | 1 - hw/s390x/ipl.c | 1 - hw/s390x/pv.c | 1 - hw/s390x/s390-pci-bus.c | 1 - hw/s390x/s390-pci-inst.c | 1 - hw/s390x/s390-stattrib-kvm.c | 1 - hw/s390x/s390-stattrib.c | 1 - hw/s390x/s390-virtio-ccw.c | 1 - hw/s390x/sclp.c | 1 - hw/s390x/sclpcpu.c | 1 - hw/scsi/spapr_vscsi.c | 1 - hw/sh4/sh7750.c | 1 - hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - hw/vfio/ap.c | 1 - hw/vfio/migration.c | 1 - hw/vfio/spapr.c | 1 - hw/xtensa/sim.c | 1 - hw/xtensa/virt.c | 1 - hw/xtensa/xtensa_memory.c | 1 - linux-user/main.c | 1 - linux-user/semihost.c | 1 - migration/ram.c | 1 - monitor/misc.c | 1 - plugins/api.c | 1 - plugins/core.c | 1 - plugins/loader.c | 1 - semihosting/arm-compat-semi.c | 1 - semihosting/console.c | 1 - softmmu/arch_init.c | 1 - softmmu/memory.c | 1 - softmmu/memory_mapping.c | 1 - softmmu/physmem.c | 1 - tcg/tcg-op-vec.c | 1 - tcg/tcg-op.c | 1 - tcg/tcg.c | 1 - 120 files changed, 120 deletions(-)
accel/stubs/kvm-stub.c +0 -1
@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/kvm.h" #ifndef CONFIG_USER_ONLY
accel/stubs/tcg-stub.c +0 -1
@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/exec-all.h" void tb_flush (CPUState *cpu)
accel/tcg/cpu-exec-common.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/cpus.h" #include "sysemu/tcg.h" #include "exec/exec-all.h"
accel/tcg/cpu-exec.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/qemu-print.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "trace.h" #include "disas/disas.h"
accel/tcg/cputlb.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" #include "exec/memory.h"
accel/tcg/plugin-gen.c +0 -1
@@ -43,7 +43,6 @@* CPU's index into a TCG temp, since the first callback did it already. */ #include "qemu/osdep.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "trace/mem.h"
accel/tcg/translate-all.c +0 -1
@@ -22,7 +22,6 @@#include "qemu-common.h" #define NO_CPU_IO_DEFS -#include "cpu.h" #include "trace.h" #include "disas/disas.h" #include "exec/exec-all.h"
accel/tcg/translator.c +0 -1
@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qemu/error-report.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "exec/exec-all.h"
accel/tcg/user-exec.c +0 -1
@@ -17,7 +17,6 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "disas/disas.h" #include "exec/exec-all.h"
bsd-user/main.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/path.h" #include "qemu/help_option.h" #include "qemu/module.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "qemu/timer.h"
disas.c +0 -1
@@ -4,7 +4,6 @@#include "elf.h" #include "qemu/qemu-print.h" -#include "cpu.h" #include "disas/disas.h" #include "disas/capstone.h"
dump/dump.c +0 -1
@@ -15,7 +15,6 @@#include "qemu-common.h" #include "qemu/cutils.h" #include "elf.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "monitor/monitor.h" #include "sysemu/kvm.h"
dump/win_dump.c +0 -1
@@ -12,7 +12,6 @@#include "qemu-common.h" #include "qemu/cutils.h" #include "elf.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "monitor/monitor.h" #include "sysemu/kvm.h"
hw/arm/allwinner-a10.c +0 -1
@@ -19,7 +19,6 @@#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/allwinner-a10.h" #include "hw/misc/unimp.h"
hw/arm/allwinner-h3.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "hw/qdev-core.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/char/serial.h" #include "hw/misc/unimp.h"
hw/arm/armv7m.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "hw/arm/armv7m.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/boot.h" #include "hw/loader.h"
hw/arm/aspeed.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/aspeed.h"
hw/arm/aspeed_ast2600.c +0 -1
@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h"
hw/arm/aspeed_soc.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h"
hw/arm/bcm2836.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/arm/bcm2836.h" #include "hw/arm/raspi_platform.h" #include "hw/sysbus.h"
hw/arm/cubieboard.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "exec/address-spaces.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-a10.h"
hw/arm/digic_boards.c +0 -1
@@ -27,7 +27,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/boards.h" #include "exec/address-spaces.h" #include "qemu/error-report.h"
hw/arm/exynos4_boards.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "cpu.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/arm/boot.h"
hw/arm/fsl-imx25.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx25.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/arm/fsl-imx31.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx31.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h"
hw/arm/imx25_pdk.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/qdev-properties.h" #include "hw/arm/fsl-imx25.h" #include "hw/boards.h"
hw/arm/kzm.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx31.h" #include "hw/boards.h" #include "qemu/error-report.h"
hw/arm/msf2-som.c +0 -1
@@ -31,7 +31,6 @@#include "hw/arm/boot.h" #include "exec/address-spaces.h" #include "hw/arm/msf2-soc.h" -#include "cpu.h" #define DDR_BASE_ADDRESS 0xA0000000#define DDR_SIZE (64 * MiB)
hw/arm/nrf51_soc.c +0 -1
@@ -15,7 +15,6 @@#include "hw/misc/unimp.h" #include "exec/address-spaces.h" #include "qemu/log.h" -#include "cpu.h" #include "hw/arm/nrf51.h" #include "hw/arm/nrf51_soc.h"
hw/arm/orangepi.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/units.h" #include "exec/address-spaces.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-h3.h"
hw/arm/raspi.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/units.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/bcm2836.h" #include "hw/registerfields.h" #include "qemu/error-report.h"
hw/arm/stellaris.c +0 -1
@@ -27,7 +27,6 @@#include "migration/vmstate.h" #include "hw/misc/unimp.h" #include "hw/qdev-clock.h" -#include "cpu.h" #include "qom/object.h" #define GPIO_A 0
hw/arm/xlnx-zcu102.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/boards.h" #include "qemu/error-report.h"
hw/arm/xlnx-zynqmp.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/intc/arm_gic_common.h" #include "hw/boards.h"
hw/char/spapr_vty.c +0 -1
@@ -2,7 +2,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "migration/vmstate.h" #include "chardev/char-fe.h" #include "hw/ppc/spapr.h"
hw/core/machine-qmp-cmds.c +0 -1
@@ -8,7 +8,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h"
hw/hppa/dino.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h"
hw/hppa/lasi.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/units.h" #include "qemu/log.h" #include "qapi/error.h" -#include "cpu.h" #include "trace.h" #include "hw/irq.h" #include "sysemu/sysemu.h"
hw/i386/kvm/apic.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/i386/apic_internal.h" #include "hw/pci/msi.h" #include "sysemu/hw_accel.h"
hw/i386/kvm/clock.c +0 -1
@@ -14,7 +14,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/host-utils.h" #include "qemu/module.h" #include "sysemu/kvm.h"
hw/i386/kvmvapic.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "sysemu/hw_accel.h"
hw/i386/microvm.c +0 -1
@@ -49,7 +49,6 @@#include "hw/pci-host/gpex.h" #include "hw/usb/xhci.h" -#include "cpu.h" #include "elf.h" #include "kvm/kvm_i386.h" #include "hw/xen/start_info.h"
hw/i386/pc_piix.c +0 -1
@@ -49,7 +49,6 @@#include "exec/memory.h" #include "exec/address-spaces.h" #include "hw/acpi/acpi.h" -#include "cpu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/xen.h"
hw/i386/vmport.c +0 -1
@@ -37,7 +37,6 @@#include "sysemu/hw_accel.h" #include "sysemu/qtest.h" #include "qemu/log.h" -#include "cpu.h" #include "trace.h" #include "qom/object.h"
hw/intc/apic.c +0 -1
@@ -17,7 +17,6 @@* License along with this library; if not, see <http://www.gnu.org/licenses/> */ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/thread.h" #include "hw/i386/apic_internal.h" #include "hw/i386/apic.h"
hw/intc/apic_common.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "qapi/visitor.h" #include "hw/i386/apic.h" #include "hw/i386/apic_internal.h"
hw/intc/arm_gic_kvm.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "migration/blocker.h" #include "sysemu/kvm.h" #include "kvm_arm.h"
hw/intc/armv7m_nvic.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/timer.h"
hw/intc/grlib_irqmp.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/sysbus.h" -#include "cpu.h" #include "hw/qdev-properties.h" #include "hw/sparc/grlib.h"
hw/intc/openpic_kvm.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include <sys/ioctl.h> #include "exec/address-spaces.h" #include "hw/ppc/openpic.h"
hw/intc/s390_flic.c +0 -1
@@ -20,7 +20,6 @@#include "hw/qdev-properties.h" #include "hw/s390x/css.h" #include "trace.h" -#include "cpu.h" #include "qapi/error.h" #include "hw/s390x/s390-virtio-ccw.h"
hw/intc/s390_flic_kvm.c +0 -1
@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "kvm_s390x.h" #include <sys/ioctl.h> #include "qemu/error-report.h"
hw/intc/xics.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "trace.h" #include "qemu/timer.h" #include "hw/ppc/xics.h"
hw/intc/xics_kvm.c +0 -1
@@ -28,7 +28,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "trace.h" #include "sysemu/kvm.h" #include "hw/ppc/spapr.h"
hw/intc/xics_spapr.c +0 -1
@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "trace.h" #include "qemu/timer.h" #include "hw/ppc/spapr.h"
hw/m68k/next-cube.c +0 -1
@@ -10,7 +10,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/mips/loongson3_virt.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/cutils.h" #include "qemu/datadir.h" #include "qapi/error.h" -#include "cpu.h" #include "elf.h" #include "kvm_mips.h" #include "hw/char/serial.h"
hw/mips/malta.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/bitops.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/clock.h" #include "hw/southbridge/piix.h" #include "hw/isa/superio.h"
hw/mips/mips_int.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/main-loop.h" #include "hw/irq.h" #include "hw/mips/cpudevs.h" -#include "cpu.h" #include "sysemu/kvm.h" #include "kvm_mips.h"
hw/mips/mipssim.c +0 -1
@@ -29,7 +29,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/clock.h" #include "hw/mips/mips.h" #include "hw/mips/cpudevs.h"
hw/misc/mips_itu.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/log.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/exec-all.h" #include "hw/misc/mips_itu.h" #include "hw/qdev-properties.h"
hw/net/spapr_llan.c +0 -1
@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/log.h" #include "qemu/module.h" #include "net/net.h"
hw/nios2/10m50_devboard.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/char/serial.h"
hw/nios2/boot.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/units.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "qemu/error-report.h"
hw/nios2/generic_nommu.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "hw/char/serial.h" #include "hw/boards.h"
hw/nvram/spapr_nvram.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include <libfdt.h> #include "sysemu/block-backend.h"
hw/ppc/ppc.c +0 -1
@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc_e500.h"
hw/ppc/ppc440_uc.c +0 -1
@@ -14,7 +14,6 @@#include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/irq.h" #include "exec/address-spaces.h" #include "exec/memory.h"
hw/ppc/prep.c +0 -1
@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/rtc/m48t59.h" #include "hw/char/serial.h" #include "hw/block/fdc.h"
hw/ppc/spapr_drc.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qmp/qnull.h" -#include "cpu.h" #include "qemu/cutils.h" #include "hw/ppc/spapr_drc.h" #include "qom/object.h"
hw/ppc/spapr_events.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/device_tree.h" #include "sysemu/runstate.h"
hw/ppc/spapr_hcall.c +0 -1
@@ -7,7 +7,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/error-report.h" -#include "cpu.h" #include "exec/exec-all.h" #include "helper_regs.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_pci.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/sysbus.h" #include "migration/vmstate.h"
hw/ppc/spapr_pci_vfio.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include <linux/vfio.h> -#include "cpu.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" #include "hw/pci/msix.h"
hw/ppc/spapr_rng.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h"
hw/ppc/spapr_rtas.c +0 -1
@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/log.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h"
hw/ppc/spapr_rtas_ddw.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_rtc.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qemu-common.h" -#include "cpu.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_tpm_proxy.c +0 -1
@@ -15,7 +15,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/reset.h" -#include "cpu.h" #include "hw/ppc/spapr.h" #include "hw/qdev-properties.h" #include "trace.h"
hw/remote/proxy-memory-listener.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/range.h" #include "exec/memory.h" #include "exec/cpu-common.h" -#include "cpu.h" #include "exec/ram_addr.h" #include "exec/address-spaces.h" #include "qapi/error.h"
hw/rx/rx-gdbsim.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "hw/loader.h" #include "hw/rx/rx62n.h" #include "sysemu/qtest.h"
hw/rx/rx62n.c +0 -1
@@ -28,7 +28,6 @@#include "hw/sysbus.h" #include "hw/qdev-properties.h" #include "sysemu/sysemu.h" -#include "cpu.h" #include "qom/object.h" /*
hw/s390x/3270-ccw.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" #include "hw/qdev-properties.h"
hw/s390x/css-bridge.c +0 -1
@@ -20,7 +20,6 @@#include "hw/s390x/css.h" #include "ccw-device.h" #include "hw/s390x/css-bridge.h" -#include "cpu.h" /* * Invoke device-specific unplug handler, disable the subchannel
hw/s390x/css.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/bitops.h" #include "qemu/error-report.h" #include "exec/address-spaces.h" -#include "cpu.h" #include "hw/s390x/ioinst.h" #include "hw/qdev-properties.h" #include "hw/s390x/css.h"
hw/s390x/ipl.c +0 -1
@@ -19,7 +19,6 @@#include "sysemu/reset.h" #include "sysemu/runstate.h" #include "sysemu/tcg.h" -#include "cpu.h" #include "elf.h" #include "hw/loader.h" #include "hw/qdev-properties.h"
hw/s390x/pv.c +0 -1
@@ -13,7 +13,6 @@#include <linux/kvm.h> -#include "cpu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/kvm.h"
hw/s390x/s390-pci-bus.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "cpu.h" #include "hw/s390x/s390-pci-bus.h" #include "hw/s390x/s390-pci-inst.h" #include "hw/s390x/s390-pci-vfio.h"
hw/s390x/s390-pci-inst.c +0 -1
@@ -12,7 +12,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/memop.h" #include "exec/memory-internal.h" #include "qemu/error-report.h"
hw/s390x/s390-stattrib-kvm.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/error-report.h" #include "sysemu/kvm.h" #include "exec/ram_addr.h" -#include "cpu.h" #include "kvm_s390x.h" Object *kvm_s390_stattrib_create (void )
hw/s390x/s390-stattrib.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "cpu.h" #include "migration/qemu-file.h" #include "migration/register.h" #include "hw/s390x/storage-attributes.h"
hw/s390x/s390-virtio-ccw.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/s390x/s390-virtio-hcall.h"
hw/s390x/sclp.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/s390x/sclp.h" #include "hw/s390x/event-facility.h"
hw/s390x/sclpcpu.c +0 -1
@@ -17,7 +17,6 @@#include "hw/s390x/sclp.h" #include "qemu/module.h" #include "hw/s390x/event-facility.h" -#include "cpu.h" #include "sysemu/cpus.h" typedef struct ConfigMgtData {
hw/scsi/spapr_vscsi.c +0 -1
@@ -34,7 +34,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/scsi/scsi.h" #include "migration/vmstate.h" #include "scsi/constants.h"
hw/sh4/sh7750.c +0 -1
@@ -31,7 +31,6 @@#include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" #include "hw/timer/tmu012.h" -#include "cpu.h" #include "exec/exec-all.h" #define NB_DEVICES 4
hw/tricore/tc27x_soc.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/units.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" -#include "cpu.h" #include "hw/tricore/tc27x_soc.h" #include "hw/tricore/triboard.h"
hw/tricore/triboard.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "hw/qdev-properties.h" -#include "cpu.h" #include "net/net.h" #include "hw/loader.h" #include "exec/address-spaces.h"
hw/vfio/ap.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/module.h" #include "qemu/option.h" #include "qemu/config-file.h" -#include "cpu.h" #include "kvm_s390x.h" #include "migration/vmstate.h" #include "hw/qdev-properties.h"
hw/vfio/migration.c +0 -1
@@ -15,7 +15,6 @@#include "sysemu/runstate.h" #include "hw/vfio/vfio-common.h" -#include "cpu.h" #include "migration/migration.h" #include "migration/vmstate.h" #include "migration/qemu-file.h"
hw/vfio/spapr.c +0 -1
@@ -9,7 +9,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include <sys/ioctl.h> #include <linux/vfio.h>
hw/xtensa/sim.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" #include "hw/boards.h"
hw/xtensa/virt.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/reset.h" #include "hw/boards.h" #include "hw/loader.h"
hw/xtensa/xtensa_memory.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/memory.h" #include "qemu/error-report.h" #include "xtensa_memory.h"
linux-user/main.c +0 -1
@@ -38,7 +38,6 @@#include "qemu/help_option.h" #include "qemu/module.h" #include "qemu/plugin.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "qemu/timer.h"
linux-user/semihost.c +0 -1
@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/console.h" #include "qemu.h" #include <termios.h>
migration/ram.c +0 -1
@@ -27,7 +27,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/cutils.h" #include "qemu/bitops.h" #include "qemu/bitmap.h"
monitor/misc.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "monitor-internal.h" -#include "cpu.h" #include "monitor/qdev.h" #include "hw/usb.h" #include "hw/pci/pci.h"
plugins/api.c +0 -1
@@ -36,7 +36,6 @@#include "qemu/osdep.h" #include "qemu/plugin.h" -#include "cpu.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h"
plugins/core.c +0 -1
@@ -23,7 +23,6 @@#include "hw/core/cpu.h" #include "exec/cpu-common.h" -#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" #include "tcg/tcg.h"
plugins/loader.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/xxhash.h" #include "qemu/plugin.h" #include "hw/core/cpu.h" -#include "cpu.h" #include "exec/exec-all.h" #ifndef CONFIG_USER_ONLY #include "hw/boards.h"
semihosting/arm-compat-semi.c +0 -1
@@ -33,7 +33,6 @@#include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/semihost.h" #include "semihosting/console.h" #include "semihosting/common-semi.h"
semihosting/console.c +0 -1
@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/semihost.h" #include "semihosting/console.h" #include "exec/gdbstub.h"
softmmu/arch_init.c +0 -1
@@ -22,7 +22,6 @@* THE SOFTWARE. */ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/arch_init.h" #include "hw/pci/pci.h" #include "hw/audio/soundhw.h"
softmmu/memory.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "qapi/visitor.h"
softmmu/memory_mapping.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/memory_mapping.h" #include "exec/memory.h" #include "exec/address-spaces.h"
softmmu/physmem.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/cutils.h" #include "qemu/cacheflush.h" -#include "cpu.h" #ifdef CONFIG_TCG #include "hw/core/tcg-cpu-ops.h"
tcg/tcg-op-vec.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "tcg/tcg-mo.h"
tcg/tcg-op.c +0 -1
@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h"
tcg/tcg.c +0 -1
@@ -41,7 +41,6 @@CPU definitions. Currently they are used for qemu_ld/st instructions */ #define NO_CPU_IO_DEFS -#include "cpu.h" #include "exec/exec-all.h"
Signature · 1 line
2.27.0
Laurent Vivier
AppliedRe: [PATCH 3/4] Do not include cpu.h if it's not really necessary
Le 16/04/2021 à 19:13, Thomas Huth a écrit :
Quoted 1,560 lines
Stop including
cpu.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/stubs/kvm-stub.c | 1 - accel/stubs/tcg-stub.c | 1 - accel/tcg/cpu-exec-common.c | 1 - accel/tcg/cpu-exec.c | 1 - accel/tcg/cputlb.c | 1 - accel/tcg/plugin-gen.c | 1 - accel/tcg/translate-all.c | 1 - accel/tcg/translator.c | 1 - accel/tcg/user-exec.c | 1 - bsd-user/main.c | 1 - disas.c | 1 - dump/dump.c | 1 - dump/win_dump.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/allwinner-h3.c | 1 - hw/arm/armv7m.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/aspeed_ast2600.c | 1 - hw/arm/aspeed_soc.c | 1 - hw/arm/bcm2836.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/exynos4_boards.c | 1 - hw/arm/fsl-imx25.c | 1 - hw/arm/fsl-imx31.c | 1 - hw/arm/imx25_pdk.c | 1 - hw/arm/kzm.c | 1 - hw/arm/msf2-som.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/orangepi.c | 1 - hw/arm/raspi.c | 1 - hw/arm/stellaris.c | 1 - hw/arm/xlnx-zcu102.c | 1 - hw/arm/xlnx-zynqmp.c | 1 - hw/char/spapr_vty.c | 1 - hw/core/machine-qmp-cmds.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/lasi.c | 1 - hw/i386/kvm/apic.c | 1 - hw/i386/kvm/clock.c | 1 - hw/i386/kvmvapic.c | 1 - hw/i386/microvm.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/vmport.c | 1 - hw/intc/apic.c | 1 - hw/intc/apic_common.c | 1 - hw/intc/arm_gic_kvm.c | 1 - hw/intc/armv7m_nvic.c | 1 - hw/intc/grlib_irqmp.c | 1 - hw/intc/openpic_kvm.c | 1 - hw/intc/s390_flic.c | 1 - hw/intc/s390_flic_kvm.c | 1 - hw/intc/xics.c | 1 - hw/intc/xics_kvm.c | 1 - hw/intc/xics_spapr.c | 1 - hw/m68k/next-cube.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/mips/malta.c | 1 - hw/mips/mips_int.c | 1 - hw/mips/mipssim.c | 1 - hw/misc/mips_itu.c | 1 - hw/net/spapr_llan.c | 1 - hw/nios2/10m50_devboard.c | 1 - hw/nios2/boot.c | 1 - hw/nios2/generic_nommu.c | 1 - hw/nvram/spapr_nvram.c | 1 - hw/ppc/ppc.c | 1 - hw/ppc/ppc440_uc.c | 1 - hw/ppc/prep.c | 1 - hw/ppc/spapr_drc.c | 1 - hw/ppc/spapr_events.c | 1 - hw/ppc/spapr_hcall.c | 1 - hw/ppc/spapr_pci.c | 1 - hw/ppc/spapr_pci_vfio.c | 1 - hw/ppc/spapr_rng.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/ppc/spapr_rtas_ddw.c | 1 - hw/ppc/spapr_rtc.c | 1 - hw/ppc/spapr_tpm_proxy.c | 1 - hw/remote/proxy-memory-listener.c | 1 - hw/rx/rx-gdbsim.c | 1 - hw/rx/rx62n.c | 1 - hw/s390x/3270-ccw.c | 1 - hw/s390x/css-bridge.c | 1 - hw/s390x/css.c | 1 - hw/s390x/ipl.c | 1 - hw/s390x/pv.c | 1 - hw/s390x/s390-pci-bus.c | 1 - hw/s390x/s390-pci-inst.c | 1 - hw/s390x/s390-stattrib-kvm.c | 1 - hw/s390x/s390-stattrib.c | 1 - hw/s390x/s390-virtio-ccw.c | 1 - hw/s390x/sclp.c | 1 - hw/s390x/sclpcpu.c | 1 - hw/scsi/spapr_vscsi.c | 1 - hw/sh4/sh7750.c | 1 - hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - hw/vfio/ap.c | 1 - hw/vfio/migration.c | 1 - hw/vfio/spapr.c | 1 - hw/xtensa/sim.c | 1 - hw/xtensa/virt.c | 1 - hw/xtensa/xtensa_memory.c | 1 - linux-user/main.c | 1 - linux-user/semihost.c | 1 - migration/ram.c | 1 - monitor/misc.c | 1 - plugins/api.c | 1 - plugins/core.c | 1 - plugins/loader.c | 1 - semihosting/arm-compat-semi.c | 1 - semihosting/console.c | 1 - softmmu/arch_init.c | 1 - softmmu/memory.c | 1 - softmmu/memory_mapping.c | 1 - softmmu/physmem.c | 1 - tcg/tcg-op-vec.c | 1 - tcg/tcg-op.c | 1 - tcg/tcg.c | 1 - 120 files changed, 120 deletions(-)accel/stubs/kvm-stub.c +0
-1@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/kvm.h" #ifndef CONFIG_USER_ONLY accel/stubs/tcg-stub.c +0
-1@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/exec-all.h" void tb_flush (CPUState *cpu)accel/tcg/cpu-exec-common.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/cpus.h" #include "sysemu/tcg.h" #include "exec/exec-all.h" accel/tcg/cpu-exec.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/qemu-print.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "trace.h" #include "disas/disas.h" accel/tcg/cputlb.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" #include "exec/memory.h" accel/tcg/plugin-gen.c +0
-1@@ -43,7 +43,6 @@* CPU's index into a TCG temp, since the first callback did it already. */ #include "qemu/osdep.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "trace/mem.h" accel/tcg/translate-all.c +0
-1@@ -22,7 +22,6 @@#include "qemu-common.h" #define NO_CPU_IO_DEFS -#include "cpu.h" #include "trace.h" #include "disas/disas.h" #include "exec/exec-all.h" accel/tcg/translator.c +0
-1@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qemu/error-report.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "exec/exec-all.h" accel/tcg/user-exec.c +0
-1@@ -17,7 +17,6 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "disas/disas.h" #include "exec/exec-all.h" bsd-user/main.c +0
-1@@ -32,7 +32,6 @@#include "qemu/path.h" #include "qemu/help_option.h" #include "qemu/module.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "qemu/timer.h" disas.c +0
-1@@ -4,7 +4,6 @@#include "elf.h" #include "qemu/qemu-print.h" -#include "cpu.h" #include "disas/disas.h" #include "disas/capstone.h" dump/dump.c +0
-1@@ -15,7 +15,6 @@#include "qemu-common.h" #include "qemu/cutils.h" #include "elf.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "monitor/monitor.h" #include "sysemu/kvm.h" dump/win_dump.c +0
-1@@ -12,7 +12,6 @@#include "qemu-common.h" #include "qemu/cutils.h" #include "elf.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "monitor/monitor.h" #include "sysemu/kvm.h" hw/arm/allwinner-a10.c +0
-1@@ -19,7 +19,6 @@#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/allwinner-a10.h" #include "hw/misc/unimp.h" hw/arm/allwinner-h3.c +0
-1@@ -24,7 +24,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "hw/qdev-core.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/char/serial.h" #include "hw/misc/unimp.h" hw/arm/armv7m.c +0
-1@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "hw/arm/armv7m.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/boot.h" #include "hw/loader.h" hw/arm/aspeed.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/aspeed.h" hw/arm/aspeed_ast2600.c +0
-1@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" hw/arm/aspeed_soc.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" hw/arm/bcm2836.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/arm/bcm2836.h" #include "hw/arm/raspi_platform.h" #include "hw/sysbus.h" hw/arm/cubieboard.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "exec/address-spaces.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-a10.h" hw/arm/digic_boards.c +0
-1@@ -27,7 +27,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/boards.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" hw/arm/exynos4_boards.c +0
-1@@ -25,7 +25,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "cpu.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/arm/boot.h" hw/arm/fsl-imx25.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx25.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" hw/arm/fsl-imx31.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx31.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" hw/arm/imx25_pdk.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/qdev-properties.h" #include "hw/arm/fsl-imx25.h" #include "hw/boards.h" hw/arm/kzm.c +0
-1@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/fsl-imx31.h" #include "hw/boards.h" #include "qemu/error-report.h" hw/arm/msf2-som.c +0
-1@@ -31,7 +31,6 @@#include "hw/arm/boot.h" #include "exec/address-spaces.h" #include "hw/arm/msf2-soc.h" -#include "cpu.h" #define DDR_BASE_ADDRESS 0xA0000000#define DDR_SIZE (64 * MiB)hw/arm/nrf51_soc.c +0
-1@@ -15,7 +15,6 @@#include "hw/misc/unimp.h" #include "exec/address-spaces.h" #include "qemu/log.h" -#include "cpu.h" #include "hw/arm/nrf51.h" #include "hw/arm/nrf51_soc.h" hw/arm/orangepi.c +0
-1@@ -21,7 +21,6 @@#include "qemu/units.h" #include "exec/address-spaces.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/qdev-properties.h" #include "hw/arm/allwinner-h3.h" hw/arm/raspi.c +0
-1@@ -16,7 +16,6 @@#include "qemu/units.h" #include "qemu/cutils.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/bcm2836.h" #include "hw/registerfields.h" #include "qemu/error-report.h" hw/arm/stellaris.c +0
-1@@ -27,7 +27,6 @@#include "migration/vmstate.h" #include "hw/misc/unimp.h" #include "hw/qdev-clock.h" -#include "cpu.h" #include "qom/object.h" #define GPIO_A 0hw/arm/xlnx-zcu102.c +0
-1@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/boards.h" #include "qemu/error-report.h" hw/arm/xlnx-zynqmp.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/intc/arm_gic_common.h" #include "hw/boards.h" hw/char/spapr_vty.c +0
-1@@ -2,7 +2,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "migration/vmstate.h" #include "chardev/char-fe.h" #include "hw/ppc/spapr.h" hw/core/machine-qmp-cmds.c +0
-1@@ -8,7 +8,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h" hw/hppa/dino.c +0
-1@@ -14,7 +14,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" hw/hppa/lasi.c +0
-1@@ -13,7 +13,6 @@#include "qemu/units.h" #include "qemu/log.h" #include "qapi/error.h" -#include "cpu.h" #include "trace.h" #include "hw/irq.h" #include "sysemu/sysemu.h" hw/i386/kvm/apic.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/i386/apic_internal.h" #include "hw/pci/msi.h" #include "sysemu/hw_accel.h" hw/i386/kvm/clock.c +0
-1@@ -14,7 +14,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/host-utils.h" #include "qemu/module.h" #include "sysemu/kvm.h" hw/i386/kvmvapic.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "sysemu/hw_accel.h" hw/i386/microvm.c +0
-1@@ -49,7 +49,6 @@#include "hw/pci-host/gpex.h" #include "hw/usb/xhci.h" -#include "cpu.h" #include "elf.h" #include "kvm/kvm_i386.h" #include "hw/xen/start_info.h" hw/i386/pc_piix.c +0
-1@@ -49,7 +49,6 @@#include "exec/memory.h" #include "exec/address-spaces.h" #include "hw/acpi/acpi.h" -#include "cpu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/xen.h" hw/i386/vmport.c +0
-1@@ -37,7 +37,6 @@#include "sysemu/hw_accel.h" #include "sysemu/qtest.h" #include "qemu/log.h" -#include "cpu.h" #include "trace.h" #include "qom/object.h" hw/intc/apic.c +0
-1@@ -17,7 +17,6 @@* License along with this library; if not, see <http://www.gnu.org/licenses/> */ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/thread.h" #include "hw/i386/apic_internal.h" #include "hw/i386/apic.h" hw/intc/apic_common.c +0
-1@@ -22,7 +22,6 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "qapi/visitor.h" #include "hw/i386/apic.h" #include "hw/i386/apic_internal.h" hw/intc/arm_gic_kvm.c +0
-1@@ -22,7 +22,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "migration/blocker.h" #include "sysemu/kvm.h" #include "kvm_arm.h" hw/intc/armv7m_nvic.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/timer.h" hw/intc/grlib_irqmp.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/sysbus.h" -#include "cpu.h" #include "hw/qdev-properties.h" #include "hw/sparc/grlib.h" hw/intc/openpic_kvm.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include <sys/ioctl.h> #include "exec/address-spaces.h" #include "hw/ppc/openpic.h" hw/intc/s390_flic.c +0
-1@@ -20,7 +20,6 @@#include "hw/qdev-properties.h" #include "hw/s390x/css.h" #include "trace.h" -#include "cpu.h" #include "qapi/error.h" #include "hw/s390x/s390-virtio-ccw.h" hw/intc/s390_flic_kvm.c +0
-1@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "kvm_s390x.h" #include <sys/ioctl.h> #include "qemu/error-report.h" hw/intc/xics.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "trace.h" #include "qemu/timer.h" #include "hw/ppc/xics.h" hw/intc/xics_kvm.c +0
-1@@ -28,7 +28,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "trace.h" #include "sysemu/kvm.h" #include "hw/ppc/spapr.h" hw/intc/xics_spapr.c +0
-1@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "trace.h" #include "qemu/timer.h" #include "hw/ppc/spapr.h" hw/m68k/next-cube.c +0
-1@@ -10,7 +10,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/hwaddr.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" hw/mips/loongson3_virt.c +0
-1@@ -29,7 +29,6 @@#include "qemu/cutils.h" #include "qemu/datadir.h" #include "qapi/error.h" -#include "cpu.h" #include "elf.h" #include "kvm_mips.h" #include "hw/char/serial.h" hw/mips/malta.c +0
-1@@ -27,7 +27,6 @@#include "qemu/bitops.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/clock.h" #include "hw/southbridge/piix.h" #include "hw/isa/superio.h" hw/mips/mips_int.c +0
-1@@ -24,7 +24,6 @@#include "qemu/main-loop.h" #include "hw/irq.h" #include "hw/mips/cpudevs.h" -#include "cpu.h" #include "sysemu/kvm.h" #include "kvm_mips.h" hw/mips/mipssim.c +0
-1@@ -29,7 +29,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "hw/clock.h" #include "hw/mips/mips.h" #include "hw/mips/cpudevs.h" hw/misc/mips_itu.c +0
-1@@ -22,7 +22,6 @@#include "qemu/log.h" #include "qemu/module.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/exec-all.h" #include "hw/misc/mips_itu.h" #include "hw/qdev-properties.h" hw/net/spapr_llan.c +0
-1@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/log.h" #include "qemu/module.h" #include "net/net.h" hw/nios2/10m50_devboard.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/sysbus.h" #include "hw/char/serial.h" hw/nios2/boot.c +0
-1@@ -32,7 +32,6 @@#include "qemu/units.h" #include "qemu-common.h" #include "qemu/datadir.h" -#include "cpu.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "qemu/error-report.h" hw/nios2/generic_nommu.c +0
-1@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "hw/char/serial.h" #include "hw/boards.h" hw/nvram/spapr_nvram.c +0
-1@@ -26,7 +26,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include <libfdt.h> #include "sysemu/block-backend.h" hw/ppc/ppc.c +0
-1@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc_e500.h" hw/ppc/ppc440_uc.c +0
-1@@ -14,7 +14,6 @@#include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/irq.h" #include "exec/address-spaces.h" #include "exec/memory.h" hw/ppc/prep.c +0
-1@@ -24,7 +24,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/rtc/m48t59.h" #include "hw/char/serial.h" #include "hw/block/fdc.h" hw/ppc/spapr_drc.c +0
-1@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qmp/qnull.h" -#include "cpu.h" #include "qemu/cutils.h" #include "hw/ppc/spapr_drc.h" #include "qom/object.h" hw/ppc/spapr_events.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/device_tree.h" #include "sysemu/runstate.h" hw/ppc/spapr_hcall.c +0
-1@@ -7,7 +7,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/error-report.h" -#include "cpu.h" #include "exec/exec-all.h" #include "helper_regs.h" #include "hw/ppc/spapr.h" hw/ppc/spapr_pci.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/irq.h" #include "hw/sysbus.h" #include "migration/vmstate.h" hw/ppc/spapr_pci_vfio.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include <linux/vfio.h> -#include "cpu.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" #include "hw/pci/msix.h" hw/ppc/spapr_rng.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h" hw/ppc/spapr_rtas.c +0
-1@@ -26,7 +26,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/log.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h" hw/ppc/spapr_rtas_ddw.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "hw/ppc/spapr.h" hw/ppc/spapr_rtc.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qemu-common.h" -#include "cpu.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "hw/ppc/spapr.h" hw/ppc/spapr_tpm_proxy.c +0
-1@@ -15,7 +15,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/reset.h" -#include "cpu.h" #include "hw/ppc/spapr.h" #include "hw/qdev-properties.h" #include "trace.h" hw/remote/proxy-memory-listener.c +0
-1@@ -14,7 +14,6 @@#include "qemu/range.h" #include "exec/memory.h" #include "exec/cpu-common.h" -#include "cpu.h" #include "exec/ram_addr.h" #include "exec/address-spaces.h" #include "qapi/error.h" hw/rx/rx-gdbsim.c +0
-1@@ -21,7 +21,6 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "qemu-common.h" -#include "cpu.h" #include "hw/loader.h" #include "hw/rx/rx62n.h" #include "sysemu/qtest.h" hw/rx/rx62n.c +0
-1@@ -28,7 +28,6 @@#include "hw/sysbus.h" #include "hw/qdev-properties.h" #include "sysemu/sysemu.h" -#include "cpu.h" #include "qom/object.h" /* hw/s390x/3270-ccw.c +0
-1@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" #include "hw/qdev-properties.h" hw/s390x/css-bridge.c +0
-1@@ -20,7 +20,6 @@#include "hw/s390x/css.h" #include "ccw-device.h" #include "hw/s390x/css-bridge.h" -#include "cpu.h" /* * Invoke device-specific unplug handler, disable the subchannel hw/s390x/css.c +0
-1@@ -15,7 +15,6 @@#include "qemu/bitops.h" #include "qemu/error-report.h" #include "exec/address-spaces.h" -#include "cpu.h" #include "hw/s390x/ioinst.h" #include "hw/qdev-properties.h" #include "hw/s390x/css.h" hw/s390x/ipl.c +0
-1@@ -19,7 +19,6 @@#include "sysemu/reset.h" #include "sysemu/runstate.h" #include "sysemu/tcg.h" -#include "cpu.h" #include "elf.h" #include "hw/loader.h" #include "hw/qdev-properties.h" hw/s390x/pv.c +0
-1@@ -13,7 +13,6 @@#include <linux/kvm.h> -#include "cpu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" hw/s390x/s390-pci-bus.c +0
-1@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "cpu.h" #include "hw/s390x/s390-pci-bus.h" #include "hw/s390x/s390-pci-inst.h" #include "hw/s390x/s390-pci-vfio.h" hw/s390x/s390-pci-inst.c +0
-1@@ -12,7 +12,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/memop.h" #include "exec/memory-internal.h" #include "qemu/error-report.h" hw/s390x/s390-stattrib-kvm.c +0
-1@@ -16,7 +16,6 @@#include "qemu/error-report.h" #include "sysemu/kvm.h" #include "exec/ram_addr.h" -#include "cpu.h" #include "kvm_s390x.h" Object *kvm_s390_stattrib_create (void )hw/s390x/s390-stattrib.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "cpu.h" #include "migration/qemu-file.h" #include "migration/register.h" #include "hw/s390x/storage-attributes.h" hw/s390x/s390-virtio-ccw.c +0
-1@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/s390x/s390-virtio-hcall.h" hw/s390x/sclp.c +0
-1@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "cpu.h" #include "hw/boards.h" #include "hw/s390x/sclp.h" #include "hw/s390x/event-facility.h" hw/s390x/sclpcpu.c +0
-1@@ -17,7 +17,6 @@#include "hw/s390x/sclp.h" #include "qemu/module.h" #include "hw/s390x/event-facility.h" -#include "cpu.h" #include "sysemu/cpus.h" typedef struct ConfigMgtData {hw/scsi/spapr_vscsi.c +0
-1@@ -34,7 +34,6 @@#include "qemu/osdep.h" #include "qemu/module.h" -#include "cpu.h" #include "hw/scsi/scsi.h" #include "migration/vmstate.h" #include "scsi/constants.h" hw/sh4/sh7750.c +0
-1@@ -31,7 +31,6 @@#include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" #include "hw/timer/tmu012.h" -#include "cpu.h" #include "exec/exec-all.h" #define NB_DEVICES 4hw/tricore/tc27x_soc.c +0
-1@@ -25,7 +25,6 @@#include "qemu/units.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" -#include "cpu.h" #include "hw/tricore/tc27x_soc.h" #include "hw/tricore/triboard.h" hw/tricore/triboard.c +0
-1@@ -22,7 +22,6 @@#include "qemu/units.h" #include "qapi/error.h" #include "hw/qdev-properties.h" -#include "cpu.h" #include "net/net.h" #include "hw/loader.h" #include "exec/address-spaces.h" hw/vfio/ap.c +0
-1@@ -21,7 +21,6 @@#include "qemu/module.h" #include "qemu/option.h" #include "qemu/config-file.h" -#include "cpu.h" #include "kvm_s390x.h" #include "migration/vmstate.h" #include "hw/qdev-properties.h" hw/vfio/migration.c +0
-1@@ -15,7 +15,6 @@#include "sysemu/runstate.h" #include "hw/vfio/vfio-common.h" -#include "cpu.h" #include "migration/migration.h" #include "migration/vmstate.h" #include "migration/qemu-file.h" hw/vfio/spapr.c +0
-1@@ -9,7 +9,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include <sys/ioctl.h> #include <linux/vfio.h> hw/xtensa/sim.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" #include "hw/boards.h" hw/xtensa/virt.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/reset.h" #include "hw/boards.h" #include "hw/loader.h" hw/xtensa/xtensa_memory.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/memory.h" #include "qemu/error-report.h" #include "xtensa_memory.h" linux-user/main.c +0
-1@@ -38,7 +38,6 @@#include "qemu/help_option.h" #include "qemu/module.h" #include "qemu/plugin.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "qemu/timer.h" linux-user/semihost.c +0
-1@@ -11,7 +11,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/console.h" #include "qemu.h" #include <termios.h> migration/ram.c +0
-1@@ -27,7 +27,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "qemu/cutils.h" #include "qemu/bitops.h" #include "qemu/bitmap.h" monitor/misc.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "monitor-internal.h" -#include "cpu.h" #include "monitor/qdev.h" #include "hw/usb.h" #include "hw/pci/pci.h" plugins/api.c +0
-1@@ -36,7 +36,6 @@#include "qemu/osdep.h" #include "qemu/plugin.h" -#include "cpu.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h" plugins/core.c +0
-1@@ -23,7 +23,6 @@#include "hw/core/cpu.h" #include "exec/cpu-common.h" -#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" #include "tcg/tcg.h" plugins/loader.c +0
-1@@ -27,7 +27,6 @@#include "qemu/xxhash.h" #include "qemu/plugin.h" #include "hw/core/cpu.h" -#include "cpu.h" #include "exec/exec-all.h" #ifndef CONFIG_USER_ONLY #include "hw/boards.h" semihosting/arm-compat-semi.c +0
-1@@ -33,7 +33,6 @@#include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/semihost.h" #include "semihosting/console.h" #include "semihosting/common-semi.h" semihosting/console.c +0
-1@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "semihosting/semihost.h" #include "semihosting/console.h" #include "exec/gdbstub.h" softmmu/arch_init.c +0
-1@@ -22,7 +22,6 @@* THE SOFTWARE. */ #include "qemu/osdep.h" -#include "cpu.h" #include "sysemu/arch_init.h" #include "hw/pci/pci.h" #include "hw/audio/soundhw.h" softmmu/memory.c +0
-1@@ -16,7 +16,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "qapi/error.h" -#include "cpu.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "qapi/visitor.h" softmmu/memory_mapping.c +0
-1@@ -14,7 +14,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/memory_mapping.h" #include "exec/memory.h" #include "exec/address-spaces.h" softmmu/physmem.c +0
-1@@ -23,7 +23,6 @@#include "qemu/cutils.h" #include "qemu/cacheflush.h" -#include "cpu.h" #ifdef CONFIG_TCG #include "hw/core/tcg-cpu-ops.h" tcg/tcg-op-vec.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "tcg/tcg-mo.h" tcg/tcg-op.c +0
-1@@ -23,7 +23,6 @@*/ #include "qemu/osdep.h" -#include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg.h" #include "tcg/tcg-op.h" tcg/tcg.c +0
-0
tcg/tcg.c line 46
Quoted 7 lines
tcg/tcg.c +0
-1@@ -41,7 +41,6 @@CPU definitions. Currently they are used for qemu_ld/st instructions */ #define NO_CPU_IO_DEFS -#include "cpu.h" #include "exec/exec-all.h"
Applied to my trivial-patches branch.
Thanks,
Laurent
PATCH 4/4 Do not include exec/address-spaces.h if it's not really necessary
In reply to Thomas HuthStop including exec/address-spaces.h in files that don't need it.
--- accel/kvm/kvm-all.c | 1 - accel/tcg/cputlb.c | 1 - hw/acpi/generic_event_device.c | 1 - hw/acpi/ich9.c | 1 - hw/acpi/pcihp.c | 1 - hw/acpi/piix4.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/allwinner-h3.c | 1 - hw/arm/armv7m.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/aspeed_ast2600.c | 1 - hw/arm/aspeed_soc.c | 1 - hw/arm/boot.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/fsl-imx25.c | 1 - hw/arm/highbank.c | 1 - hw/arm/imx25_pdk.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/npcm7xx.c | 1 - hw/arm/npcm7xx_boards.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/nseries.c | 1 - hw/arm/palm.c | 1 - hw/arm/realview.c | 1 - hw/arm/sbsa-ref.c | 1 - hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 1 - hw/arm/versatilepb.c | 1 - hw/arm/vexpress.c | 1 - hw/arm/virt.c | 1 - hw/arm/xilinx_zynq.c | 1 - hw/arm/xlnx-versal-virt.c | 1 - hw/arm/xlnx-zynqmp.c | 1 - hw/char/mchp_pfsoc_mmuart.c | 1 - hw/core/loader.c | 1 - hw/cris/axis_dev88.c | 1 - hw/dma/pl080.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/lasi.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - hw/i386/xen/xen-hvm.c | 1 - hw/i386/xen/xen_platform.c | 1 - hw/intc/openpic_kvm.c | 1 - hw/isa/lpc_ich9.c | 1 - hw/isa/vt82c686.c | 1 - hw/lm32/lm32_boards.c | 1 - hw/lm32/milkymist.c | 1 - hw/m68k/an5206.c | 1 - hw/m68k/mcf5208.c | 1 - hw/m68k/next-cube.c | 1 - hw/m68k/next-kbd.c | 1 - hw/m68k/q800.c | 1 - hw/m68k/virt.c | 1 - hw/mem/sparse-mem.c | 1 - hw/mips/boston.c | 1 - hw/mips/fuloong2e.c | 1 - hw/mips/gt64xxx_pci.c | 1 - hw/mips/jazz.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/mips/malta.c | 1 - hw/mips/mipssim.c | 1 - hw/moxie/moxiesim.c | 1 - hw/net/msf2-emac.c | 1 - hw/nvram/nrf51_nvm.c | 1 - hw/openrisc/openrisc_sim.c | 1 - hw/pci-host/bonito.c | 1 - hw/pci-host/ppce500.c | 1 - hw/pci-host/prep.c | 1 - hw/pci-host/sabre.c | 1 - hw/pci-host/sh_pci.c | 1 - hw/pci/pci.c | 1 - hw/pci/pcie_host.c | 1 - hw/ppc/e500.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/pnv_psi.c | 1 - hw/ppc/ppc405_boards.c | 1 - hw/ppc/ppc440_bamboo.c | 1 - hw/ppc/ppc440_pcix.c | 1 - hw/ppc/ppc440_uc.c | 1 - hw/ppc/ppc4xx_pci.c | 1 - hw/ppc/prep.c | 1 - hw/ppc/sam460ex.c | 1 - hw/ppc/spapr.c | 1 - hw/ppc/spapr_iommu.c | 1 - hw/ppc/spapr_pci.c | 1 - hw/ppc/virtex_ml507.c | 1 - hw/remote/machine.c | 1 - hw/remote/memory.c | 1 - hw/remote/proxy-memory-listener.c | 1 - hw/riscv/opentitan.c | 1 - hw/riscv/sifive_e.c | 1 - hw/rtc/m48t59.c | 1 - hw/rtc/mc146818rtc.c | 1 - hw/s390x/s390-virtio-ccw.c | 1 - hw/sh4/r2d.c | 1 - hw/sh4/shix.c | 1 - hw/sparc/leon3.c | 1 - hw/sparc64/niagara.c | 1 - hw/ssi/aspeed_smc.c | 1 - hw/tpm/tpm_crb.c | 1 - hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/virtio/vhost.c | 1 - hw/virtio/virtio.c | 1 - hw/xen/xen_pt.c | 1 - hw/xtensa/sim.c | 1 - hw/xtensa/virt.c | 1 - hw/xtensa/xtfpga.c | 1 - softmmu/memory.c | 1 - softmmu/physmem.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_mmu.c | 1 - target/i386/sev.c | 1 - target/s390x/diag.c | 1 - target/xtensa/op_helper.c | 1 - tests/qtest/fuzz/generic_fuzz.c | 2 -- tests/qtest/fuzz/qos_fuzz.c | 1 - 125 files changed, 126 deletions(-)
accel/kvm/kvm-all.c +0 -1
@@ -33,7 +33,6 @@#include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h" -#include "exec/address-spaces.h" #include "qemu/event_notifier.h" #include "qemu/main-loop.h" #include "trace.h"
accel/tcg/cputlb.c +0 -1
@@ -22,7 +22,6 @@#include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "exec/cpu_ldst.h" #include "exec/cputlb.h" #include "exec/tb-hash.h"
hw/acpi/generic_event_device.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/acpi/acpi.h" #include "hw/acpi/generic_event_device.h" #include "hw/irq.h"
hw/acpi/ich9.c +0 -1
@@ -35,7 +35,6 @@#include "sysemu/runstate.h" #include "hw/acpi/acpi.h" #include "hw/acpi/tco.h" -#include "exec/address-spaces.h" #include "hw/i386/ich9.h" #include "hw/mem/pc-dimm.h"
hw/acpi/pcihp.c +0 -1
@@ -31,7 +31,6 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/acpi/acpi.h" -#include "exec/address-spaces.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h" #include "qapi/error.h"
hw/acpi/piix4.c +0 -1
@@ -33,7 +33,6 @@#include "sysemu/xen.h" #include "qapi/error.h" #include "qemu/range.h" -#include "exec/address-spaces.h" #include "hw/acpi/pcihp.h" #include "hw/acpi/cpu_hotplug.h" #include "hw/acpi/cpu.h"
hw/alpha/typhoon.c +0 -1
@@ -13,7 +13,6 @@#include "cpu.h" #include "hw/irq.h" #include "alpha_sys.h" -#include "exec/address-spaces.h" #include "qom/object.h"
hw/arm/allwinner-a10.c +0 -1
@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/module.h" #include "hw/sysbus.h"
hw/arm/allwinner-h3.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/module.h"
hw/arm/armv7m.c +0 -1
@@ -18,7 +18,6 @@#include "sysemu/reset.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "target/arm/idau.h" /* Bitbanded IO. Each word corresponds to a single bit. */
hw/arm/aspeed.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h"
hw/arm/aspeed_ast2600.c +0 -1
@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" #include "hw/char/serial.h"
hw/arm/aspeed_soc.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" #include "hw/char/serial.h"
hw/arm/boot.c +0 -1
@@ -25,7 +25,6 @@#include "sysemu/device_tree.h" #include "qemu/config-file.h" #include "qemu/option.h" -#include "exec/address-spaces.h" #include "qemu/units.h" /* Kernel boot protocol is specified in the kernel docs
hw/arm/cubieboard.c +0 -1
@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "hw/boards.h" #include "hw/qdev-properties.h"
hw/arm/digic_boards.c +0 -1
@@ -28,7 +28,6 @@#include "qemu-common.h" #include "qemu/datadir.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/arm/digic.h" #include "hw/block/flash.h"
hw/arm/fsl-imx25.c +0 -1
@@ -26,7 +26,6 @@#include "qapi/error.h" #include "hw/arm/fsl-imx25.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "chardev/char.h"
hw/arm/highbank.c +0 -1
@@ -29,7 +29,6 @@#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" #include "hw/ide/ahci.h"
hw/arm/imx25_pdk.c +0 -1
@@ -29,7 +29,6 @@#include "hw/arm/fsl-imx25.h" #include "hw/boards.h" #include "qemu/error-report.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "hw/i2c/i2c.h" #include "qemu/cutils.h"
hw/arm/musicpal.c +0 -1
@@ -31,7 +31,6 @@#include "sysemu/block-backend.h" #include "sysemu/runstate.h" #include "sysemu/dma.h" -#include "exec/address-spaces.h" #include "ui/pixel_ops.h" #include "qemu/cutils.h" #include "qom/object.h"
hw/arm/npcm7xx.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/npcm7xx.h" #include "hw/char/serial.h"
hw/arm/npcm7xx_boards.c +0 -1
@@ -16,7 +16,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/arm/npcm7xx.h" #include "hw/core/cpu.h" #include "hw/i2c/smbus_eeprom.h"
hw/arm/nrf51_soc.c +0 -1
@@ -13,7 +13,6 @@#include "hw/arm/boot.h" #include "hw/sysbus.h" #include "hw/misc/unimp.h" -#include "exec/address-spaces.h" #include "qemu/log.h" #include "hw/arm/nrf51.h"
hw/arm/nseries.c +0 -1
@@ -43,7 +43,6 @@#include "hw/loader.h" #include "hw/sysbus.h" #include "qemu/log.h" -#include "exec/address-spaces.h" /* Nokia N8x0 support */ struct n800_s {
hw/arm/palm.c +0 -1
@@ -29,7 +29,6 @@#include "hw/input/tsc2xxx.h" #include "hw/irq.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "cpu.h" #include "qemu/cutils.h" #include "qom/object.h"
hw/arm/realview.c +0 -1
@@ -20,7 +20,6 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/i2c/i2c.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" #include "hw/cpu/a9mpcore.h"
hw/arm/sbsa-ref.c +0 -1
@@ -27,7 +27,6 @@#include "sysemu/numa.h" #include "sysemu/runstate.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" #include "exec/hwaddr.h" #include "kvm_arm.h" #include "hw/arm/boot.h"
hw/arm/smmu-common.c +0 -1
@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "trace.h" #include "exec/target_page.h" #include "hw/core/cpu.h"
hw/arm/smmuv3.c +0 -1
@@ -23,7 +23,6 @@#include "migration/vmstate.h" #include "hw/qdev-core.h" #include "hw/pci/pci.h" -#include "exec/address-spaces.h" #include "cpu.h" #include "trace.h" #include "qemu/log.h"
hw/arm/versatilepb.c +0 -1
@@ -21,7 +21,6 @@#include "hw/i2c/arm_sbcon_i2c.h" #include "hw/irq.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "hw/block/flash.h" #include "qemu/error-report.h" #include "hw/char/pl011.h"
hw/arm/vexpress.c +0 -1
@@ -35,7 +35,6 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "hw/block/flash.h" #include "sysemu/device_tree.h" #include "qemu/error-report.h"
hw/arm/virt.c +0 -1
@@ -50,7 +50,6 @@#include "sysemu/tpm.h" #include "sysemu/kvm.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/bitops.h" #include "qemu/error-report.h" #include "qemu/module.h"
hw/arm/xilinx_zynq.c +0 -1
@@ -22,7 +22,6 @@#include "hw/sysbus.h" #include "hw/arm/boot.h" #include "net/net.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/block/flash.h"
hw/arm/xlnx-versal-virt.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "sysemu/device_tree.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "hw/sysbus.h" #include "hw/arm/sysbus-fdt.h"
hw/arm/xlnx-zynqmp.c +0 -1
@@ -21,7 +21,6 @@#include "hw/arm/xlnx-zynqmp.h" #include "hw/intc/arm_gic_common.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "sysemu/kvm.h" #include "sysemu/sysemu.h" #include "kvm_arm.h"
hw/char/mchp_pfsoc_mmuart.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "chardev/char.h" -#include "exec/address-spaces.h" #include "hw/char/mchp_pfsoc_mmuart.h" static uint64_t mchp_pfsoc_mmuart_read (void *opaque,hwaddr addr,unsigned size)
hw/core/loader.c +0 -1
@@ -57,7 +57,6 @@#include "hw/loader.h" #include "hw/nvram/fw_cfg.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "qemu/cutils.h" #include "sysemu/runstate.h"
hw/cris/axis_dev88.c +0 -1
@@ -34,7 +34,6 @@#include "hw/loader.h" #include "elf.h" #include "boot.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/sysemu.h"
hw/dma/pl080.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "exec/address-spaces.h" #include "qemu/log.h" #include "qemu/module.h" #include "hw/dma/pl080.h"
hw/hppa/dino.c +0 -1
@@ -19,7 +19,6 @@#include "hw/pci/pci_bus.h" #include "migration/vmstate.h" #include "hppa_sys.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h"
hw/hppa/lasi.c +0 -1
@@ -22,7 +22,6 @@#include "hw/char/parallel.h" #include "hw/char/serial.h" #include "hw/input/lasips2.h" -#include "exec/address-spaces.h" #include "migration/vmstate.h" #include "qom/object.h"
hw/i386/intel_iommu.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/main-loop.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "intel_iommu_internal.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h"
hw/i386/pc.c +0 -1
@@ -65,7 +65,6 @@#include "hw/xen/start_info.h" #include "ui/qemu-spice.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "sysemu/arch_init.h" #include "qemu/bitmap.h" #include "qemu/config-file.h"
hw/i386/pc_piix.c +0 -1
@@ -47,7 +47,6 @@#include "hw/i2c/smbus_eeprom.h" #include "hw/xen/xen-x86.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/acpi/acpi.h" #include "qapi/error.h" #include "qemu/error-report.h"
hw/i386/pc_q35.c +0 -1
@@ -38,7 +38,6 @@#include "hw/kvm/clock.h" #include "hw/pci-host/q35.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "hw/i386/x86.h" #include "hw/i386/pc.h" #include "hw/i386/ich9.h"
hw/i386/xen/xen-hvm.c +0 -1
@@ -33,7 +33,6 @@#include "sysemu/xen.h" #include "sysemu/xen-mapcache.h" #include "trace.h" -#include "exec/address-spaces.h" #include <xen/hvm/ioreq.h> #include <xen/hvm/e820.h>
hw/i386/xen/xen_platform.c +0 -1
@@ -31,7 +31,6 @@#include "migration/vmstate.h" #include "hw/xen/xen-legacy-backend.h" #include "trace.h" -#include "exec/address-spaces.h" #include "sysemu/xen.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h"
hw/intc/openpic_kvm.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include <sys/ioctl.h> -#include "exec/address-spaces.h" #include "hw/ppc/openpic.h" #include "hw/ppc/openpic_kvm.h" #include "hw/pci/msi.h"
hw/isa/lpc_ich9.c +0 -1
@@ -44,7 +44,6 @@#include "hw/acpi/ich9.h" #include "hw/pci/pci_bus.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/core/cpu.h"
hw/isa/vt82c686.c +0 -1
@@ -30,7 +30,6 @@#include "qemu/module.h" #include "qemu/range.h" #include "qemu/timer.h" -#include "exec/address-spaces.h" #include "trace.h" #define TYPE_VIA_PM "via-pm"
hw/lm32/lm32_boards.c +0 -1
@@ -30,7 +30,6 @@#include "elf.h" #include "lm32_hwsetup.h" #include "lm32.h" -#include "exec/address-spaces.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h"
hw/lm32/milkymist.c +0 -1
@@ -37,7 +37,6 @@#include "hw/display/milkymist_tmu2.h" #include "hw/sd/sd.h" #include "lm32.h" -#include "exec/address-spaces.h" #include "qemu/cutils.h" #define BIOS_FILENAME "mmone-bios.bin"
hw/m68k/an5206.c +0 -1
@@ -13,7 +13,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/m68k/mcf5208.c +0 -1
@@ -26,7 +26,6 @@#include "hw/loader.h" #include "hw/sysbus.h" #include "elf.h" -#include "exec/address-spaces.h" #define SYS_FREQ 166666666
hw/m68k/next-cube.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "exec/hwaddr.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "hw/irq.h"
hw/m68k/next-kbd.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "hw/m68k/next-cube.h" #include "ui/console.h"
hw/m68k/q800.c +0 -1
@@ -31,7 +31,6 @@#include "elf.h" #include "hw/loader.h" #include "ui/console.h" -#include "exec/address-spaces.h" #include "hw/char/escc.h" #include "hw/sysbus.h" #include "hw/scsi/esp.h"
hw/m68k/virt.c +0 -1
@@ -17,7 +17,6 @@#include "elf.h" #include "hw/loader.h" #include "ui/console.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "standard-headers/asm-m68k/bootinfo.h" #include "standard-headers/asm-m68k/bootinfo-virt.h"
hw/mem/sparse-mem.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qapi/error.h"
hw/mips/boston.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "hw/char/serial.h" #include "hw/ide/pci.h"
hw/mips/fuloong2e.c +0 -1
@@ -38,7 +38,6 @@#include "hw/qdev-properties.h" #include "elf.h" #include "hw/isa/vt82c686.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h"
hw/mips/gt64xxx_pci.c +0 -1
@@ -33,7 +33,6 @@#include "migration/vmstate.h" #include "hw/intc/i8259.h" #include "hw/irq.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h"
hw/mips/jazz.c +0 -1
@@ -47,7 +47,6 @@#include "hw/audio/pcspk.h" #include "hw/input/i8042.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "qapi/error.h"
hw/mips/loongson3_virt.c +0 -1
@@ -47,7 +47,6 @@#include "hw/pci-host/gpex.h" #include "hw/usb.h" #include "net/net.h" -#include "exec/address-spaces.h" #include "sysemu/kvm.h" #include "sysemu/qtest.h" #include "sysemu/reset.h"
hw/mips/malta.c +0 -1
@@ -45,7 +45,6 @@#include "hw/irq.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "qom/object.h" #include "hw/sysbus.h" /* SysBusDevice */ #include "qemu/host-utils.h"
hw/mips/mipssim.c +0 -1
@@ -42,7 +42,6 @@#include "elf.h" #include "hw/sysbus.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" #include "sysemu/reset.h"
hw/moxie/moxiesim.c +0 -1
@@ -35,7 +35,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "hw/char/serial.h" -#include "exec/address-spaces.h" #include "elf.h" #define PHYS_MEM_BASE 0x80000000
hw/net/msf2-emac.c +0 -1
@@ -32,7 +32,6 @@#include "qemu-common.h" #include "qemu/log.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/registerfields.h" #include "hw/net/msf2-emac.h" #include "hw/net/mii.h"
hw/nvram/nrf51_nvm.c +0 -1
@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "hw/arm/nrf51.h" #include "hw/nvram/nrf51_nvm.h" #include "hw/qdev-properties.h"
hw/openrisc/openrisc_sim.c +0 -1
@@ -29,7 +29,6 @@#include "net/net.h" #include "hw/loader.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "sysemu/qtest.h"
hw/pci-host/bonito.c +0 -1
@@ -49,7 +49,6 @@#include "migration/vmstate.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/registerfields.h" #include "qom/object.h"
hw/pci-host/ppce500.c +0 -1
@@ -415,7 +415,6 @@ static const VMStateDescription vmstate_ppce500_pci = { } }; -#include "exec/address-spaces.h" static void e500_pcihost_bridge_realize (PCIDevice *d,Error **errp) {
hw/pci-host/prep.c +0 -1
@@ -38,7 +38,6 @@#include "hw/irq.h" #include "hw/loader.h" #include "hw/or-irq.h" -#include "exec/address-spaces.h" #include "elf.h" #include "qom/object.h"
hw/pci-host/sabre.c +0 -1
@@ -34,7 +34,6 @@#include "hw/irq.h" #include "hw/pci-bridge/simba.h" #include "hw/pci-host/sabre.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h"
hw/pci-host/sh_pci.c +0 -1
@@ -30,7 +30,6 @@#include "hw/pci/pci_host.h" #include "qemu/bswap.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "qom/object.h" #define TYPE_SH_PCI_HOST_BRIDGE "sh_pci"
hw/pci/pci.c +0 -1
@@ -45,7 +45,6 @@#include "trace.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "exec/address-spaces.h" #include "hw/hotplug.h" #include "hw/boards.h" #include "qapi/error.h"
hw/pci/pcie_host.c +0 -1
@@ -23,7 +23,6 @@#include "hw/pci/pci.h" #include "hw/pci/pcie_host.h" #include "qemu/module.h" -#include "exec/address-spaces.h" /* a helper function to get a PCIDevice for a given mmconfig address */ static inline PCIDevice *pcie_dev_find_by_mmcfg_addr(PCIBus *s,
hw/ppc/e500.c +0 -1
@@ -38,7 +38,6 @@#include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "qemu/host-utils.h" #include "qemu/option.h" #include "hw/pci-host/ppce500.h"
hw/ppc/mac_newworld.c +0 -1
@@ -70,7 +70,6 @@#include "sysemu/reset.h" #include "kvm_ppc.h" #include "hw/usb.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "trace.h"
hw/ppc/mac_oldworld.c +0 -1
@@ -48,7 +48,6 @@#include "sysemu/kvm.h" #include "sysemu/reset.h" #include "kvm_ppc.h" -#include "exec/address-spaces.h" #define MAX_IDE_BUS 2#define CFG_ADDR 0xf0000510
hw/ppc/pnv.c +0 -1
@@ -38,7 +38,6 @@#include "hw/ppc/pnv_core.h" #include "hw/loader.h" #include "hw/nmi.h" -#include "exec/address-spaces.h" #include "qapi/visitor.h" #include "monitor/monitor.h" #include "hw/intc/intc.h"
hw/ppc/pnv_psi.c +0 -1
@@ -26,7 +26,6 @@#include "qapi/error.h" #include "monitor/monitor.h" -#include "exec/address-spaces.h" #include "hw/ppc/fdt.h" #include "hw/ppc/pnv.h"
hw/ppc/ppc405_boards.c +0 -1
@@ -40,7 +40,6 @@#include "hw/boards.h" #include "qemu/error-report.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/cutils.h" #define BIOS_FILENAME "ppc405_rom.bin"
hw/ppc/ppc440_bamboo.c +0 -1
@@ -25,7 +25,6 @@#include "sysemu/device_tree.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "hw/char/serial.h" #include "hw/ppc/ppc.h" #include "ppc405.h"
hw/ppc/ppc440_pcix.c +0 -1
@@ -28,7 +28,6 @@#include "hw/ppc/ppc4xx.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h"
hw/ppc/ppc440_uc.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/log.h" #include "qemu/module.h" #include "hw/irq.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "hw/ppc/ppc.h" #include "hw/qdev-properties.h"
hw/ppc/ppc4xx_pci.c +0 -1
@@ -28,7 +28,6 @@#include "sysemu/reset.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h"
hw/ppc/prep.c +0 -1
@@ -43,7 +43,6 @@#include "sysemu/arch_init.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" -#include "exec/address-spaces.h" #include "trace.h" #include "elf.h" #include "qemu/units.h"
hw/ppc/sam460ex.c +0 -1
@@ -24,7 +24,6 @@#include "sysemu/block-backend.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "ppc440.h" #include "ppc405.h"
hw/ppc/spapr.c +0 -1
@@ -69,7 +69,6 @@#include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost-scsi-common.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/usb.h" #include "qemu/config-file.h"
hw/ppc/spapr_iommu.c +0 -1
@@ -25,7 +25,6 @@#include "kvm_ppc.h" #include "migration/vmstate.h" #include "sysemu/dma.h" -#include "exec/address-spaces.h" #include "trace.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_pci.c +0 -1
@@ -34,7 +34,6 @@#include "hw/pci/pci_host.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include <libfdt.h> #include "trace.h"
hw/ppc/virtex_ml507.c +0 -1
@@ -39,7 +39,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/option.h" -#include "exec/address-spaces.h" #include "hw/intc/ppc-uic.h" #include "hw/ppc/ppc.h"
hw/remote/machine.c +0 -1
@@ -17,7 +17,6 @@#include "qemu-common.h" #include "hw/remote/machine.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "qapi/error.h" #include "hw/pci/pci_host.h"
hw/remote/memory.c +0 -1
@@ -12,7 +12,6 @@#include "qemu-common.h" #include "hw/remote/memory.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "qapi/error.h"
hw/remote/proxy-memory-listener.c +0 -1
@@ -15,7 +15,6 @@#include "exec/memory.h" #include "exec/cpu-common.h" #include "exec/ram_addr.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "hw/remote/mpqemu-link.h" #include "hw/remote/proxy-memory-listener.h"
hw/riscv/opentitan.c +0 -1
@@ -24,7 +24,6 @@#include "hw/boards.h" #include "hw/misc/unimp.h" #include "hw/riscv/boot.h" -#include "exec/address-spaces.h" #include "qemu/units.h" #include "sysemu/sysemu.h"
hw/riscv/sifive_e.c +0 -1
@@ -47,7 +47,6 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" static MemMapEntry sifive_e_memmap[] = { [SIFIVE_E_DEV_DEBUG ] = {0x0 ,0x1000 },
hw/rtc/m48t59.c +0 -1
@@ -32,7 +32,6 @@#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/bcd.h" #include "qemu/module.h"
hw/rtc/mc146818rtc.c +0 -1
@@ -42,7 +42,6 @@#include "qapi/error.h" #include "qapi/qapi-events-misc-target.h" #include "qapi/visitor.h" -#include "exec/address-spaces.h" #include "hw/rtc/mc146818rtc_regs.h" #ifdef TARGET_I386
hw/s390x/s390-virtio-ccw.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/s390x/s390-virtio-hcall.h" #include "hw/s390x/sclp.h"
hw/sh4/r2d.c +0 -1
@@ -42,7 +42,6 @@#include "hw/loader.h" #include "hw/usb.h" #include "hw/block/flash.h" -#include "exec/address-spaces.h" #define FLASH_BASE 0x00000000#define FLASH_SIZE (16 * MiB)
hw/sh4/shix.c +0 -1
@@ -34,7 +34,6 @@#include "sysemu/qtest.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #define BIOS_FILENAME "shix_bios.bin"
hw/sparc/leon3.c +0 -1
@@ -40,7 +40,6 @@#include "hw/loader.h" #include "elf.h" #include "trace.h" -#include "exec/address-spaces.h" #include "hw/sparc/grlib.h" #include "hw/misc/grlib_ahb_apb_pnp.h"
hw/sparc64/niagara.c +0 -1
@@ -31,7 +31,6 @@#include "hw/loader.h" #include "hw/sparc/sparc64.h" #include "hw/rtc/sun4v-rtc.h" -#include "exec/address-spaces.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/ssi/aspeed_smc.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/module.h" #include "qemu/error-report.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "qemu/units.h" #include "trace.h"
hw/tpm/tpm_crb.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/module.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "hw/pci/pci_ids.h" #include "hw/acpi/tpm.h"
hw/tricore/tc27x_soc.c +0 -1
@@ -24,7 +24,6 @@#include "hw/loader.h" #include "qemu/units.h" #include "hw/misc/unimp.h" -#include "exec/address-spaces.h" #include "hw/tricore/tc27x_soc.h" #include "hw/tricore/triboard.h"
hw/tricore/triboard.c +0 -1
@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "net/net.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "qemu/error-report.h"
hw/tricore/tricore_testboard.c +0 -1
@@ -25,7 +25,6 @@#include "net/net.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "qemu/error-report.h"
hw/virtio/vhost.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/error-report.h" #include "qemu/memfd.h" #include "standard-headers/linux/vhost_types.h" -#include "exec/address-spaces.h" #include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" #include "migration/blocker.h"
hw/virtio/virtio.c +0 -1
@@ -15,7 +15,6 @@#include "qapi/error.h" #include "cpu.h" #include "trace.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "qemu/log.h" #include "qemu/main-loop.h"
hw/xen/xen_pt.c +0 -1
@@ -64,7 +64,6 @@#include "hw/xen/xen-legacy-backend.h" #include "xen_pt.h" #include "qemu/range.h" -#include "exec/address-spaces.h" static bool has_igd_gfx_passthru;
hw/xtensa/sim.c +0 -1
@@ -33,7 +33,6 @@#include "hw/loader.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "xtensa_memory.h" #include "xtensa_sim.h"
hw/xtensa/virt.c +0 -1
@@ -34,7 +34,6 @@#include "net/net.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "xtensa_memory.h" #include "xtensa_sim.h"
hw/xtensa/xtfpga.c +0 -1
@@ -35,7 +35,6 @@#include "hw/qdev-properties.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/char/serial.h" #include "net/net.h" #include "hw/sysbus.h"
softmmu/memory.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/log.h" #include "qapi/error.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qapi/visitor.h" #include "qemu/bitops.h" #include "qemu/error-report.h"
softmmu/physmem.c +0 -1
@@ -46,7 +46,6 @@#include "sysemu/dma.h" #include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" -#include "exec/address-spaces.h" #include "sysemu/xen-mapcache.h" #include "trace/trace-root.h"
target/i386/hvf/hvf.c +0 -1
@@ -67,7 +67,6 @@#include <Hypervisor/hv_vmx.h> #include <sys/sysctl.h> -#include "exec/address-spaces.h" #include "hw/i386/apic_internal.h" #include "qemu/main-loop.h" #include "qemu/accel.h"
target/i386/hvf/x86_mmu.c +0 -1
@@ -24,7 +24,6 @@#include "x86_mmu.h" #include "vmcs.h" #include "vmx.h" -#include "exec/address-spaces.h" #define pte_present (pte) (pte & PT_PRESENT)#define pte_write_access (pte) (pte & PT_WRITE)
target/i386/sev.c +0 -1
@@ -30,7 +30,6 @@#include "trace.h" #include "migration/blocker.h" #include "qom/object.h" -#include "exec/address-spaces.h" #include "monitor/monitor.h" #include "exec/confidential-guest-support.h" #include "hw/i386/pc.h"
target/s390x/diag.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internal.h" -#include "exec/address-spaces.h" #include "hw/watchdog/wdt_diag288.h" #include "sysemu/cpus.h" #include "hw/s390x/ipl.h"
target/xtensa/op_helper.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/host-utils.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" -#include "exec/address-spaces.h" #include "qemu/timer.h" #ifndef CONFIG_USER_ONLY
tests/qtest/fuzz/generic_fuzz.c +0 -2
@@ -19,11 +19,9 @@#include "tests/qtest/libqos/pci-pc.h" #include "fuzz.h" #include "fork_fuzz.h" -#include "exec/address-spaces.h" #include "string.h" #include "exec/memory.h" #include "exec/ramblock.h" -#include "exec/address-spaces.h" #include "hw/qdev-core.h" #include "hw/pci/pci.h" #include "hw/boards.h"
tests/qtest/fuzz/qos_fuzz.c +0 -1
@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/main-loop.h" #include "tests/qtest/libqos/libqtest.h"
Signature · 1 line
2.27.0
Laurent Vivier
AppliedRe: [PATCH 4/4] Do not include exec/address-spaces.h if it's not really necessary
Le 16/04/2021 à 19:13, Thomas Huth a écrit :
Quoted 1,629 lines
Stop including
exec/address-spaces.hin files that don't need it.Signed-off-by Thomas Huth <[email protected]>--- accel/kvm/kvm-all.c | 1 - accel/tcg/cputlb.c | 1 - hw/acpi/generic_event_device.c | 1 - hw/acpi/ich9.c | 1 - hw/acpi/pcihp.c | 1 - hw/acpi/piix4.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/allwinner-h3.c | 1 - hw/arm/armv7m.c | 1 - hw/arm/aspeed.c | 1 - hw/arm/aspeed_ast2600.c | 1 - hw/arm/aspeed_soc.c | 1 - hw/arm/boot.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/fsl-imx25.c | 1 - hw/arm/highbank.c | 1 - hw/arm/imx25_pdk.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/npcm7xx.c | 1 - hw/arm/npcm7xx_boards.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/nseries.c | 1 - hw/arm/palm.c | 1 - hw/arm/realview.c | 1 - hw/arm/sbsa-ref.c | 1 - hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 1 - hw/arm/versatilepb.c | 1 - hw/arm/vexpress.c | 1 - hw/arm/virt.c | 1 - hw/arm/xilinx_zynq.c | 1 - hw/arm/xlnx-versal-virt.c | 1 - hw/arm/xlnx-zynqmp.c | 1 - hw/char/mchp_pfsoc_mmuart.c | 1 - hw/core/loader.c | 1 - hw/cris/axis_dev88.c | 1 - hw/dma/pl080.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/lasi.c | 1 - hw/i386/intel_iommu.c | 1 - hw/i386/pc.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - hw/i386/xen/xen-hvm.c | 1 - hw/i386/xen/xen_platform.c | 1 - hw/intc/openpic_kvm.c | 1 - hw/isa/lpc_ich9.c | 1 - hw/isa/vt82c686.c | 1 - hw/lm32/lm32_boards.c | 1 - hw/lm32/milkymist.c | 1 - hw/m68k/an5206.c | 1 - hw/m68k/mcf5208.c | 1 - hw/m68k/next-cube.c | 1 - hw/m68k/next-kbd.c | 1 - hw/m68k/q800.c | 1 - hw/m68k/virt.c | 1 - hw/mem/sparse-mem.c | 1 - hw/mips/boston.c | 1 - hw/mips/fuloong2e.c | 1 - hw/mips/gt64xxx_pci.c | 1 - hw/mips/jazz.c | 1 - hw/mips/loongson3_virt.c | 1 - hw/mips/malta.c | 1 - hw/mips/mipssim.c | 1 - hw/moxie/moxiesim.c | 1 - hw/net/msf2-emac.c | 1 - hw/nvram/nrf51_nvm.c | 1 - hw/openrisc/openrisc_sim.c | 1 - hw/pci-host/bonito.c | 1 - hw/pci-host/ppce500.c | 1 - hw/pci-host/prep.c | 1 - hw/pci-host/sabre.c | 1 - hw/pci-host/sh_pci.c | 1 - hw/pci/pci.c | 1 - hw/pci/pcie_host.c | 1 - hw/ppc/e500.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/pnv_psi.c | 1 - hw/ppc/ppc405_boards.c | 1 - hw/ppc/ppc440_bamboo.c | 1 - hw/ppc/ppc440_pcix.c | 1 - hw/ppc/ppc440_uc.c | 1 - hw/ppc/ppc4xx_pci.c | 1 - hw/ppc/prep.c | 1 - hw/ppc/sam460ex.c | 1 - hw/ppc/spapr.c | 1 - hw/ppc/spapr_iommu.c | 1 - hw/ppc/spapr_pci.c | 1 - hw/ppc/virtex_ml507.c | 1 - hw/remote/machine.c | 1 - hw/remote/memory.c | 1 - hw/remote/proxy-memory-listener.c | 1 - hw/riscv/opentitan.c | 1 - hw/riscv/sifive_e.c | 1 - hw/rtc/m48t59.c | 1 - hw/rtc/mc146818rtc.c | 1 - hw/s390x/s390-virtio-ccw.c | 1 - hw/sh4/r2d.c | 1 - hw/sh4/shix.c | 1 - hw/sparc/leon3.c | 1 - hw/sparc64/niagara.c | 1 - hw/ssi/aspeed_smc.c | 1 - hw/tpm/tpm_crb.c | 1 - hw/tricore/tc27x_soc.c | 1 - hw/tricore/triboard.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/virtio/vhost.c | 1 - hw/virtio/virtio.c | 1 - hw/xen/xen_pt.c | 1 - hw/xtensa/sim.c | 1 - hw/xtensa/virt.c | 1 - hw/xtensa/xtfpga.c | 1 - softmmu/memory.c | 1 - softmmu/physmem.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_mmu.c | 1 - target/i386/sev.c | 1 - target/s390x/diag.c | 1 - target/xtensa/op_helper.c | 1 - tests/qtest/fuzz/generic_fuzz.c | 2 -- tests/qtest/fuzz/qos_fuzz.c | 1 - 125 files changed, 126 deletions(-)accel/kvm/kvm-all.c +0
-1@@ -33,7 +33,6 @@#include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h" -#include "exec/address-spaces.h" #include "qemu/event_notifier.h" #include "qemu/main-loop.h" #include "trace.h" accel/tcg/cputlb.c +0
-1@@ -22,7 +22,6 @@#include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "exec/cpu_ldst.h" #include "exec/cputlb.h" #include "exec/tb-hash.h" hw/acpi/generic_event_device.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/acpi/acpi.h" #include "hw/acpi/generic_event_device.h" #include "hw/irq.h" hw/acpi/ich9.c +0
-1@@ -35,7 +35,6 @@#include "sysemu/runstate.h" #include "hw/acpi/acpi.h" #include "hw/acpi/tco.h" -#include "exec/address-spaces.h" #include "hw/i386/ich9.h" #include "hw/mem/pc-dimm.h" hw/acpi/pcihp.c +0
-1@@ -31,7 +31,6 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/acpi/acpi.h" -#include "exec/address-spaces.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h" #include "qapi/error.h" hw/acpi/piix4.c +0
-1@@ -33,7 +33,6 @@#include "sysemu/xen.h" #include "qapi/error.h" #include "qemu/range.h" -#include "exec/address-spaces.h" #include "hw/acpi/pcihp.h" #include "hw/acpi/cpu_hotplug.h" #include "hw/acpi/cpu.h" hw/alpha/typhoon.c +0
-1@@ -13,7 +13,6 @@#include "cpu.h" #include "hw/irq.h" #include "alpha_sys.h" -#include "exec/address-spaces.h" #include "qom/object.h" hw/arm/allwinner-a10.c +0
-1@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/module.h" #include "hw/sysbus.h" hw/arm/allwinner-h3.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/module.h" hw/arm/armv7m.c +0
-1@@ -18,7 +18,6 @@#include "sysemu/reset.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "target/arm/idau.h" /* Bitbanded IO. Each word corresponds to a single bit. */ hw/arm/aspeed.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" hw/arm/aspeed_ast2600.c +0
-1@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" #include "hw/char/serial.h" hw/arm/aspeed_soc.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" #include "hw/char/serial.h" hw/arm/boot.c +0
-1@@ -25,7 +25,6 @@#include "sysemu/device_tree.h" #include "qemu/config-file.h" #include "qemu/option.h" -#include "exec/address-spaces.h" #include "qemu/units.h" /* Kernel boot protocol is specified in the kernel docs hw/arm/cubieboard.c +0
-1@@ -16,7 +16,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "hw/boards.h" #include "hw/qdev-properties.h" hw/arm/digic_boards.c +0
-1@@ -28,7 +28,6 @@#include "qemu-common.h" #include "qemu/datadir.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/arm/digic.h" #include "hw/block/flash.h" hw/arm/fsl-imx25.c +0
-1@@ -26,7 +26,6 @@#include "qapi/error.h" #include "hw/arm/fsl-imx25.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "chardev/char.h" hw/arm/highbank.c +0
-1@@ -29,7 +29,6 @@#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" #include "hw/ide/ahci.h" hw/arm/imx25_pdk.c +0
-1@@ -29,7 +29,6 @@#include "hw/arm/fsl-imx25.h" #include "hw/boards.h" #include "qemu/error-report.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "hw/i2c/i2c.h" #include "qemu/cutils.h" hw/arm/musicpal.c +0
-1@@ -31,7 +31,6 @@#include "sysemu/block-backend.h" #include "sysemu/runstate.h" #include "sysemu/dma.h" -#include "exec/address-spaces.h" #include "ui/pixel_ops.h" #include "qemu/cutils.h" #include "qom/object.h" hw/arm/npcm7xx.c +0
-1@@ -16,7 +16,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/npcm7xx.h" #include "hw/char/serial.h" hw/arm/npcm7xx_boards.c +0
-1@@ -16,7 +16,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/arm/npcm7xx.h" #include "hw/core/cpu.h" #include "hw/i2c/smbus_eeprom.h" hw/arm/nrf51_soc.c +0
-1@@ -13,7 +13,6 @@#include "hw/arm/boot.h" #include "hw/sysbus.h" #include "hw/misc/unimp.h" -#include "exec/address-spaces.h" #include "qemu/log.h" #include "hw/arm/nrf51.h" hw/arm/nseries.c +0
-1@@ -43,7 +43,6 @@#include "hw/loader.h" #include "hw/sysbus.h" #include "qemu/log.h" -#include "exec/address-spaces.h" /* Nokia N8x0 support */ struct n800_s {hw/arm/palm.c +0
-1@@ -29,7 +29,6 @@#include "hw/input/tsc2xxx.h" #include "hw/irq.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "cpu.h" #include "qemu/cutils.h" #include "qom/object.h" hw/arm/realview.c +0
-1@@ -20,7 +20,6 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/i2c/i2c.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" #include "hw/cpu/a9mpcore.h" hw/arm/sbsa-ref.c +0
-1@@ -27,7 +27,6 @@#include "sysemu/numa.h" #include "sysemu/runstate.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" #include "exec/hwaddr.h" #include "kvm_arm.h" #include "hw/arm/boot.h" hw/arm/smmu-common.c +0
-1@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "trace.h" #include "exec/target_page.h" #include "hw/core/cpu.h" hw/arm/smmuv3.c +0
-1@@ -23,7 +23,6 @@#include "migration/vmstate.h" #include "hw/qdev-core.h" #include "hw/pci/pci.h" -#include "exec/address-spaces.h" #include "cpu.h" #include "trace.h" #include "qemu/log.h" hw/arm/versatilepb.c +0
-1@@ -21,7 +21,6 @@#include "hw/i2c/arm_sbcon_i2c.h" #include "hw/irq.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "hw/block/flash.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" hw/arm/vexpress.c +0
-1@@ -35,7 +35,6 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "hw/block/flash.h" #include "sysemu/device_tree.h" #include "qemu/error-report.h" hw/arm/virt.c +0
-1@@ -50,7 +50,6 @@#include "sysemu/tpm.h" #include "sysemu/kvm.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/bitops.h" #include "qemu/error-report.h" #include "qemu/module.h" hw/arm/xilinx_zynq.c +0
-1@@ -22,7 +22,6 @@#include "hw/sysbus.h" #include "hw/arm/boot.h" #include "net/net.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/block/flash.h" hw/arm/xlnx-versal-virt.c +0
-1@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "sysemu/device_tree.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "hw/sysbus.h" #include "hw/arm/sysbus-fdt.h" hw/arm/xlnx-zynqmp.c +0
-1@@ -21,7 +21,6 @@#include "hw/arm/xlnx-zynqmp.h" #include "hw/intc/arm_gic_common.h" #include "hw/boards.h" -#include "exec/address-spaces.h" #include "sysemu/kvm.h" #include "sysemu/sysemu.h" #include "kvm_arm.h" hw/char/mchp_pfsoc_mmuart.c +0
-1@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "chardev/char.h" -#include "exec/address-spaces.h" #include "hw/char/mchp_pfsoc_mmuart.h" static uint64_t mchp_pfsoc_mmuart_read (void *opaque,hwaddr addr,unsigned size)hw/core/loader.c +0
-1@@ -57,7 +57,6 @@#include "hw/loader.h" #include "hw/nvram/fw_cfg.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "qemu/cutils.h" #include "sysemu/runstate.h" hw/cris/axis_dev88.c +0
-1@@ -34,7 +34,6 @@#include "hw/loader.h" #include "elf.h" #include "boot.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/sysemu.h" hw/dma/pl080.c +0
-1@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "exec/address-spaces.h" #include "qemu/log.h" #include "qemu/module.h" #include "hw/dma/pl080.h" hw/hppa/dino.c +0
-1@@ -19,7 +19,6 @@#include "hw/pci/pci_bus.h" #include "migration/vmstate.h" #include "hppa_sys.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h" hw/hppa/lasi.c +0
-1@@ -22,7 +22,6 @@#include "hw/char/parallel.h" #include "hw/char/serial.h" #include "hw/input/lasips2.h" -#include "exec/address-spaces.h" #include "migration/vmstate.h" #include "qom/object.h" hw/i386/intel_iommu.c +0
-1@@ -24,7 +24,6 @@#include "qemu/main-loop.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "intel_iommu_internal.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" hw/i386/pc.c +0
-1@@ -65,7 +65,6 @@#include "hw/xen/start_info.h" #include "ui/qemu-spice.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "sysemu/arch_init.h" #include "qemu/bitmap.h" #include "qemu/config-file.h" hw/i386/pc_piix.c +0
-1@@ -47,7 +47,6 @@#include "hw/i2c/smbus_eeprom.h" #include "hw/xen/xen-x86.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/acpi/acpi.h" #include "qapi/error.h" #include "qemu/error-report.h" hw/i386/pc_q35.c +0
-1@@ -38,7 +38,6 @@#include "hw/kvm/clock.h" #include "hw/pci-host/q35.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "hw/i386/x86.h" #include "hw/i386/pc.h" #include "hw/i386/ich9.h" hw/i386/xen/xen-hvm.c +0
-1@@ -33,7 +33,6 @@#include "sysemu/xen.h" #include "sysemu/xen-mapcache.h" #include "trace.h" -#include "exec/address-spaces.h" #include <xen/hvm/ioreq.h> #include <xen/hvm/e820.h> hw/i386/xen/xen_platform.c +0
-1@@ -31,7 +31,6 @@#include "migration/vmstate.h" #include "hw/xen/xen-legacy-backend.h" #include "trace.h" -#include "exec/address-spaces.h" #include "sysemu/xen.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h" hw/intc/openpic_kvm.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include <sys/ioctl.h> -#include "exec/address-spaces.h" #include "hw/ppc/openpic.h" #include "hw/ppc/openpic_kvm.h" #include "hw/pci/msi.h" hw/isa/lpc_ich9.c +0
-1@@ -44,7 +44,6 @@#include "hw/acpi/ich9.h" #include "hw/pci/pci_bus.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/core/cpu.h" hw/isa/vt82c686.c +0
-1@@ -30,7 +30,6 @@#include "qemu/module.h" #include "qemu/range.h" #include "qemu/timer.h" -#include "exec/address-spaces.h" #include "trace.h" #define TYPE_VIA_PM "via-pm"hw/lm32/lm32_boards.c +0
-1@@ -30,7 +30,6 @@#include "elf.h" #include "lm32_hwsetup.h" #include "lm32.h" -#include "exec/address-spaces.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" hw/lm32/milkymist.c +0
-1@@ -37,7 +37,6 @@#include "hw/display/milkymist_tmu2.h" #include "hw/sd/sd.h" #include "lm32.h" -#include "exec/address-spaces.h" #include "qemu/cutils.h" #define BIOS_FILENAME "mmone-bios.bin"hw/m68k/an5206.c +0
-1@@ -13,7 +13,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" hw/m68k/mcf5208.c +0
-1@@ -26,7 +26,6 @@#include "hw/loader.h" #include "hw/sysbus.h" #include "elf.h" -#include "exec/address-spaces.h" #define SYS_FREQ 166666666hw/m68k/next-cube.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "exec/hwaddr.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "hw/irq.h" hw/m68k/next-kbd.c +0
-1@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "hw/m68k/next-cube.h" #include "ui/console.h" hw/m68k/q800.c +0
-1@@ -31,7 +31,6 @@#include "elf.h" #include "hw/loader.h" #include "ui/console.h" -#include "exec/address-spaces.h" #include "hw/char/escc.h" #include "hw/sysbus.h" #include "hw/scsi/esp.h" hw/m68k/virt.c +0
-1@@ -17,7 +17,6 @@#include "elf.h" #include "hw/loader.h" #include "ui/console.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "standard-headers/asm-m68k/bootinfo.h" #include "standard-headers/asm-m68k/bootinfo-virt.h" hw/mem/sparse-mem.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qapi/error.h" hw/mips/boston.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "exec/address-spaces.h" #include "hw/boards.h" #include "hw/char/serial.h" #include "hw/ide/pci.h" hw/mips/fuloong2e.c +0
-1@@ -38,7 +38,6 @@#include "hw/qdev-properties.h" #include "elf.h" #include "hw/isa/vt82c686.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" hw/mips/gt64xxx_pci.c +0
-1@@ -33,7 +33,6 @@#include "migration/vmstate.h" #include "hw/intc/i8259.h" #include "hw/irq.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h" hw/mips/jazz.c +0
-1@@ -47,7 +47,6 @@#include "hw/audio/pcspk.h" #include "hw/input/i8042.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "qapi/error.h" hw/mips/loongson3_virt.c +0
-1@@ -47,7 +47,6 @@#include "hw/pci-host/gpex.h" #include "hw/usb.h" #include "net/net.h" -#include "exec/address-spaces.h" #include "sysemu/kvm.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" hw/mips/malta.c +0
-1@@ -45,7 +45,6 @@#include "hw/irq.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "qom/object.h" #include "hw/sysbus.h" /* SysBusDevice */ #include "qemu/host-utils.h" hw/mips/mipssim.c +0
-1@@ -42,7 +42,6 @@#include "elf.h" #include "hw/sysbus.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" hw/moxie/moxiesim.c +0
-1@@ -35,7 +35,6 @@#include "hw/boards.h" #include "hw/loader.h" #include "hw/char/serial.h" -#include "exec/address-spaces.h" #include "elf.h" #define PHYS_MEM_BASE 0x80000000hw/net/msf2-emac.c +0
-1@@ -32,7 +32,6 @@#include "qemu-common.h" #include "qemu/log.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/registerfields.h" #include "hw/net/msf2-emac.h" #include "hw/net/mii.h" hw/nvram/nrf51_nvm.c +0
-1@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "hw/arm/nrf51.h" #include "hw/nvram/nrf51_nvm.h" #include "hw/qdev-properties.h" hw/openrisc/openrisc_sim.c +0
-1@@ -29,7 +29,6 @@#include "net/net.h" #include "hw/loader.h" #include "hw/qdev-properties.h" -#include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "sysemu/qtest.h" hw/pci-host/bonito.c +0
-1@@ -49,7 +49,6 @@#include "migration/vmstate.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" -#include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/registerfields.h" #include "qom/object.h" hw/pci-host/ppce500.c +0
-1@@ -415,7 +415,6 @@ static const VMStateDescription vmstate_ppce500_pci = { } }; -#include "exec/address-spaces.h" static void e500_pcihost_bridge_realize (PCIDevice *d,Error **errp) {hw/pci-host/prep.c +0
-1@@ -38,7 +38,6 @@#include "hw/irq.h" #include "hw/loader.h" #include "hw/or-irq.h" -#include "exec/address-spaces.h" #include "elf.h" #include "qom/object.h" hw/pci-host/sabre.c +0
-1@@ -34,7 +34,6 @@#include "hw/irq.h" #include "hw/pci-bridge/simba.h" #include "hw/pci-host/sabre.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" hw/pci-host/sh_pci.c +0
-1@@ -30,7 +30,6 @@#include "hw/pci/pci_host.h" #include "qemu/bswap.h" #include "qemu/module.h" -#include "exec/address-spaces.h" #include "qom/object.h" #define TYPE_SH_PCI_HOST_BRIDGE "sh_pci"hw/pci/pci.c +0
-1@@ -45,7 +45,6 @@#include "trace.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "exec/address-spaces.h" #include "hw/hotplug.h" #include "hw/boards.h" #include "qapi/error.h" hw/pci/pcie_host.c +0
-1@@ -23,7 +23,6 @@#include "hw/pci/pci.h" #include "hw/pci/pcie_host.h" #include "qemu/module.h" -#include "exec/address-spaces.h" /* a helper function to get a PCIDevice for a given mmconfig address */ static inline PCIDevice *pcie_dev_find_by_mmcfg_addr(PCIBus *s,hw/ppc/e500.c +0
-1@@ -38,7 +38,6 @@#include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "qemu/host-utils.h" #include "qemu/option.h" #include "hw/pci-host/ppce500.h" hw/ppc/mac_newworld.c +0
-1@@ -70,7 +70,6 @@#include "sysemu/reset.h" #include "kvm_ppc.h" #include "hw/usb.h" -#include "exec/address-spaces.h" #include "hw/sysbus.h" #include "trace.h" hw/ppc/mac_oldworld.c +0
-1@@ -48,7 +48,6 @@#include "sysemu/kvm.h" #include "sysemu/reset.h" #include "kvm_ppc.h" -#include "exec/address-spaces.h" #define MAX_IDE_BUS 2#define CFG_ADDR 0xf0000510hw/ppc/pnv.c +0
-1@@ -38,7 +38,6 @@#include "hw/ppc/pnv_core.h" #include "hw/loader.h" #include "hw/nmi.h" -#include "exec/address-spaces.h" #include "qapi/visitor.h" #include "monitor/monitor.h" #include "hw/intc/intc.h" hw/ppc/pnv_psi.c +0
-1@@ -26,7 +26,6 @@#include "qapi/error.h" #include "monitor/monitor.h" -#include "exec/address-spaces.h" #include "hw/ppc/fdt.h" #include "hw/ppc/pnv.h" hw/ppc/ppc405_boards.c +0
-1@@ -40,7 +40,6 @@#include "hw/boards.h" #include "qemu/error-report.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/cutils.h" #define BIOS_FILENAME "ppc405_rom.bin"hw/ppc/ppc440_bamboo.c +0
-1@@ -25,7 +25,6 @@#include "sysemu/device_tree.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "hw/char/serial.h" #include "hw/ppc/ppc.h" #include "ppc405.h" hw/ppc/ppc440_pcix.c +0
-1@@ -28,7 +28,6 @@#include "hw/ppc/ppc4xx.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h" hw/ppc/ppc440_uc.c +0
-1@@ -15,7 +15,6 @@#include "qemu/log.h" #include "qemu/module.h" #include "hw/irq.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "hw/ppc/ppc.h" #include "hw/qdev-properties.h" hw/ppc/ppc4xx_pci.c +0
-1@@ -28,7 +28,6 @@#include "sysemu/reset.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" -#include "exec/address-spaces.h" #include "trace.h" #include "qom/object.h" hw/ppc/prep.c +0
-1@@ -43,7 +43,6 @@#include "sysemu/arch_init.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" -#include "exec/address-spaces.h" #include "trace.h" #include "elf.h" #include "qemu/units.h" hw/ppc/sam460ex.c +0
-1@@ -24,7 +24,6 @@#include "sysemu/block-backend.h" #include "hw/loader.h" #include "elf.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "ppc440.h" #include "ppc405.h" hw/ppc/spapr.c +0
-1@@ -69,7 +69,6 @@#include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost-scsi-common.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/usb.h" #include "qemu/config-file.h" hw/ppc/spapr_iommu.c +0
-1@@ -25,7 +25,6 @@#include "kvm_ppc.h" #include "migration/vmstate.h" #include "sysemu/dma.h" -#include "exec/address-spaces.h" #include "trace.h" #include "hw/ppc/spapr.h" hw/ppc/spapr_pci.c +0
-1@@ -34,7 +34,6 @@#include "hw/pci/pci_host.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include <libfdt.h> #include "trace.h" hw/ppc/virtex_ml507.c +0
-1@@ -39,7 +39,6 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/option.h" -#include "exec/address-spaces.h" #include "hw/intc/ppc-uic.h" #include "hw/ppc/ppc.h" hw/remote/machine.c +0
-1@@ -17,7 +17,6 @@#include "qemu-common.h" #include "hw/remote/machine.h" -#include "exec/address-spaces.h" #include "exec/memory.h" #include "qapi/error.h" #include "hw/pci/pci_host.h" hw/remote/memory.c +0
-1@@ -12,7 +12,6 @@#include "qemu-common.h" #include "hw/remote/memory.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "qapi/error.h" hw/remote/proxy-memory-listener.c +0
-1@@ -15,7 +15,6 @@#include "exec/memory.h" #include "exec/cpu-common.h" #include "exec/ram_addr.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "hw/remote/mpqemu-link.h" #include "hw/remote/proxy-memory-listener.h" hw/riscv/opentitan.c +0
-1@@ -24,7 +24,6 @@#include "hw/boards.h" #include "hw/misc/unimp.h" #include "hw/riscv/boot.h" -#include "exec/address-spaces.h" #include "qemu/units.h" #include "sysemu/sysemu.h" hw/riscv/sifive_e.c +0
-1@@ -47,7 +47,6 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/sysemu.h" -#include "exec/address-spaces.h" static MemMapEntry sifive_e_memmap[] = { [SIFIVE_E_DEV_DEBUG ] = {0x0 ,0x1000 },hw/rtc/m48t59.c +0
-1@@ -32,7 +32,6 @@#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" -#include "exec/address-spaces.h" #include "qapi/error.h" #include "qemu/bcd.h" #include "qemu/module.h" hw/rtc/mc146818rtc.c +0
-1@@ -42,7 +42,6 @@#include "qapi/error.h" #include "qapi/qapi-events-misc-target.h" #include "qapi/visitor.h" -#include "exec/address-spaces.h" #include "hw/rtc/mc146818rtc_regs.h" #ifdef TARGET_I386 hw/s390x/s390-virtio-ccw.c +0
-1@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "exec/ram_addr.h" #include "hw/s390x/s390-virtio-hcall.h" #include "hw/s390x/sclp.h" hw/sh4/r2d.c +0
-1@@ -42,7 +42,6 @@#include "hw/loader.h" #include "hw/usb.h" #include "hw/block/flash.h" -#include "exec/address-spaces.h" #define FLASH_BASE 0x00000000#define FLASH_SIZE (16 * MiB)hw/sh4/shix.c +0
-1@@ -34,7 +34,6 @@#include "sysemu/qtest.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #define BIOS_FILENAME "shix_bios.bin"hw/sparc/leon3.c +0
-1@@ -40,7 +40,6 @@#include "hw/loader.h" #include "elf.h" #include "trace.h" -#include "exec/address-spaces.h" #include "hw/sparc/grlib.h" #include "hw/misc/grlib_ahb_apb_pnp.h" hw/sparc64/niagara.c +0
-1@@ -31,7 +31,6 @@#include "hw/loader.h" #include "hw/sparc/sparc64.h" #include "hw/rtc/sun4v-rtc.h" -#include "exec/address-spaces.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" hw/ssi/aspeed_smc.c +0
-1@@ -29,7 +29,6 @@#include "qemu/module.h" #include "qemu/error-report.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "qemu/units.h" #include "trace.h" hw/tpm/tpm_crb.c +0
-1@@ -18,7 +18,6 @@#include "qemu/module.h" #include "qapi/error.h" -#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "hw/pci/pci_ids.h" #include "hw/acpi/tpm.h" hw/tricore/tc27x_soc.c +0
-1@@ -24,7 +24,6 @@#include "hw/loader.h" #include "qemu/units.h" #include "hw/misc/unimp.h" -#include "exec/address-spaces.h" #include "hw/tricore/tc27x_soc.h" #include "hw/tricore/triboard.h" hw/tricore/triboard.c +0
-1@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "net/net.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "qemu/error-report.h" hw/tricore/tricore_testboard.c +0
-1@@ -25,7 +25,6 @@#include "net/net.h" #include "hw/boards.h" #include "hw/loader.h" -#include "exec/address-spaces.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "qemu/error-report.h" hw/virtio/vhost.c +0
-1@@ -21,7 +21,6 @@#include "qemu/error-report.h" #include "qemu/memfd.h" #include "standard-headers/linux/vhost_types.h" -#include "exec/address-spaces.h" #include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" #include "migration/blocker.h" hw/virtio/virtio.c +0
-1@@ -15,7 +15,6 @@#include "qapi/error.h" #include "cpu.h" #include "trace.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "qemu/log.h" #include "qemu/main-loop.h" hw/xen/xen_pt.c +0
-1@@ -64,7 +64,6 @@#include "hw/xen/xen-legacy-backend.h" #include "xen_pt.h" #include "qemu/range.h" -#include "exec/address-spaces.h" static bool has_igd_gfx_passthru;hw/xtensa/sim.c +0
-1@@ -33,7 +33,6 @@#include "hw/loader.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "xtensa_memory.h" #include "xtensa_sim.h" hw/xtensa/virt.c +0
-1@@ -34,7 +34,6 @@#include "net/net.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/error-report.h" #include "xtensa_memory.h" #include "xtensa_sim.h" hw/xtensa/xtfpga.c +0
-1@@ -35,7 +35,6 @@#include "hw/qdev-properties.h" #include "elf.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "hw/char/serial.h" #include "net/net.h" #include "hw/sysbus.h" softmmu/memory.c +0
-1@@ -17,7 +17,6 @@#include "qemu/log.h" #include "qapi/error.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qapi/visitor.h" #include "qemu/bitops.h" #include "qemu/error-report.h" softmmu/physmem.c +0
-1@@ -46,7 +46,6 @@#include "sysemu/dma.h" #include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" -#include "exec/address-spaces.h" #include "sysemu/xen-mapcache.h" #include "trace/trace-root.h" target/i386/hvf/hvf.c +0
-1@@ -67,7 +67,6 @@#include <Hypervisor/hv_vmx.h> #include <sys/sysctl.h> -#include "exec/address-spaces.h" #include "hw/i386/apic_internal.h" #include "qemu/main-loop.h" #include "qemu/accel.h" target/i386/hvf/x86_mmu.c +0
-1@@ -24,7 +24,6 @@#include "x86_mmu.h" #include "vmcs.h" #include "vmx.h" -#include "exec/address-spaces.h" #define pte_present (pte) (pte & PT_PRESENT)#define pte_write_access (pte) (pte & PT_WRITE)target/i386/sev.c +0
-1@@ -30,7 +30,6 @@#include "trace.h" #include "migration/blocker.h" #include "qom/object.h" -#include "exec/address-spaces.h" #include "monitor/monitor.h" #include "exec/confidential-guest-support.h" #include "hw/i386/pc.h" target/s390x/diag.c +0
-1@@ -15,7 +15,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internal.h" -#include "exec/address-spaces.h" #include "hw/watchdog/wdt_diag288.h" #include "sysemu/cpus.h" #include "hw/s390x/ipl.h" target/xtensa/op_helper.c +0
-1@@ -32,7 +32,6 @@#include "qemu/host-utils.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" -#include "exec/address-spaces.h" #include "qemu/timer.h" #ifndef CONFIG_USER_ONLY tests/qtest/fuzz/generic_fuzz.c +0
-2@@ -19,11 +19,9 @@#include "tests/qtest/libqos/pci-pc.h" #include "fuzz.h" #include "fork_fuzz.h" -#include "exec/address-spaces.h" #include "string.h" #include "exec/memory.h" #include "exec/ramblock.h" -#include "exec/address-spaces.h" #include "hw/qdev-core.h" #include "hw/pci/pci.h" #include "hw/boards.h" tests/qtest/fuzz/qos_fuzz.c +0
-0
tests/qtest/fuzz/qos_fuzz.c line 26
Quoted 7 lines
tests/qtest/fuzz/qos_fuzz.c +0
-1@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu-common.h" #include "exec/memory.h" -#include "exec/address-spaces.h" #include "qemu/main-loop.h" #include "tests/qtest/libqos/libqtest.h"
Applied to my trivial-patches branch.
Thanks,
Laurent