From 0b8fa32f551e863bb548a11394239239270dd3dc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 23 May 2019 16:35:07 +0200 Subject: [PATCH] Include qemu/module.h where needed, drop it from qemu-common.h Signed-off-by: Markus Armbruster Message-Id: <20190523143508.25387-4-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c; ui/cocoa.m fixed up] --- audio/alsaaudio.c | 3 ++- audio/audio.c | 2 ++ audio/coreaudio.c | 2 +- audio/dsoundaudio.c | 2 +- audio/noaudio.c | 3 ++- audio/ossaudio.c | 3 ++- audio/paaudio.c | 3 ++- audio/sdlaudio.c | 3 ++- audio/spiceaudio.c | 1 + audio/wavaudio.c | 2 ++ authz/base.c | 1 + authz/list.c | 1 + authz/listfile.c | 1 + authz/pamacct.c | 1 + authz/simple.c | 1 + backends/hostmem-file.c | 3 ++- backends/hostmem-memfd.c | 3 ++- backends/hostmem-ram.c | 2 ++ backends/rng-egd.c | 1 + backends/rng-random.c | 1 + backends/rng.c | 1 + backends/tpm.c | 1 + block/blklogwrites.c | 1 + block/blkreplay.c | 2 +- block/blkverify.c | 1 + block/copy-on-read.c | 1 + block/crypto.c | 1 + block/curl.c | 1 + block/gluster.c | 1 + block/iscsi-opts.c | 2 +- block/iscsi.c | 1 + block/nfs.c | 1 + block/null.c | 1 + block/nvme.c | 1 + block/qed.c | 1 + block/quorum.c | 1 + block/raw-format.c | 1 + block/rbd.c | 1 + block/replication.c | 1 + block/sheepdog.c | 1 + block/ssh.c | 1 + block/throttle.c | 1 + block/vhdx-log.c | 3 +-- block/vxhs.c | 1 + block/win32-aio.c | 3 +-- bsd-user/main.c | 1 + chardev/baum.c | 3 ++- chardev/char-console.c | 2 ++ chardev/char-fd.c | 3 ++- chardev/char-file.c | 1 + chardev/char-mux.c | 1 + chardev/char-null.c | 2 ++ chardev/char-parallel.c | 1 + chardev/char-pipe.c | 1 + chardev/char-pty.c | 3 ++- chardev/char-ringbuf.c | 1 + chardev/char-serial.c | 1 + chardev/char-socket.c | 1 + chardev/char-stdio.c | 1 + chardev/char-udp.c | 1 + chardev/char-win-stdio.c | 2 ++ chardev/char-win.c | 3 ++- chardev/char.c | 1 + chardev/msmouse.c | 3 ++- chardev/spice.c | 1 + chardev/testdev.c | 3 ++- chardev/wctablet.c | 2 +- crypto/secret.c | 1 + crypto/tlscreds.c | 1 + crypto/tlscredsanon.c | 1 + crypto/tlscredspsk.c | 1 + crypto/tlscredsx509.c | 1 + fsdev/qemu-fsdev-dummy.c | 2 +- gdbstub.c | 1 + hw/9pfs/virtio-9p-device.c | 1 + hw/acpi/core.c | 1 + hw/acpi/vmgenid.c | 1 + hw/adc/stm32f2xx_adc.c | 1 + hw/alpha/typhoon.c | 1 + hw/arm/allwinner-a10.c | 2 +- hw/arm/armsse.c | 1 + hw/arm/armv7m.c | 2 +- hw/arm/aspeed_soc.c | 2 +- hw/arm/bcm2835_peripherals.c | 1 + hw/arm/bcm2836.c | 2 +- hw/arm/digic.c | 1 + hw/arm/fsl-imx6.c | 2 +- hw/arm/fsl-imx6ul.c | 2 +- hw/arm/fsl-imx7.c | 2 +- hw/arm/pxa2xx.c | 2 +- hw/arm/pxa2xx_gpio.c | 1 + hw/arm/pxa2xx_pic.c | 2 +- hw/arm/smmu-common.c | 1 + hw/arm/stm32f205_soc.c | 2 +- hw/arm/virt.c | 1 + hw/arm/xlnx-versal.c | 2 +- hw/arm/xlnx-zynqmp.c | 2 +- hw/audio/ac97.c | 1 + hw/audio/adlib.c | 1 + hw/audio/cs4231.c | 1 + hw/audio/cs4231a.c | 2 ++ hw/audio/es1370.c | 1 + hw/audio/gus.c | 2 ++ hw/audio/hda-codec.c | 1 + hw/audio/intel-hda.c | 1 + hw/audio/marvell_88w8618.c | 2 ++ hw/audio/milkymist-ac97.c | 1 + hw/audio/pcspk.c | 1 + hw/audio/pl041.c | 1 + hw/audio/sb16.c | 2 ++ hw/audio/wm8750.c | 1 + hw/block/fdc.c | 1 + hw/block/m25p80.c | 1 + hw/block/nand.c | 1 + hw/block/nvme.c | 1 + hw/block/onenand.c | 2 +- hw/block/pflash_cfi01.c | 1 + hw/block/pflash_cfi02.c | 1 + hw/block/virtio-blk.c | 2 +- hw/block/xen-block.c | 1 + hw/bt/hci-csr.c | 2 +- hw/char/bcm2835_aux.c | 1 + hw/char/cadence_uart.c | 1 + hw/char/cmsdk-apb-uart.c | 1 + hw/char/debugcon.c | 1 + hw/char/digic-uart.c | 1 + hw/char/escc.c | 1 + hw/char/etraxfs_ser.c | 1 + hw/char/exynos4210_uart.c | 1 + hw/char/grlib_apbuart.c | 1 + hw/char/imx_serial.c | 1 + hw/char/ipoctal232.c | 1 + hw/char/lm32_juart.c | 1 + hw/char/lm32_uart.c | 1 + hw/char/mcf_uart.c | 2 ++ hw/char/milkymist-uart.c | 1 + hw/char/nrf51_uart.c | 1 + hw/char/parallel.c | 2 ++ hw/char/pl011.c | 1 + hw/char/sclpconsole-lm.c | 1 + hw/char/sclpconsole.c | 1 + hw/char/serial-isa.c | 1 + hw/char/serial-pci.c | 1 + hw/char/spapr_vty.c | 2 +- hw/char/stm32f2xx_usart.c | 1 + hw/char/terminal3270.c | 1 + hw/char/virtio-console.c | 1 + hw/char/virtio-serial-bus.c | 1 + hw/char/xilinx_uartlite.c | 1 + hw/core/bus.c | 1 + hw/core/empty_slot.c | 1 + hw/core/fw-path-provider.c | 1 + hw/core/generic-loader.c | 1 + hw/core/nmi.c | 1 + hw/core/or-irq.c | 1 + hw/core/platform-bus.c | 1 + hw/core/register.c | 1 + hw/core/split-irq.c | 1 + hw/core/stream.c | 1 + hw/core/sysbus.c | 1 + hw/cpu/a15mpcore.c | 1 + hw/cpu/a9mpcore.c | 1 + hw/cpu/arm11mpcore.c | 1 + hw/cpu/core.c | 2 ++ hw/cpu/realview_mpcore.c | 1 + hw/display/ads7846.c | 1 + hw/display/ati.c | 1 + hw/display/bcm2835_fb.c | 1 + hw/display/bochs-display.c | 2 ++ hw/display/cg3.c | 2 +- hw/display/cirrus_vga.c | 2 ++ hw/display/cirrus_vga_isa.c | 1 + hw/display/dpcd.c | 1 + hw/display/exynos4210_fimd.c | 2 +- hw/display/g364fb.c | 1 + hw/display/i2c-ddc.c | 2 +- hw/display/jazz_led.c | 2 +- hw/display/milkymist-tmu2.c | 1 + hw/display/milkymist-vgafb.c | 1 + hw/display/pl110.c | 1 + hw/display/qxl.c | 2 +- hw/display/ramfb-standalone.c | 1 + hw/display/sii9022.c | 2 +- hw/display/sm501.c | 2 +- hw/display/ssd0303.c | 2 ++ hw/display/ssd0323.c | 2 ++ hw/display/tcx.c | 2 +- hw/display/vga-isa.c | 2 ++ hw/display/vga-pci.c | 2 ++ hw/display/virtio-gpu-pci.c | 1 + hw/display/virtio-gpu.c | 2 +- hw/display/virtio-vga.c | 1 + hw/display/vmware_vga.c | 2 ++ hw/display/xlnx_dp.c | 1 + hw/dma/bcm2835_dma.c | 1 + hw/dma/i82374.c | 1 + hw/dma/i8257.c | 2 ++ hw/dma/pl080.c | 1 + hw/dma/pl330.c | 1 + hw/dma/puv3_dma.c | 2 ++ hw/dma/pxa2xx_dma.c | 1 + hw/dma/rc4030.c | 1 + hw/dma/sparc32_dma.c | 1 + hw/dma/xilinx_axidma.c | 1 + hw/dma/xlnx-zdma.c | 1 + hw/dma/xlnx-zynq-devcfg.c | 1 + hw/dma/xlnx_dpdma.c | 1 + hw/gpio/bcm2835_gpio.c | 1 + hw/gpio/gpio_key.c | 1 + hw/gpio/imx_gpio.c | 1 + hw/gpio/max7310.c | 1 + hw/gpio/mpc8xxx.c | 1 + hw/gpio/nrf51_gpio.c | 1 + hw/gpio/omap_gpio.c | 1 + hw/gpio/pl061.c | 1 + hw/gpio/puv3_gpio.c | 2 ++ hw/gpio/zaurus.c | 2 ++ hw/hppa/dino.c | 1 + hw/hyperv/hyperv.c | 1 + hw/hyperv/hyperv_testdev.c | 1 + hw/i2c/aspeed_i2c.c | 1 + hw/i2c/bitbang_i2c.c | 2 ++ hw/i2c/core.c | 1 + hw/i2c/exynos4210_i2c.c | 1 + hw/i2c/imx_i2c.c | 1 + hw/i2c/microbit_i2c.c | 1 + hw/i2c/mpc_i2c.c | 1 + hw/i2c/omap_i2c.c | 2 ++ hw/i2c/ppc4xx_i2c.c | 2 +- hw/i2c/smbus_ich9.c | 2 ++ hw/i2c/smbus_slave.c | 1 + hw/i2c/versatile_i2c.c | 1 + hw/i386/kvm/apic.c | 3 ++- hw/i386/kvm/clock.c | 2 +- hw/i386/kvm/i8254.c | 1 + hw/i386/kvm/i8259.c | 2 ++ hw/i386/kvmvapic.c | 3 ++- hw/i386/xen/xen_apic.c | 2 ++ hw/i386/xen/xen_platform.c | 1 + hw/i386/xen/xen_pvdevice.c | 1 + hw/ide/ahci-allwinner.c | 1 + hw/ide/ahci.c | 1 + hw/ide/cmd646.c | 2 ++ hw/ide/ich.c | 1 + hw/ide/isa.c | 2 ++ hw/ide/macio.c | 2 ++ hw/ide/microdrive.c | 2 ++ hw/ide/mmio.c | 2 ++ hw/ide/pci.c | 2 ++ hw/ide/piix.c | 1 + hw/ide/qdev.c | 2 ++ hw/ide/sii3112.c | 1 + hw/ide/via.c | 2 ++ hw/input/adb-kbd.c | 2 ++ hw/input/adb-mouse.c | 2 ++ hw/input/adb.c | 2 ++ hw/input/lm832x.c | 1 + hw/input/milkymist-softusb.c | 1 + hw/input/pl050.c | 1 + hw/input/virtio-input-hid.c | 1 + hw/input/virtio-input-host.c | 2 +- hw/input/virtio-input.c | 1 + hw/intc/allwinner-a10-pic.c | 1 + hw/intc/apic_common.c | 3 ++- hw/intc/arm_gic.c | 1 + hw/intc/arm_gic_common.c | 1 + hw/intc/arm_gic_kvm.c | 2 +- hw/intc/arm_gicv2m.c | 1 + hw/intc/arm_gicv3.c | 1 + hw/intc/arm_gicv3_common.c | 1 + hw/intc/arm_gicv3_its_common.c | 1 + hw/intc/arm_gicv3_its_kvm.c | 1 + hw/intc/arm_gicv3_kvm.c | 1 + hw/intc/armv7m_nvic.c | 2 +- hw/intc/aspeed_vic.c | 1 + hw/intc/bcm2835_ic.c | 1 + hw/intc/bcm2836_control.c | 1 + hw/intc/etraxfs_pic.c | 1 + hw/intc/exynos4210_combiner.c | 1 + hw/intc/exynos4210_gic.c | 2 +- hw/intc/grlib_irqmp.c | 1 + hw/intc/heathrow_pic.c | 2 ++ hw/intc/imx_avic.c | 1 + hw/intc/imx_gpcv2.c | 1 + hw/intc/ioapic_common.c | 1 + hw/intc/lm32_pic.c | 1 + hw/intc/mips_gic.c | 1 + hw/intc/nios2_iic.c | 2 +- hw/intc/omap_intc.c | 2 ++ hw/intc/ompic.c | 1 + hw/intc/openpic.c | 2 ++ hw/intc/openpic_kvm.c | 2 +- hw/intc/pl190.c | 1 + hw/intc/pnv_xive.c | 1 + hw/intc/puv3_intc.c | 2 ++ hw/intc/realview_gic.c | 1 + hw/intc/s390_flic.c | 1 + hw/intc/s390_flic_kvm.c | 2 +- hw/intc/slavio_intctl.c | 1 + hw/intc/spapr_xive.c | 1 + hw/intc/xics.c | 2 +- hw/intc/xics_pnv.c | 1 + hw/intc/xilinx_intc.c | 1 + hw/intc/xive.c | 1 + hw/intc/xlnx-pmu-iomod-intc.c | 1 + hw/intc/xlnx-zynqmp-ipi.c | 1 + hw/ipack/ipack.c | 1 + hw/ipack/tpci200.c | 1 + hw/ipmi/ipmi.c | 1 + hw/ipmi/ipmi_bmc_extern.c | 1 + hw/ipmi/ipmi_bmc_sim.c | 1 + hw/ipmi/isa_ipmi_bt.c | 2 ++ hw/ipmi/isa_ipmi_kcs.c | 2 ++ hw/isa/isa-bus.c | 2 ++ hw/isa/isa-superio.c | 2 ++ hw/isa/pc87312.c | 1 + hw/isa/smc37c669-superio.c | 1 + hw/isa/vt82c686.c | 1 + hw/m68k/mcf_intc.c | 3 ++- hw/mem/nvdimm.c | 1 + hw/mem/pc-dimm.c | 1 + hw/mips/cps.c | 1 + hw/misc/a9scu.c | 1 + hw/misc/applesmc.c | 1 + hw/misc/arm11scu.c | 1 + hw/misc/arm_integrator_debug.c | 1 + hw/misc/arm_l2x0.c | 1 + hw/misc/arm_sysctl.c | 1 + hw/misc/armsse-cpuid.c | 1 + hw/misc/armsse-mhu.c | 1 + hw/misc/aspeed_scu.c | 1 + hw/misc/aspeed_sdmc.c | 1 + hw/misc/auxbus.c | 1 + hw/misc/bcm2835_mbox.c | 1 + hw/misc/bcm2835_property.c | 1 + hw/misc/bcm2835_rng.c | 1 + hw/misc/debugexit.c | 1 + hw/misc/eccmemctl.c | 1 + hw/misc/edu.c | 1 + hw/misc/exynos4210_clk.c | 1 + hw/misc/exynos4210_pmu.c | 1 + hw/misc/exynos4210_rng.c | 1 + hw/misc/imx25_ccm.c | 1 + hw/misc/imx2_wdt.c | 1 + hw/misc/imx31_ccm.c | 1 + hw/misc/imx6_ccm.c | 1 + hw/misc/imx6_src.c | 1 + hw/misc/imx6ul_ccm.c | 1 + hw/misc/imx7_ccm.c | 1 + hw/misc/imx7_gpr.c | 1 + hw/misc/imx7_snvs.c | 1 + hw/misc/imx_ccm.c | 1 + hw/misc/iotkit-secctl.c | 1 + hw/misc/iotkit-sysctl.c | 1 + hw/misc/iotkit-sysinfo.c | 1 + hw/misc/ivshmem.c | 2 ++ hw/misc/macio/cuda.c | 2 ++ hw/misc/macio/gpio.c | 1 + hw/misc/macio/mac_dbdma.c | 2 ++ hw/misc/macio/macio.c | 2 ++ hw/misc/macio/pmu.c | 1 + hw/misc/max111x.c | 1 + hw/misc/milkymist-hpdmc.c | 1 + hw/misc/milkymist-pfpu.c | 1 + hw/misc/mips_cmgcr.c | 1 + hw/misc/mips_cpc.c | 1 + hw/misc/mips_itu.c | 1 + hw/misc/mos6522.c | 2 ++ hw/misc/mps2-fpgaio.c | 1 + hw/misc/mps2-scc.c | 1 + hw/misc/msf2-sysreg.c | 1 + hw/misc/mst_fpga.c | 2 ++ hw/misc/nrf51_rng.c | 1 + hw/misc/pc-testdev.c | 1 + hw/misc/pca9552.c | 1 + hw/misc/pci-testdev.c | 2 ++ hw/misc/puv3_pm.c | 2 ++ hw/misc/pvpanic.c | 1 + hw/misc/sga.c | 2 ++ hw/misc/slavio_misc.c | 1 + hw/misc/stm32f2xx_syscfg.c | 1 + hw/misc/tmp105.c | 1 + hw/misc/tmp421.c | 1 + hw/misc/tz-mpc.c | 1 + hw/misc/tz-msc.c | 1 + hw/misc/tz-ppc.c | 1 + hw/misc/unimp.c | 1 + hw/misc/vmcoreinfo.c | 2 ++ hw/misc/zynq-xadc.c | 1 + hw/misc/zynq_slcr.c | 1 + hw/net/allwinner_emac.c | 2 ++ hw/net/cadence_gem.c | 1 + hw/net/can/can_kvaser_pci.c | 1 + hw/net/can/can_mioe3680_pci.c | 1 + hw/net/can/can_pcm3680_pci.c | 1 + hw/net/dp8393x.c | 1 + hw/net/e1000.c | 1 + hw/net/e1000e.c | 1 + hw/net/eepro100.c | 1 + hw/net/etraxfs_eth.c | 1 + hw/net/fsl_etsec/etsec.c | 1 + hw/net/ftgmac100.c | 1 + hw/net/imx_fec.c | 1 + hw/net/lan9118.c | 1 + hw/net/lance.c | 1 + hw/net/mcf_fec.c | 2 ++ hw/net/milkymist-minimac2.c | 2 +- hw/net/mipsnet.c | 1 + hw/net/ne2000-isa.c | 2 ++ hw/net/ne2000.c | 2 ++ hw/net/opencores_eth.c | 1 + hw/net/pcnet-pci.c | 1 + hw/net/rocker/rocker.c | 1 + hw/net/rtl8139.c | 2 ++ hw/net/smc91c111.c | 1 + hw/net/spapr_llan.c | 3 ++- hw/net/stellaris_enet.c | 2 ++ hw/net/sungem.c | 1 + hw/net/sunhme.c | 1 + hw/net/virtio-net.c | 1 + hw/net/vmxnet3.c | 2 +- hw/net/xgmac.c | 1 + hw/net/xilinx_axienet.c | 1 + hw/net/xilinx_ethlite.c | 2 +- hw/nvram/ds1225y.c | 1 + hw/nvram/eeprom_at24c.c | 1 + hw/nvram/mac_nvram.c | 2 ++ hw/nvram/nrf51_nvm.c | 1 + hw/nvram/spapr_nvram.c | 2 +- hw/pci-bridge/dec.c | 1 + hw/pci-bridge/gen_pcie_root_port.c | 1 + hw/pci-bridge/i82801b11.c | 1 + hw/pci-bridge/ioh3420.c | 1 + hw/pci-bridge/pci_bridge_dev.c | 1 + hw/pci-bridge/pci_expander_bridge.c | 1 + hw/pci-bridge/pcie_pci_bridge.c | 1 + hw/pci-bridge/pcie_root_port.c | 1 + hw/pci-bridge/simba.c | 1 + hw/pci-bridge/xio3130_downstream.c | 1 + hw/pci-bridge/xio3130_upstream.c | 1 + hw/pci-host/designware.c | 1 + hw/pci-host/gpex.c | 2 ++ hw/pci-host/grackle.c | 1 + hw/pci-host/ppce500.c | 1 + hw/pci-host/q35.c | 2 ++ hw/pci-host/sabre.c | 1 + hw/pci-host/uninorth.c | 2 ++ hw/pci-host/versatile.c | 1 + hw/pci-host/xilinx-pcie.c | 1 + hw/pci/pci_bridge.c | 1 + hw/pci/pci_host.c | 1 + hw/pci/pcie_host.c | 1 + hw/pci/pcie_port.c | 1 + hw/pcmcia/pcmcia.c | 2 +- hw/pcmcia/pxa2xx.c | 1 + hw/ppc/mpc8544_guts.c | 2 +- hw/ppc/pnv_core.c | 2 ++ hw/ppc/pnv_lpc.c | 1 + hw/ppc/pnv_occ.c | 1 + hw/ppc/pnv_psi.c | 1 + hw/ppc/pnv_xscom.c | 2 ++ hw/ppc/ppc440_pcix.c | 1 + hw/ppc/ppc440_uc.c | 2 +- hw/ppc/ppc4xx_pci.c | 1 + hw/ppc/ppce500_spin.c | 1 + hw/ppc/prep_systemio.c | 1 + hw/ppc/spapr_hcall.c | 1 + hw/ppc/spapr_iommu.c | 2 ++ hw/ppc/spapr_pci.c | 3 ++- hw/ppc/spapr_rng.c | 2 +- hw/ppc/spapr_rtas_ddw.c | 1 + hw/ppc/spapr_rtc.c | 1 + hw/rdma/vmw/pvrdma_main.c | 1 + hw/riscv/riscv_hart.c | 1 + hw/riscv/sifive_clint.c | 1 + hw/riscv/sifive_plic.c | 1 + hw/riscv/sifive_prci.c | 1 + hw/riscv/sifive_test.c | 1 + hw/s390x/ap-bridge.c | 2 ++ hw/s390x/ccw-device.c | 2 ++ hw/s390x/css-bridge.c | 2 ++ hw/s390x/event-facility.c | 1 + hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-pci-bus.c | 2 +- hw/s390x/s390-skeys-kvm.c | 1 + hw/s390x/sclpcpu.c | 2 ++ hw/s390x/sclpquiesce.c | 2 ++ hw/s390x/tod-kvm.c | 1 + hw/s390x/tod-qemu.c | 1 + hw/s390x/tod.c | 1 + hw/s390x/vhost-vsock-ccw.c | 1 + hw/s390x/virtio-ccw-9p.c | 1 + hw/s390x/virtio-ccw-balloon.c | 1 + hw/s390x/virtio-ccw-blk.c | 1 + hw/s390x/virtio-ccw-crypto.c | 1 + hw/s390x/virtio-ccw-gpu.c | 1 + hw/s390x/virtio-ccw-input.c | 1 + hw/s390x/virtio-ccw-net.c | 1 + hw/s390x/virtio-ccw-rng.c | 1 + hw/s390x/virtio-ccw-scsi.c | 1 + hw/s390x/virtio-ccw-serial.c | 1 + hw/s390x/virtio-ccw.c | 1 + hw/scsi/esp-pci.c | 1 + hw/scsi/esp.c | 1 + hw/scsi/lsi53c895a.c | 1 + hw/scsi/megasas.c | 1 + hw/scsi/mptsas.c | 1 + hw/scsi/scsi-bus.c | 1 + hw/scsi/scsi-disk.c | 1 + hw/scsi/scsi-generic.c | 1 + hw/scsi/spapr_vscsi.c | 3 ++- hw/scsi/vhost-scsi-common.c | 1 + hw/scsi/vhost-scsi.c | 1 + hw/scsi/virtio-scsi.c | 1 + hw/scsi/vmw_pvscsi.c | 1 + hw/sd/bcm2835_sdhost.c | 1 + hw/sd/core.c | 1 + hw/sd/milkymist-memcard.c | 1 + hw/sd/pl181.c | 1 + hw/sd/pxa2xx_mmci.c | 1 + hw/sd/sd.c | 1 + hw/sd/sdhci-pci.c | 1 + hw/sd/sdhci.c | 1 + hw/sd/ssi-sd.c | 1 + hw/sh4/sh_pci.c | 2 ++ hw/smbios/smbios.c | 1 + hw/sparc/sun4m_iommu.c | 1 + hw/sparc64/sun4u_iommu.c | 1 + hw/ssi/aspeed_smc.c | 1 + hw/ssi/imx_spi.c | 1 + hw/ssi/mss-spi.c | 1 + hw/ssi/pl022.c | 1 + hw/ssi/ssi.c | 1 + hw/ssi/stm32f2xx_spi.c | 1 + hw/ssi/xilinx_spi.c | 1 + hw/ssi/xilinx_spips.c | 1 + hw/timer/a9gtimer.c | 1 + hw/timer/allwinner-a10-pit.c | 1 + hw/timer/altera_timer.c | 2 +- hw/timer/arm_mptimer.c | 1 + hw/timer/arm_timer.c | 2 +- hw/timer/armv7m_systick.c | 2 +- hw/timer/aspeed_timer.c | 2 +- hw/timer/cadence_ttc.c | 1 + hw/timer/cmsdk-apb-dualtimer.c | 1 + hw/timer/cmsdk-apb-timer.c | 1 + hw/timer/digic-timer.c | 1 + hw/timer/ds1338.c | 1 + hw/timer/etraxfs_timer.c | 2 ++ hw/timer/exynos4210_mct.c | 2 +- hw/timer/exynos4210_pwm.c | 2 +- hw/timer/exynos4210_rtc.c | 2 +- hw/timer/grlib_gptimer.c | 1 + hw/timer/i8254.c | 2 ++ hw/timer/i8254_common.c | 2 ++ hw/timer/imx_epit.c | 1 + hw/timer/imx_gpt.c | 1 + hw/timer/lm32_timer.c | 1 + hw/timer/m41t80.c | 1 + hw/timer/m48t59-isa.c | 2 ++ hw/timer/m48t59.c | 2 ++ hw/timer/mc146818rtc.c | 1 + hw/timer/milkymist-sysctl.c | 1 + hw/timer/mss-timer.c | 1 + hw/timer/nrf51_timer.c | 1 + hw/timer/pl031.c | 1 + hw/timer/puv3_ost.c | 2 ++ hw/timer/pxa2xx_timer.c | 1 + hw/timer/slavio_timer.c | 1 + hw/timer/stm32f2xx_timer.c | 1 + hw/timer/sun4v-rtc.c | 1 + hw/timer/twl92230.c | 1 + hw/timer/xilinx_timer.c | 1 + hw/timer/xlnx-zynqmp-rtc.c | 1 + hw/tpm/tpm_crb.c | 2 +- hw/tpm/tpm_emulator.c | 1 + hw/tpm/tpm_passthrough.c | 2 +- hw/tpm/tpm_tis.c | 1 + hw/usb/bus.c | 1 + hw/usb/ccid-card-emulated.c | 1 + hw/usb/ccid-card-passthru.c | 1 + hw/usb/chipidea.c | 1 + hw/usb/dev-audio.c | 2 +- hw/usb/dev-bluetooth.c | 2 +- hw/usb/dev-hid.c | 2 ++ hw/usb/dev-hub.c | 3 ++- hw/usb/dev-mtp.c | 2 +- hw/usb/dev-network.c | 2 +- hw/usb/dev-serial.c | 2 +- hw/usb/dev-smartcard-reader.c | 1 + hw/usb/dev-storage.c | 2 +- hw/usb/dev-uas.c | 2 +- hw/usb/dev-wacom.c | 2 ++ hw/usb/hcd-ehci-pci.c | 1 + hw/usb/hcd-ehci-sysbus.c | 1 + hw/usb/hcd-ohci.c | 1 + hw/usb/hcd-uhci.c | 2 ++ hw/usb/hcd-xhci-nec.c | 1 + hw/usb/hcd-xhci.c | 2 ++ hw/usb/host-libusb.c | 2 +- hw/usb/redirect.c | 2 +- hw/usb/tusb6010.c | 3 ++- hw/vfio/amd-xgbe.c | 1 + hw/vfio/ap.c | 1 + hw/vfio/calxeda-xgmac.c | 1 + hw/vfio/ccw.c | 1 + hw/vfio/pci-quirks.c | 1 + hw/vfio/pci.c | 1 + hw/vfio/platform.c | 1 + hw/virtio/vhost-scsi-pci.c | 1 + hw/virtio/vhost-user-blk-pci.c | 1 + hw/virtio/vhost-user-scsi-pci.c | 1 + hw/virtio/vhost-vsock-pci.c | 1 + hw/virtio/vhost-vsock.c | 1 + hw/virtio/virtio-9p-pci.c | 1 + hw/virtio/virtio-balloon-pci.c | 1 + hw/virtio/virtio-balloon.c | 2 +- hw/virtio/virtio-blk-pci.c | 1 + hw/virtio/virtio-bus.c | 1 + hw/virtio/virtio-crypto-pci.c | 2 ++ hw/virtio/virtio-crypto.c | 2 ++ hw/virtio/virtio-input-host-pci.c | 1 + hw/virtio/virtio-input-pci.c | 1 + hw/virtio/virtio-mmio.c | 1 + hw/virtio/virtio-net-pci.c | 1 + hw/virtio/virtio-pci.c | 1 + hw/virtio/virtio-rng-pci.c | 1 + hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio-scsi-pci.c | 1 + hw/virtio/virtio-serial-pci.c | 1 + hw/virtio/virtio.c | 2 +- hw/watchdog/cmsdk-apb-watchdog.c | 1 + hw/watchdog/wdt_aspeed.c | 1 + hw/watchdog/wdt_diag288.c | 1 + hw/watchdog/wdt_i6300esb.c | 2 +- hw/watchdog/wdt_ib700.c | 2 +- hw/xen/xen-bus.c | 1 + hw/xen/xen-common.c | 1 + include/hw/boards.h | 1 + include/hw/hw.h | 1 - include/hw/i386/pc.h | 2 +- include/qemu-common.h | 2 -- include/qom/object.h | 1 + io/channel-buffer.c | 1 + io/channel-command.c | 1 + io/channel-file.c | 1 + io/channel-socket.c | 1 + io/channel-tls.c | 1 + io/channel-websock.c | 1 + io/channel.c | 1 + io/dns-resolver.c | 1 + io/net-listener.c | 1 + linux-user/main.c | 1 + migration/rdma.c | 3 ++- net/can/can_core.c | 2 ++ net/can/can_host.c | 2 ++ net/can/can_socketcan.c | 2 ++ net/dump.c | 2 +- net/filter-replay.c | 2 +- net/filter.c | 2 +- qemu-img.c | 1 + qemu-io.c | 1 + qemu-nbd.c | 2 +- qga/main.c | 1 - qtest.c | 2 +- replication.h | 1 + scripts/qapi/commands.py | 2 -- scsi/pr-manager-helper.c | 1 + scsi/pr-manager.c | 1 + scsi/qemu-pr-helper.c | 2 +- target/arm/cpu.c | 1 + target/arm/cpu64.c | 2 +- target/hppa/cpu.c | 2 +- target/i386/cpu.c | 1 + target/i386/sev.c | 1 + target/microblaze/cpu.c | 2 +- target/mips/cpu.c | 2 +- target/nios2/cpu.c | 2 +- target/ppc/cpu-models.c | 1 + target/ppc/translate_init.inc.c | 1 + target/s390x/cpu.c | 1 + target/s390x/cpu_models.c | 1 + target/sparc/cpu.c | 1 + target/tilegx/cpu.c | 2 +- target/xtensa/cpu.c | 2 +- tests/ac97-test.c | 1 + tests/e1000-test.c | 1 + tests/e1000e-test.c | 1 + tests/eepro100-test.c | 1 + tests/es1370-test.c | 1 + tests/ipoctal232-test.c | 1 + tests/libqos/aarch64-xlnx-zcu102-machine.c | 1 + tests/libqos/arm-raspi2-machine.c | 1 + tests/libqos/arm-sabrelite-machine.c | 1 + tests/libqos/arm-smdkc210-machine.c | 1 + tests/libqos/arm-virt-machine.c | 1 + tests/libqos/arm-xilinx-zynq-a9-machine.c | 1 + tests/libqos/e1000e.c | 2 +- tests/libqos/pci-pc.c | 2 +- tests/libqos/pci-spapr.c | 2 +- tests/libqos/ppc64_pseries-machine.c | 3 ++- tests/libqos/sdhci.c | 1 + tests/libqos/tpci200.c | 1 + tests/libqos/virtio-9p.c | 1 + tests/libqos/virtio-balloon.c | 1 + tests/libqos/virtio-blk.c | 1 + tests/libqos/virtio-mmio.c | 1 + tests/libqos/virtio-net.c | 1 + tests/libqos/virtio-rng.c | 1 + tests/libqos/virtio-scsi.c | 1 + tests/libqos/virtio-serial.c | 1 + tests/libqos/x86_64_pc-machine.c | 1 + tests/megasas-test.c | 1 + tests/migration-test.c | 1 + tests/ne2000-test.c | 1 + tests/nvme-test.c | 1 + tests/pci-test.c | 1 + tests/pcnet-test.c | 1 + tests/qos-test.c | 1 + tests/sdhci-test.c | 2 ++ tests/spapr-phb-test.c | 1 + tests/test-authz-list.c | 1 + tests/test-authz-listfile.c | 1 + tests/test-authz-pam.c | 1 + tests/test-authz-simple.c | 1 + tests/test-char.c | 1 + tests/test-crypto-block.c | 1 + tests/test-crypto-tlscredsx509.c | 1 + tests/test-crypto-tlssession.c | 1 + tests/test-io-channel-buffer.c | 1 + tests/test-io-channel-command.c | 1 + tests/test-io-channel-file.c | 1 + tests/test-io-channel-socket.c | 1 + tests/test-io-channel-tls.c | 1 + tests/test-io-task.c | 1 + tests/test-qmp-cmds.c | 2 -- tests/test-throttle.c | 1 + tests/test-vmstate.c | 2 +- tests/tpm-crb-swtpm-test.c | 1 + tests/tpm-crb-test.c | 1 + tests/tpm-tis-swtpm-test.c | 1 + tests/tpm-tis-test.c | 1 + tests/usb-hcd-ohci-test.c | 1 + tests/vhost-user-test.c | 1 + tests/virtio-9p-test.c | 1 + tests/virtio-blk-test.c | 1 + tests/virtio-net-test.c | 1 + tests/virtio-rng-test.c | 1 + tests/virtio-scsi-test.c | 1 + tests/virtio-serial-test.c | 1 + tests/virtio-test.c | 1 + tests/vmxnet3-test.c | 1 + ui/cocoa.m | 1 + ui/console.c | 1 + ui/curses.c | 3 ++- ui/egl-headless.c | 2 +- ui/input-linux.c | 2 +- ui/sdl2.c | 2 +- ui/spice-app.c | 3 ++- ui/spice-core.c | 1 + ui/vnc.c | 1 + 761 files changed, 875 insertions(+), 131 deletions(-) diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index 49e688430998..3745c823ad37 100644 --- a/audio/alsaaudio.c +++ b/audio/alsaaudio.c @@ -21,10 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include -#include "qemu-common.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "audio.h" #include "trace.h" diff --git a/audio/audio.c b/audio/audio.c index 2040762feff1..05adf7ffebf1 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "audio.h" @@ -31,6 +32,7 @@ #include "qapi/qapi-visit-audio.h" #include "sysemu/sysemu.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "sysemu/replay.h" #include "trace.h" diff --git a/audio/coreaudio.c b/audio/coreaudio.c index 1ee43b7d5f12..4bec6c8c5c13 100644 --- a/audio/coreaudio.c +++ b/audio/coreaudio.c @@ -26,7 +26,7 @@ #include #include /* pthread_X */ -#include "qemu-common.h" +#include "qemu/module.h" #include "audio.h" #define AUDIO_CAP "coreaudio" diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c index a7d04b5033a3..5da4c864c3f2 100644 --- a/audio/dsoundaudio.c +++ b/audio/dsoundaudio.c @@ -27,12 +27,12 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "audio.h" #define AUDIO_CAP "dsound" #include "audio_int.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include #include diff --git a/audio/noaudio.c b/audio/noaudio.c index ccc611fc8470..9b195dc52ca3 100644 --- a/audio/noaudio.c +++ b/audio/noaudio.c @@ -21,9 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "audio.h" #include "qemu/timer.h" diff --git a/audio/ossaudio.c b/audio/ossaudio.c index fc28981a3972..c0af065b6ff2 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -21,11 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include #include -#include "qemu-common.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/host-utils.h" #include "audio.h" #include "trace.h" diff --git a/audio/paaudio.c b/audio/paaudio.c index 45295b4e5ecb..fa9dd9efd4cc 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -1,6 +1,7 @@ /* public domain */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "audio.h" #include "qapi/opts-visitor.h" diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index ff9248ba68e0..e7179ff1d410 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -21,10 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include #include -#include "qemu-common.h" +#include "qemu/module.h" #include "audio.h" #ifndef _WIN32 diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c index 4f7873af5afd..0ead5ae43ade 100644 --- a/audio/spiceaudio.c +++ b/audio/spiceaudio.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "qemu/timer.h" #include "ui/qemu-spice.h" diff --git a/audio/wavaudio.c b/audio/wavaudio.c index 8d30f572965e..803b6cb1f3d0 100644 --- a/audio/wavaudio.c +++ b/audio/wavaudio.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qapi/opts-visitor.h" #include "audio.h" diff --git a/authz/base.c b/authz/base.c index baf39fff258a..c75bce3fd134 100644 --- a/authz/base.c +++ b/authz/base.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "authz/base.h" +#include "qemu/module.h" #include "trace.h" bool qauthz_is_allowed(QAuthZ *authz, diff --git a/authz/list.c b/authz/list.c index 831da936feaa..5a48074d0aae 100644 --- a/authz/list.c +++ b/authz/list.c @@ -23,6 +23,7 @@ #include "trace.h" #include "qom/object_interfaces.h" #include "qapi/qapi-visit-authz.h" +#include "qemu/module.h" static bool qauthz_list_is_allowed(QAuthZ *authz, const char *identity, diff --git a/authz/listfile.c b/authz/listfile.c index d74bbd104881..e7a8c19bcba8 100644 --- a/authz/listfile.c +++ b/authz/listfile.c @@ -23,6 +23,7 @@ #include "trace.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "qemu/filemonitor.h" #include "qom/object_interfaces.h" diff --git a/authz/pamacct.c b/authz/pamacct.c index 7539867923df..a8ad25b6c752 100644 --- a/authz/pamacct.c +++ b/authz/pamacct.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "authz/pamacct.h" #include "trace.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include diff --git a/authz/simple.c b/authz/simple.c index c409ce7efcdc..008912d24735 100644 --- a/authz/simple.c +++ b/authz/simple.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "authz/simple.h" #include "trace.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" static bool qauthz_simple_is_allowed(QAuthZ *authz, diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c index 37ac6445d26f..29e55c91952d 100644 --- a/backends/hostmem-file.c +++ b/backends/hostmem-file.c @@ -9,10 +9,11 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/hostmem.h" #include "sysemu/sysemu.h" #include "qom/object_interfaces.h" diff --git a/backends/hostmem-memfd.c b/backends/hostmem-memfd.c index 46b15b916af6..26070b425e40 100644 --- a/backends/hostmem-memfd.c +++ b/backends/hostmem-memfd.c @@ -9,12 +9,13 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/hostmem.h" #include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qemu/memfd.h" +#include "qemu/module.h" #include "qapi/error.h" #define TYPE_MEMORY_BACKEND_MEMFD "memory-backend-memfd" diff --git a/backends/hostmem-ram.c b/backends/hostmem-ram.c index 24b65d9ae365..6aab8d3a7317 100644 --- a/backends/hostmem-ram.c +++ b/backends/hostmem-ram.c @@ -9,9 +9,11 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "sysemu/hostmem.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #define TYPE_MEMORY_BACKEND_RAM "memory-backend-ram" diff --git a/backends/rng-egd.c b/backends/rng-egd.c index d2b9ce6cbf10..e3805194088c 100644 --- a/backends/rng-egd.c +++ b/backends/rng-egd.c @@ -15,6 +15,7 @@ #include "chardev/char-fe.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" +#include "qemu/module.h" #define TYPE_RNG_EGD "rng-egd" #define RNG_EGD(obj) OBJECT_CHECK(RngEgd, (obj), TYPE_RNG_EGD) diff --git a/backends/rng-random.c b/backends/rng-random.c index e2a49b0571d7..aa5b9285f04d 100644 --- a/backends/rng-random.c +++ b/backends/rng-random.c @@ -16,6 +16,7 @@ #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qemu/main-loop.h" +#include "qemu/module.h" struct RngRandom { diff --git a/backends/rng.c b/backends/rng.c index 398ebe4a7d09..391888b8b3ae 100644 --- a/backends/rng.c +++ b/backends/rng.c @@ -14,6 +14,7 @@ #include "sysemu/rng.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" void rng_backend_request_entropy(RngBackend *s, size_t size, diff --git a/backends/tpm.c b/backends/tpm.c index a00438b904f2..375587e743d0 100644 --- a/backends/tpm.c +++ b/backends/tpm.c @@ -18,6 +18,7 @@ #include "sysemu/tpm.h" #include "qemu/thread.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "block/thread-pool.h" #include "qemu/error-report.h" diff --git a/block/blklogwrites.c b/block/blklogwrites.c index eb2b4901a516..04d8b33607ee 100644 --- a/block/blklogwrites.c +++ b/block/blklogwrites.c @@ -16,6 +16,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" /* Disk format stuff - taken from Linux drivers/md/dm-log-writes.c */ diff --git a/block/blkreplay.c b/block/blkreplay.c index b5d9efdecab1..2b7931b94014 100644 --- a/block/blkreplay.c +++ b/block/blkreplay.c @@ -10,7 +10,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "block/block_int.h" #include "sysemu/replay.h" #include "qapi/error.h" diff --git a/block/blkverify.c b/block/blkverify.c index 3ff77ff49af5..304b0a1368c8 100644 --- a/block/blkverify.c +++ b/block/blkverify.c @@ -14,6 +14,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" typedef struct { diff --git a/block/copy-on-read.c b/block/copy-on-read.c index 53972b1da313..22f24fd0db87 100644 --- a/block/copy-on-read.c +++ b/block/copy-on-read.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "block/block_int.h" +#include "qemu/module.h" static int cor_open(BlockDriverState *bs, QDict *options, int flags, diff --git a/block/crypto.c b/block/crypto.c index 7351fd479d76..8237424ae6d2 100644 --- a/block/crypto.c +++ b/block/crypto.c @@ -28,6 +28,7 @@ #include "qapi/qapi-visit-crypto.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "crypto.h" diff --git a/block/curl.c b/block/curl.c index 606709fea4f0..d4c8e94f3e0f 100644 --- a/block/curl.c +++ b/block/curl.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "qapi/qmp/qdict.h" diff --git a/block/gluster.c b/block/gluster.c index e664ca446244..dc16f0c3293c 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -18,6 +18,7 @@ #include "qapi/qmp/qerror.h" #include "qemu/uri.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/cutils.h" diff --git a/block/iscsi-opts.c b/block/iscsi-opts.c index 9b19bd2f529c..afaf8837d6c1 100644 --- a/block/iscsi-opts.c +++ b/block/iscsi-opts.c @@ -23,8 +23,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/config-file.h" +#include "qemu/module.h" #include "qemu/option.h" static QemuOptsList qemu_iscsi_opts = { diff --git a/block/iscsi.c b/block/iscsi.c index f31c612d531b..cf9d66c07f3e 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -36,6 +36,7 @@ #include "block/qdict.h" #include "scsi/constants.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/uuid.h" #include "qapi/error.h" diff --git a/block/nfs.c b/block/nfs.c index 531903610b54..d93241b3bb84 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -32,6 +32,7 @@ #include "block/qdict.h" #include "trace.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" diff --git a/block/null.c b/block/null.c index a322929478fa..699aa295cb58 100644 --- a/block/null.c +++ b/block/null.c @@ -14,6 +14,7 @@ #include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" diff --git a/block/nvme.c b/block/nvme.c index 0684bbd077dd..73ed5fa75f2e 100644 --- a/block/nvme.c +++ b/block/nvme.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/cutils.h" #include "qemu/option.h" #include "qemu/vfio-helpers.h" diff --git a/block/qed.c b/block/qed.c index bb4f5c98639c..77c7cef17561 100644 --- a/block/qed.c +++ b/block/qed.c @@ -17,6 +17,7 @@ #include "qapi/error.h" #include "qemu/timer.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "qemu/option.h" #include "trace.h" #include "qed.h" diff --git a/block/quorum.c b/block/quorum.c index 133ee1820455..df68adcfaa84 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "block/qdict.h" diff --git a/block/raw-format.c b/block/raw-format.c index 385cdc249092..bffd424dd0da 100644 --- a/block/raw-format.c +++ b/block/raw-format.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "block/block_int.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" typedef struct BDRVRawState { diff --git a/block/rbd.c b/block/rbd.c index 0c549c9935ed..f2ac2c06f441 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -16,6 +16,7 @@ #include #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "block/qdict.h" diff --git a/block/replication.c b/block/replication.c index 3d4dedddfcb5..5cffb790b336 100644 --- a/block/replication.c +++ b/block/replication.c @@ -13,6 +13,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/nbd.h" #include "block/blockjob.h" diff --git a/block/sheepdog.c b/block/sheepdog.c index f76d6ddbbcdf..1e2d824a584a 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -21,6 +21,7 @@ #include "qapi/qobject-output-visitor.h" #include "qemu/uri.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "block/block_int.h" diff --git a/block/ssh.c b/block/ssh.c index 584c302fe6d9..6da7b9cbfec6 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -31,6 +31,7 @@ #include "block/qdict.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/ctype.h" #include "qemu/cutils.h" diff --git a/block/throttle.c b/block/throttle.c index f64dcc27b98e..0349f422576e 100644 --- a/block/throttle.c +++ b/block/throttle.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "block/throttle-groups.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/throttle-options.h" #include "qapi/error.h" diff --git a/block/vhdx-log.c b/block/vhdx-log.c index 5e946846f1a2..fdd3a7adc378 100644 --- a/block/vhdx-log.c +++ b/block/vhdx-log.c @@ -17,12 +17,11 @@ * See the COPYING.LIB file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/error-report.h" -#include "qemu/module.h" #include "qemu/bswap.h" #include "vhdx.h" diff --git a/block/vxhs.c b/block/vxhs.c index 2e18229ba448..77fd5eb20d1b 100644 --- a/block/vxhs.c +++ b/block/vxhs.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "trace.h" +#include "qemu/module.h" #include "qemu/uri.h" #include "qapi/error.h" #include "qemu/uuid.h" diff --git a/block/win32-aio.c b/block/win32-aio.c index 9cd355d42f8a..b7221a272f82 100644 --- a/block/win32-aio.c +++ b/block/win32-aio.c @@ -21,11 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "block/block_int.h" -#include "qemu/module.h" #include "block/aio.h" #include "block/raw-aio.h" #include "qemu/event_notifier.h" diff --git a/bsd-user/main.c b/bsd-user/main.c index 7d4abd20ed3f..72a95227ecd5 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -29,6 +29,7 @@ #include "qemu/error-report.h" #include "qemu/path.h" #include "qemu/help_option.h" +#include "qemu/module.h" #include "cpu.h" #include "exec/exec-all.h" #include "tcg.h" diff --git a/chardev/baum.c b/chardev/baum.c index 78b0c876253f..3dc81d5c6c66 100644 --- a/chardev/baum.c +++ b/chardev/baum.c @@ -21,10 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "chardev/char.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/usb.h" #include "ui/console.h" diff --git a/chardev/char-console.c b/chardev/char-console.c index 535ed65136c6..6c4ce5dbce7e 100644 --- a/chardev/char-console.c +++ b/chardev/char-console.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "chardev/char-win.h" +#include "qemu/module.h" static void qemu_chr_open_win_con(Chardev *chr, ChardevBackend *backend, diff --git a/chardev/char-fd.c b/chardev/char-fd.c index 2c9b2ce56768..32092369bf94 100644 --- a/chardev/char-fd.c +++ b/chardev/char-fd.c @@ -21,10 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "qapi/error.h" -#include "qemu-common.h" #include "chardev/char.h" #include "io/channel-file.h" diff --git a/chardev/char-file.c b/chardev/char-file.c index 87fb61088c65..2fd80707e5f4 100644 --- a/chardev/char-file.c +++ b/chardev/char-file.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "chardev/char.h" diff --git a/chardev/char-mux.c b/chardev/char-mux.c index 23aa82125dc9..200c62a0d08b 100644 --- a/chardev/char-mux.c +++ b/chardev/char-mux.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "chardev/char.h" #include "sysemu/block-backend.h" diff --git a/chardev/char-null.c b/chardev/char-null.c index 90bafe76f436..1c6a2900f9b5 100644 --- a/chardev/char-null.c +++ b/chardev/char-null.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "chardev/char.h" +#include "qemu/module.h" static void null_chr_open(Chardev *chr, ChardevBackend *backend, diff --git a/chardev/char-parallel.c b/chardev/char-parallel.c index ab82c72ac747..05e7efbd6ca9 100644 --- a/chardev/char-parallel.c +++ b/chardev/char-parallel.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "chardev/char.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include diff --git a/chardev/char-pipe.c b/chardev/char-pipe.c index 8a51872e5e98..cdaddb1e6199 100644 --- a/chardev/char-pipe.c +++ b/chardev/char-pipe.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "chardev/char.h" diff --git a/chardev/char-pty.c b/chardev/char-pty.c index 04759b0ef903..8b34ce985a8b 100644 --- a/chardev/char-pty.c +++ b/chardev/char-pty.c @@ -21,13 +21,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "chardev/char.h" #include "io/channel-file.h" #include "qemu/sockets.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/qemu-print.h" #include "chardev/char-io.h" diff --git a/chardev/char-ringbuf.c b/chardev/char-ringbuf.c index 87832e27920e..67397a8ce944 100644 --- a/chardev/char-ringbuf.c +++ b/chardev/char-ringbuf.c @@ -27,6 +27,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-char.h" #include "qemu/base64.h" +#include "qemu/module.h" #include "qemu/option.h" /* Ring buffer chardev */ diff --git a/chardev/char-serial.c b/chardev/char-serial.c index a8bae31b8dda..5b833ea0773b 100644 --- a/chardev/char-serial.c +++ b/chardev/char-serial.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "io/channel-file.h" diff --git a/chardev/char-socket.c b/chardev/char-socket.c index b2cf593107e9..7ca5d97af341 100644 --- a/chardev/char-socket.c +++ b/chardev/char-socket.c @@ -29,6 +29,7 @@ #include "io/channel-websock.h" #include "io/net-listener.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qapi/error.h" #include "qapi/clone-visitor.h" diff --git a/chardev/char-stdio.c b/chardev/char-stdio.c index 9624220e6d5e..82eaebc1db65 100644 --- a/chardev/char-stdio.c +++ b/chardev/char-stdio.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "qapi/error.h" diff --git a/chardev/char-udp.c b/chardev/char-udp.c index 097a2f0f42d0..bba4145f96e8 100644 --- a/chardev/char-udp.c +++ b/chardev/char-udp.c @@ -26,6 +26,7 @@ #include "chardev/char.h" #include "io/channel-socket.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "chardev/char-io.h" diff --git a/chardev/char-win-stdio.c b/chardev/char-win-stdio.c index efcf7827eb02..92d34e85aaf0 100644 --- a/chardev/char-win-stdio.c +++ b/chardev/char-win-stdio.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "chardev/char-win.h" #include "chardev/char-win-stdio.h" diff --git a/chardev/char-win.c b/chardev/char-win.c index 05518e095822..0b8181339dbd 100644 --- a/chardev/char-win.c +++ b/chardev/char-win.c @@ -21,8 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qapi/error.h" #include "chardev/char-win.h" diff --git a/chardev/char.c b/chardev/char.c index 54724a56b1d8..e4887bcc8202 100644 --- a/chardev/char.c +++ b/chardev/char.c @@ -35,6 +35,7 @@ #include "qapi/qmp/qerror.h" #include "sysemu/replay.h" #include "qemu/help_option.h" +#include "qemu/module.h" #include "qemu/option.h" #include "chardev/char-mux.h" diff --git a/chardev/msmouse.c b/chardev/msmouse.c index 0ffd137ce8ea..6d8f06fed44c 100644 --- a/chardev/msmouse.c +++ b/chardev/msmouse.c @@ -21,8 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "chardev/char.h" #include "ui/console.h" #include "ui/input.h" diff --git a/chardev/spice.c b/chardev/spice.c index 22c30ae833dd..241e2b7770eb 100644 --- a/chardev/spice.c +++ b/chardev/spice.c @@ -5,6 +5,7 @@ #include "chardev/spice.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include diff --git a/chardev/testdev.c b/chardev/testdev.c index 031e9a23e8b4..368a8c041e55 100644 --- a/chardev/testdev.c +++ b/chardev/testdev.c @@ -23,8 +23,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "chardev/char.h" #define BUF_SIZE 32 diff --git a/chardev/wctablet.c b/chardev/wctablet.c index 35dbd29a3376..e9cb7ca71069 100644 --- a/chardev/wctablet.c +++ b/chardev/wctablet.c @@ -27,7 +27,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "chardev/char-serial.h" #include "ui/console.h" #include "ui/input.h" diff --git a/crypto/secret.c b/crypto/secret.c index 388abd7df5f0..30294b3229e8 100644 --- a/crypto/secret.c +++ b/crypto/secret.c @@ -24,6 +24,7 @@ #include "qapi/error.h" #include "qom/object_interfaces.h" #include "qemu/base64.h" +#include "qemu/module.h" #include "trace.h" diff --git a/crypto/tlscreds.c b/crypto/tlscreds.c index 02255a6f3c6e..50ecb704ee0f 100644 --- a/crypto/tlscreds.c +++ b/crypto/tlscreds.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "tlscredspriv.h" #include "trace.h" diff --git a/crypto/tlscredsanon.c b/crypto/tlscredsanon.c index 7ad66d1e7d12..3024b17cfd85 100644 --- a/crypto/tlscredsanon.c +++ b/crypto/tlscredsanon.c @@ -22,6 +22,7 @@ #include "crypto/tlscredsanon.h" #include "tlscredspriv.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include "trace.h" diff --git a/crypto/tlscredspsk.c b/crypto/tlscredspsk.c index 7be7c8efdd78..9c53c6c7b1e0 100644 --- a/crypto/tlscredspsk.c +++ b/crypto/tlscredspsk.c @@ -22,6 +22,7 @@ #include "crypto/tlscredspsk.h" #include "tlscredspriv.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include "trace.h" diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c index d6ab4a98622e..5247dd3b18fc 100644 --- a/crypto/tlscredsx509.c +++ b/crypto/tlscredsx509.c @@ -23,6 +23,7 @@ #include "tlscredspriv.h" #include "crypto/secret.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include "trace.h" diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c index 489cd29081f7..8444a254be37 100644 --- a/fsdev/qemu-fsdev-dummy.c +++ b/fsdev/qemu-fsdev-dummy.c @@ -10,10 +10,10 @@ * the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qemu-fsdev.h" #include "qemu/config-file.h" -#include "qemu/module.h" int qemu_fsdev_add(QemuOpts *opts, Error **errp) { diff --git a/gdbstub.c b/gdbstub.c index 9159d7d15314..1ba80f09f6fa 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -22,6 +22,7 @@ #include "qemu/error-report.h" #include "qemu/ctype.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "trace-root.h" #ifdef CONFIG_USER_ONLY #include "qemu.h" diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index 775e8ff76671..a3288cbe56ad 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -19,6 +19,7 @@ #include "coth.h" #include "hw/virtio/virtio-access.h" #include "qemu/iov.h" +#include "qemu/module.h" static void virtio_9p_push_and_notify(V9fsPDU *pdu) { diff --git a/hw/acpi/core.c b/hw/acpi/core.c index 9ed1629f3671..228828a494de 100644 --- a/hw/acpi/core.c +++ b/hw/acpi/core.c @@ -30,6 +30,7 @@ #include "qapi/qapi-events-run-state.h" #include "qapi/qapi-visit-misc.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" struct acpi_table_header { diff --git a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c index 02717a8b0dc0..b891df375f8c 100644 --- a/hw/acpi/vmgenid.c +++ b/hw/acpi/vmgenid.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" +#include "qemu/module.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h" #include "hw/acpi/vmgenid.h" diff --git a/hw/adc/stm32f2xx_adc.c b/hw/adc/stm32f2xx_adc.c index 329a8aa67328..c93b60e22e07 100644 --- a/hw/adc/stm32f2xx_adc.c +++ b/hw/adc/stm32f2xx_adc.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "hw/hw.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/adc/stm32f2xx_adc.h" #ifndef STM_ADC_ERR_DEBUG diff --git a/hw/alpha/typhoon.c b/hw/alpha/typhoon.c index 9d57361c6702..3f34a5153ff0 100644 --- a/hw/alpha/typhoon.c +++ b/hw/alpha/typhoon.c @@ -7,6 +7,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" diff --git a/hw/arm/allwinner-a10.c b/hw/arm/allwinner-a10.c index 06ec6f4dc83d..35e906ca54f7 100644 --- a/hw/arm/allwinner-a10.c +++ b/hw/arm/allwinner-a10.c @@ -17,7 +17,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/allwinner-a10.h" diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c index 83b920334d5b..47d13312dc1c 100644 --- a/hw/arm/armsse.c +++ b/hw/arm/armsse.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/bitops.h" #include "qapi/error.h" #include "trace.h" diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c index 029572258f0d..1a8a6c8bf920 100644 --- a/hw/arm/armv7m.c +++ b/hw/arm/armv7m.c @@ -10,7 +10,6 @@ #include "qemu/osdep.h" #include "hw/arm/armv7m.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/boot.h" @@ -18,6 +17,7 @@ #include "elf.h" #include "sysemu/qtest.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "exec/address-spaces.h" #include "target/arm/idau.h" diff --git a/hw/arm/aspeed_soc.c b/hw/arm/aspeed_soc.c index faff42b84ad1..a2ea8c748449 100644 --- a/hw/arm/aspeed_soc.c +++ b/hw/arm/aspeed_soc.c @@ -12,13 +12,13 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "exec/address-spaces.h" #include "hw/misc/unimp.h" #include "hw/arm/aspeed_soc.h" #include "hw/char/serial.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/aspeed_i2c.h" #include "net/net.h" diff --git a/hw/arm/bcm2835_peripherals.c b/hw/arm/bcm2835_peripherals.c index 0fb54c7964e5..8984e2e91f8a 100644 --- a/hw/arm/bcm2835_peripherals.c +++ b/hw/arm/bcm2835_peripherals.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/arm/bcm2835_peripherals.h" #include "hw/misc/bcm2835_mbox_defs.h" #include "hw/arm/raspi_platform.h" diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c index 6a09c339d3ae..493a913f892c 100644 --- a/hw/arm/bcm2836.c +++ b/hw/arm/bcm2836.c @@ -10,7 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/arm/bcm2836.h" #include "hw/arm/raspi_platform.h" diff --git a/hw/arm/digic.c b/hw/arm/digic.c index 6ef26c6bac39..9015b60c230a 100644 --- a/hw/arm/digic.c +++ b/hw/arm/digic.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/arm/digic.h" #include "sysemu/sysemu.h" diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c index 7b7b97f74ca0..7129517378c1 100644 --- a/hw/arm/fsl-imx6.c +++ b/hw/arm/fsl-imx6.c @@ -21,11 +21,11 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "hw/arm/fsl-imx6.h" #include "sysemu/sysemu.h" #include "chardev/char.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define IMX6_ESDHC_CAPABILITIES 0x057834b4 diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c index 4b56bfa8d166..05505bac5681 100644 --- a/hw/arm/fsl-imx6ul.c +++ b/hw/arm/fsl-imx6ul.c @@ -18,11 +18,11 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "hw/arm/fsl-imx6ul.h" #include "hw/misc/unimp.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define NAME_SIZE 20 diff --git a/hw/arm/fsl-imx7.c b/hw/arm/fsl-imx7.c index 7663ad68610a..b7e3526b4f3a 100644 --- a/hw/arm/fsl-imx7.c +++ b/hw/arm/fsl-imx7.c @@ -20,11 +20,11 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "hw/arm/fsl-imx7.h" #include "hw/misc/unimp.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define NAME_SIZE 20 diff --git a/hw/arm/pxa2xx.c b/hw/arm/pxa2xx.c index 3d7c88910e01..432876958dca 100644 --- a/hw/arm/pxa2xx.c +++ b/hw/arm/pxa2xx.c @@ -9,8 +9,8 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/pxa.h" diff --git a/hw/arm/pxa2xx_gpio.c b/hw/arm/pxa2xx_gpio.c index e15070188eaa..d1fc9cba67eb 100644 --- a/hw/arm/pxa2xx_gpio.c +++ b/hw/arm/pxa2xx_gpio.c @@ -13,6 +13,7 @@ #include "hw/sysbus.h" #include "hw/arm/pxa.h" #include "qemu/log.h" +#include "qemu/module.h" #define PXA2XX_GPIO_BANKS 4 diff --git a/hw/arm/pxa2xx_pic.c b/hw/arm/pxa2xx_pic.c index 61275fa040fd..2f4b46156277 100644 --- a/hw/arm/pxa2xx_pic.c +++ b/hw/arm/pxa2xx_pic.c @@ -9,7 +9,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/arm/pxa.h" diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c index e94be6db6c1d..717d22bcbe78 100644 --- a/hw/arm/smmu-common.c +++ b/hw/arm/smmu-common.c @@ -25,6 +25,7 @@ #include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/jhash.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "hw/arm/smmu-common.h" diff --git a/hw/arm/stm32f205_soc.c b/hw/arm/stm32f205_soc.c index a5b6f7bda2bb..c08041a1c55a 100644 --- a/hw/arm/stm32f205_soc.c +++ b/hw/arm/stm32f205_soc.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/arm/boot.h" #include "exec/address-spaces.h" #include "hw/arm/stm32f205_soc.h" diff --git a/hw/arm/virt.c b/hw/arm/virt.c index bf54f10b515d..fae6779de302 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -49,6 +49,7 @@ #include "exec/address-spaces.h" #include "qemu/bitops.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/pci-host/gpex.h" #include "hw/arm/sysbus-fdt.h" #include "hw/platform-bus.h" diff --git a/hw/arm/xlnx-versal.c b/hw/arm/xlnx-versal.c index e8e4278eb3bf..98163eb1aadd 100644 --- a/hw/arm/xlnx-versal.c +++ b/hw/arm/xlnx-versal.c @@ -11,8 +11,8 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "net/net.h" #include "sysemu/sysemu.h" diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c index 6e991903022b..a1ca9b5adf31 100644 --- a/hw/arm/xlnx-zynqmp.c +++ b/hw/arm/xlnx-zynqmp.c @@ -17,7 +17,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/intc/arm_gic_common.h" diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c index a4e8d99e7775..fb98da267807 100644 --- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -22,6 +22,7 @@ #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/dma.h" enum { diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c index 0957780a3dc0..7dd9a89b89fb 100644 --- a/hw/audio/adlib.c +++ b/hw/audio/adlib.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c index 30690f96ae43..8372299ebb42 100644 --- a/hw/audio/cs4231.c +++ b/hw/audio/cs4231.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" /* diff --git a/hw/audio/cs4231a.c b/hw/audio/cs4231a.c index 62da75eefebb..7216b41cc18e 100644 --- a/hw/audio/cs4231a.c +++ b/hw/audio/cs4231a.c @@ -21,12 +21,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/isa/isa.h" #include "hw/qdev.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qapi/error.h" diff --git a/hw/audio/es1370.c b/hw/audio/es1370.c index a5314d66fdc2..260c142b7008 100644 --- a/hw/audio/es1370.c +++ b/hw/audio/es1370.c @@ -31,6 +31,7 @@ #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/dma.h" /* Missing stuff: diff --git a/hw/audio/gus.c b/hw/audio/gus.c index b3e2a7fdd504..9ab51631d9e5 100644 --- a/hw/audio/gus.c +++ b/hw/audio/gus.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c index c25bfa38b143..84639b54245e 100644 --- a/hw/audio/hda-codec.c +++ b/hw/audio/hda-codec.c @@ -21,6 +21,7 @@ #include "hw/hw.h" #include "hw/pci/pci.h" #include "intel-hda.h" +#include "qemu/module.h" #include "intel-hda-defs.h" #include "audio/audio.h" #include "trace.h" diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 33e333cc26d7..b78baac29542 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -24,6 +24,7 @@ #include "qemu/timer.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/audio/soundhw.h" #include "intel-hda.h" #include "intel-hda-defs.h" diff --git a/hw/audio/marvell_88w8618.c b/hw/audio/marvell_88w8618.c index 035dd76cbfa3..ff1a0d0d8ffe 100644 --- a/hw/audio/marvell_88w8618.c +++ b/hw/audio/marvell_88w8618.c @@ -9,12 +9,14 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" #include "qapi/error.h" +#include "qemu/module.h" #define MP_AUDIO_SIZE 0x00001000 diff --git a/hw/audio/milkymist-ac97.c b/hw/audio/milkymist-ac97.c index 90cce1e6eded..bf6a5a6b9604 100644 --- a/hw/audio/milkymist-ac97.c +++ b/hw/audio/milkymist-ac97.c @@ -27,6 +27,7 @@ #include "trace.h" #include "audio/audio.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_AC97_CTRL = 0, diff --git a/hw/audio/pcspk.c b/hw/audio/pcspk.c index 9c7fd74aeba7..a7b3ab0c2b91 100644 --- a/hw/audio/pcspk.c +++ b/hw/audio/pcspk.c @@ -27,6 +27,7 @@ #include "hw/isa/isa.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/timer/i8254.h" #include "hw/audio/pcspk.h" diff --git a/hw/audio/pl041.c b/hw/audio/pl041.c index c8cc503236e6..59c6ce1f2ea0 100644 --- a/hw/audio/pl041.c +++ b/hw/audio/pl041.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #include "pl041.h" #include "lm4549.h" diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c index 65ea0cd93832..a2db06a2bb28 100644 --- a/hw/audio/sb16.c +++ b/hw/audio/sb16.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/soundhw.h" @@ -30,6 +31,7 @@ #include "qemu/timer.h" #include "qemu/host-utils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #define dolog(...) AUD_log ("sb16", __VA_ARGS__) diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index ca0ad73caf7d..81f83eea881f 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" diff --git a/hw/block/fdc.c b/hw/block/fdc.c index 37ccedc9f738..a64378f84bbd 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -40,6 +40,7 @@ #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /********************************************************/ diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index e8dfa14b332f..dd87affcf5f5 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -28,6 +28,7 @@ #include "hw/ssi/ssi.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "qapi/error.h" diff --git a/hw/block/nand.c b/hw/block/nand.c index 919cb9b803be..0a2736b50eb5 100644 --- a/hw/block/nand.c +++ b/hw/block/nand.c @@ -25,6 +25,7 @@ #include "hw/qdev.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" # define NAND_CMD_READ0 0x00 # define NAND_CMD_READ1 0x01 diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 30e50f7a3853..107a719b9531 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -37,6 +37,7 @@ #include "sysemu/block-backend.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/cutils.h" #include "trace.h" #include "nvme.h" diff --git a/hw/block/onenand.c b/hw/block/onenand.c index f11118a6876e..b3644f7e897b 100644 --- a/hw/block/onenand.c +++ b/hw/block/onenand.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "hw/hw.h" #include "hw/block/flash.h" #include "hw/irq.h" @@ -29,6 +28,7 @@ #include "hw/sysbus.h" #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" /* 11 for 2kB-page OneNAND ("2nd generation") and 10 for 1kB-page chips */ #define PAGE_SHIFT 11 diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c index 333b73627718..35080d915f75 100644 --- a/hw/block/pflash_cfi01.c +++ b/hw/block/pflash_cfi01.c @@ -47,6 +47,7 @@ #include "qemu/error-report.h" #include "qemu/host-utils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/option.h" #include "hw/sysbus.h" #include "sysemu/blockdev.h" diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c index f2c6201f813e..eb106f499648 100644 --- a/hw/block/pflash_cfi02.c +++ b/hw/block/pflash_cfi02.c @@ -43,6 +43,7 @@ #include "qemu/timer.h" #include "sysemu/block-backend.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "trace.h" diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 06e57a4d395d..cbb3729158fe 100644 --- a/hw/block/virtio-blk.c +++ b/hw/block/virtio-blk.c @@ -13,8 +13,8 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "trace.h" #include "hw/block/block.h" diff --git a/hw/block/xen-block.c b/hw/block/xen-block.c index 31b0f5ccc85f..4de537aef4af 100644 --- a/hw/block/xen-block.c +++ b/hw/block/xen-block.c @@ -7,6 +7,7 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qapi/error.h" #include "qapi/qapi-commands-block-core.h" diff --git a/hw/bt/hci-csr.c b/hw/bt/hci-csr.c index fa6660a11399..3d60654f44c1 100644 --- a/hw/bt/hci-csr.c +++ b/hw/bt/hci-csr.c @@ -20,7 +20,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "chardev/char-serial.h" #include "qemu/timer.h" #include "qemu/bswap.h" diff --git a/hw/char/bcm2835_aux.c b/hw/char/bcm2835_aux.c index 0364596c5524..94679d276cbc 100644 --- a/hw/char/bcm2835_aux.c +++ b/hw/char/bcm2835_aux.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "hw/char/bcm2835_aux.h" #include "qemu/log.h" +#include "qemu/module.h" #define AUX_IRQ 0x0 #define AUX_ENABLES 0x4 diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c index fbdbd463bb5d..fa25fe24da18 100644 --- a/hw/char/cadence_uart.c +++ b/hw/char/cadence_uart.c @@ -27,6 +27,7 @@ #include "chardev/char-serial.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/char/cadence_uart.h" #ifdef CADENCE_UART_ERR_DEBUG diff --git a/hw/char/cmsdk-apb-uart.c b/hw/char/cmsdk-apb-uart.c index ddfbb25c2499..606c9cc7d60d 100644 --- a/hw/char/cmsdk-apb-uart.c +++ b/hw/char/cmsdk-apb-uart.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c index e2abc61b042c..e1b6d1190f46 100644 --- a/hw/char/debugcon.c +++ b/hw/char/debugcon.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "chardev/char-fe.h" #include "hw/isa/isa.h" diff --git a/hw/char/digic-uart.c b/hw/char/digic-uart.c index ccc75eaa4df6..e4ac8435c83d 100644 --- a/hw/char/digic-uart.c +++ b/hw/char/digic-uart.c @@ -31,6 +31,7 @@ #include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/char/digic-uart.h" diff --git a/hw/char/escc.c b/hw/char/escc.c index c5b05a63f140..8ddbb4be4fab 100644 --- a/hw/char/escc.c +++ b/hw/char/escc.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/char/escc.h" #include "ui/console.h" #include "trace.h" diff --git a/hw/char/etraxfs_ser.c b/hw/char/etraxfs_ser.c index a18402641085..9745bca86c92 100644 --- a/hw/char/etraxfs_ser.c +++ b/hw/char/etraxfs_ser.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/log.h" +#include "qemu/module.h" #define D(x) diff --git a/hw/char/exynos4210_uart.c b/hw/char/exynos4210_uart.c index a5a285655fc4..c5700eeaec4f 100644 --- a/hw/char/exynos4210_uart.c +++ b/hw/char/exynos4210_uart.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "chardev/char-serial.h" diff --git a/hw/char/grlib_apbuart.c b/hw/char/grlib_apbuart.c index 9623016d56a8..c2bb3ac15312 100644 --- a/hw/char/grlib_apbuart.c +++ b/hw/char/grlib_apbuart.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/sparc/grlib.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "chardev/char-fe.h" #include "trace.h" diff --git a/hw/char/imx_serial.c b/hw/char/imx_serial.c index 1e363190e3d6..0655a9571bc7 100644 --- a/hw/char/imx_serial.c +++ b/hw/char/imx_serial.c @@ -22,6 +22,7 @@ #include "hw/char/imx_serial.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_UART #define DEBUG_IMX_UART 0 diff --git a/hw/char/ipoctal232.c b/hw/char/ipoctal232.c index 5e09caf851e7..5ab731e40806 100644 --- a/hw/char/ipoctal232.c +++ b/hw/char/ipoctal232.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/ipack/ipack.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "chardev/char-fe.h" /* #define DEBUG_IPOCTAL */ diff --git a/hw/char/lm32_juart.c b/hw/char/lm32_juart.c index d75c835ad22a..41a3ec81e36c 100644 --- a/hw/char/lm32_juart.c +++ b/hw/char/lm32_juart.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" #include "chardev/char-fe.h" diff --git a/hw/char/lm32_uart.c b/hw/char/lm32_uart.c index c4a3b9b27559..d047a44e3420 100644 --- a/hw/char/lm32_uart.c +++ b/hw/char/lm32_uart.c @@ -28,6 +28,7 @@ #include "trace.h" #include "chardev/char-fe.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_RXTX = 0, diff --git a/hw/char/mcf_uart.c b/hw/char/mcf_uart.c index 787f985db6bf..7b06110c4d6a 100644 --- a/hw/char/mcf_uart.c +++ b/hw/char/mcf_uart.c @@ -5,9 +5,11 @@ * * This code is licensed under the GPL */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/m68k/mcf.h" #include "chardev/char-fe.h" diff --git a/hw/char/milkymist-uart.c b/hw/char/milkymist-uart.c index 548ee27bca27..8a78fcca8f01 100644 --- a/hw/char/milkymist-uart.c +++ b/hw/char/milkymist-uart.c @@ -27,6 +27,7 @@ #include "trace.h" #include "chardev/char-fe.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_RXTX = 0, diff --git a/hw/char/nrf51_uart.c b/hw/char/nrf51_uart.c index 2f5fae61671f..c90b49147722 100644 --- a/hw/char/nrf51_uart.c +++ b/hw/char/nrf51_uart.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/char/nrf51_uart.h" #include "trace.h" diff --git a/hw/char/parallel.c b/hw/char/parallel.c index a80da47ecf56..1cd4c54a0226 100644 --- a/hw/char/parallel.c +++ b/hw/char/parallel.c @@ -22,8 +22,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "chardev/char-parallel.h" #include "chardev/char-fe.h" diff --git a/hw/char/pl011.c b/hw/char/pl011.c index e5dd448f8546..c1ae2f31f518 100644 --- a/hw/char/pl011.c +++ b/hw/char/pl011.c @@ -23,6 +23,7 @@ #include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define PL011_INT_TX 0x20 diff --git a/hw/char/sclpconsole-lm.c b/hw/char/sclpconsole-lm.c index dbc91a1e5b67..691dc870eddc 100644 --- a/hw/char/sclpconsole-lm.c +++ b/hw/char/sclpconsole-lm.c @@ -17,6 +17,7 @@ #include "hw/qdev.h" #include "qemu/thread.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "chardev/char-fe.h" #include "hw/s390x/sclp.h" diff --git a/hw/char/sclpconsole.c b/hw/char/sclpconsole.c index 1fa16e90556a..09b1d45d7ace 100644 --- a/hw/char/sclpconsole.c +++ b/hw/char/sclpconsole.c @@ -16,6 +16,7 @@ #include "hw/qdev.h" #include "qemu/thread.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/s390x/sclp.h" #include "hw/s390x/event-facility.h" diff --git a/hw/char/serial-isa.c b/hw/char/serial-isa.c index 116b7b2e69d4..610426111af6 100644 --- a/hw/char/serial-isa.c +++ b/hw/char/serial-isa.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/char/serial.h" #include "hw/isa/isa.h" diff --git a/hw/char/serial-pci.c b/hw/char/serial-pci.c index 2d5ffae5cf52..9028efbda867 100644 --- a/hw/char/serial-pci.c +++ b/hw/char/serial-pci.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/char/serial.h" #include "hw/pci/pci.h" diff --git a/hw/char/spapr_vty.c b/hw/char/spapr_vty.c index 617303dbaf2a..871d2666f3ea 100644 --- a/hw/char/spapr_vty.c +++ b/hw/char/spapr_vty.c @@ -1,7 +1,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/qdev.h" #include "chardev/char-fe.h" diff --git a/hw/char/stm32f2xx_usart.c b/hw/char/stm32f2xx_usart.c index 10392c70e2dd..40c365b90828 100644 --- a/hw/char/stm32f2xx_usart.c +++ b/hw/char/stm32f2xx_usart.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/char/stm32f2xx_usart.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef STM_USART_ERR_DEBUG #define STM_USART_ERR_DEBUG 0 diff --git a/hw/char/terminal3270.c b/hw/char/terminal3270.c index 35b079d5c4bc..3785886c2546 100644 --- a/hw/char/terminal3270.c +++ b/hw/char/terminal3270.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "chardev/char-fe.h" #include "hw/s390x/3270-ccw.h" diff --git a/hw/char/virtio-console.c b/hw/char/virtio-console.c index 2cbe1d4ed511..1bbeb00fae6b 100644 --- a/hw/char/virtio-console.c +++ b/hw/char/virtio-console.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "chardev/char-fe.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "trace.h" #include "hw/virtio/virtio-serial.h" #include "qapi/error.h" diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c index bdd917bbb83c..f7a54f261b21 100644 --- a/hw/char/virtio-serial-bus.c +++ b/hw/char/virtio-serial-bus.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "monitor/monitor.h" #include "qemu/error-report.h" #include "qemu/queue.h" diff --git a/hw/char/xilinx_uartlite.c b/hw/char/xilinx_uartlite.c index 2a8bc1e49756..880962a75653 100644 --- a/hw/char/xilinx_uartlite.c +++ b/hw/char/xilinx_uartlite.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "chardev/char-fe.h" #define DUART(x) diff --git a/hw/core/bus.c b/hw/core/bus.c index 60c47203791c..e6baa04e52b4 100644 --- a/hw/core/bus.c +++ b/hw/core/bus.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/ctype.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "qapi/error.h" diff --git a/hw/core/empty_slot.c b/hw/core/empty_slot.c index 239f78e2a771..c69453204691 100644 --- a/hw/core/empty_slot.c +++ b/hw/core/empty_slot.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/empty_slot.h" //#define DEBUG_EMPTY_SLOT diff --git a/hw/core/fw-path-provider.c b/hw/core/fw-path-provider.c index 33b99830e784..4840faefd1af 100644 --- a/hw/core/fw-path-provider.c +++ b/hw/core/fw-path-provider.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "hw/fw-path-provider.h" +#include "qemu/module.h" char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus, DeviceState *dev) diff --git a/hw/core/generic-loader.c b/hw/core/generic-loader.c index 3695dd439cd0..79a493e577ba 100644 --- a/hw/core/generic-loader.c +++ b/hw/core/generic-loader.c @@ -36,6 +36,7 @@ #include "sysemu/dma.h" #include "hw/loader.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/core/generic-loader.h" #define CPU_NONE 0xFFFFFFFF diff --git a/hw/core/nmi.c b/hw/core/nmi.c index bfd0896daf57..481c4b3c7e53 100644 --- a/hw/core/nmi.c +++ b/hw/core/nmi.c @@ -23,6 +23,7 @@ #include "hw/nmi.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" +#include "qemu/module.h" #include "monitor/monitor.h" struct do_nmi_s { diff --git a/hw/core/or-irq.c b/hw/core/or-irq.c index a86901b673c1..123a8c644a6a 100644 --- a/hw/core/or-irq.c +++ b/hw/core/or-irq.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/or-irq.h" +#include "qemu/module.h" static void or_irq_handler(void *opaque, int n, int level) { diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c index e473a447468d..5fecb29239eb 100644 --- a/hw/core/platform-bus.c +++ b/hw/core/platform-bus.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "hw/platform-bus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" diff --git a/hw/core/register.c b/hw/core/register.c index d2d1636250b3..bb5ab9d4790c 100644 --- a/hw/core/register.c +++ b/hw/core/register.c @@ -19,6 +19,7 @@ #include "hw/register.h" #include "hw/qdev.h" #include "qemu/log.h" +#include "qemu/module.h" static inline void register_write_val(RegisterInfo *reg, uint64_t val) { diff --git a/hw/core/split-irq.c b/hw/core/split-irq.c index 7e64cd49693a..c606f4a802a9 100644 --- a/hw/core/split-irq.c +++ b/hw/core/split-irq.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/core/split-irq.h" #include "qapi/error.h" +#include "qemu/module.h" static void split_irq_handler(void *opaque, int n, int level) { diff --git a/hw/core/stream.c b/hw/core/stream.c index 4439ecdf0b98..39b1e595cd90 100644 --- a/hw/core/stream.c +++ b/hw/core/stream.c @@ -1,5 +1,6 @@ #include "qemu/osdep.h" #include "hw/stream.h" +#include "qemu/module.h" size_t stream_push(StreamSlave *sink, uint8_t *buf, size_t len) diff --git a/hw/core/sysbus.c b/hw/core/sysbus.c index 689a867a2274..9e69c83aedfe 100644 --- a/hw/core/sysbus.c +++ b/hw/core/sysbus.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "monitor/monitor.h" #include "exec/address-spaces.h" diff --git a/hw/cpu/a15mpcore.c b/hw/cpu/a15mpcore.c index 5649843cd8ea..980f230d758a 100644 --- a/hw/cpu/a15mpcore.c +++ b/hw/cpu/a15mpcore.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/cpu/a15mpcore.h" #include "sysemu/kvm.h" #include "kvm_arm.h" diff --git a/hw/cpu/a9mpcore.c b/hw/cpu/a9mpcore.c index a5b867872ccf..187e4d939ede 100644 --- a/hw/cpu/a9mpcore.c +++ b/hw/cpu/a9mpcore.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/cpu/a9mpcore.h" #include "qom/cpu.h" diff --git a/hw/cpu/arm11mpcore.c b/hw/cpu/arm11mpcore.c index 8aead3794e8b..2404f93a3ea3 100644 --- a/hw/cpu/arm11mpcore.c +++ b/hw/cpu/arm11mpcore.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/cpu/arm11mpcore.h" #include "hw/intc/realview_gic.h" diff --git a/hw/cpu/core.c b/hw/cpu/core.c index 7e42e2c87a50..e57c73f0ce27 100644 --- a/hw/cpu/core.c +++ b/hw/cpu/core.c @@ -6,9 +6,11 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/cpu/core.h" #include "qapi/visitor.h" +#include "qemu/module.h" #include "qapi/error.h" #include "sysemu/cpus.h" diff --git a/hw/cpu/realview_mpcore.c b/hw/cpu/realview_mpcore.c index 9d3f8378fbea..f06294bb5e98 100644 --- a/hw/cpu/realview_mpcore.c +++ b/hw/cpu/realview_mpcore.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/cpu/arm11mpcore.h" #include "hw/intc/realview_gic.h" diff --git a/hw/display/ads7846.c b/hw/display/ads7846.c index 166edade7dc0..1a97e9763830 100644 --- a/hw/display/ads7846.c +++ b/hw/display/ads7846.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/ssi/ssi.h" +#include "qemu/module.h" #include "ui/console.h" typedef struct { diff --git a/hw/display/ati.c b/hw/display/ati.c index 75716dd944ec..76595d951181 100644 --- a/hw/display/ati.c +++ b/hw/display/ati.c @@ -21,6 +21,7 @@ #include "ati_regs.h" #include "vga_regs.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "hw/hw.h" diff --git a/hw/display/bcm2835_fb.c b/hw/display/bcm2835_fb.c index 599863e4e17f..2311ec75b804 100644 --- a/hw/display/bcm2835_fb.c +++ b/hw/display/bcm2835_fb.c @@ -30,6 +30,7 @@ #include "ui/pixel_ops.h" #include "hw/misc/bcm2835_mbox_defs.h" #include "qemu/log.h" +#include "qemu/module.h" #define DEFAULT_VCRAM_SIZE 0x4000000 #define BCM2835_FB_OFFSET 0x00100000 diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c index 3d439eb2407b..0a2a3e27c446 100644 --- a/hw/display/bochs-display.c +++ b/hw/display/bochs-display.c @@ -4,7 +4,9 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "hw/hw.h" #include "hw/pci/pci.h" diff --git a/hw/display/cg3.c b/hw/display/cg3.c index e50d97e48c48..c6b7361be257 100644 --- a/hw/display/cg3.c +++ b/hw/display/cg3.c @@ -25,12 +25,12 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/error-report.h" #include "ui/console.h" #include "hw/sysbus.h" #include "hw/loader.h" #include "qemu/log.h" +#include "qemu/module.h" /* Change to 1 to enable debugging */ #define DEBUG_CG3 0 diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c index 76c052c702ef..2e4911a1e321 100644 --- a/hw/display/cirrus_vga.c +++ b/hw/display/cirrus_vga.c @@ -31,7 +31,9 @@ * * https://pdos.csail.mit.edu/6.828/2005/readings/hardware/vgadoc */ + #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" #include "trace.h" diff --git a/hw/display/cirrus_vga_isa.c b/hw/display/cirrus_vga_isa.c index fa10b7423042..69cdb9e066eb 100644 --- a/hw/display/cirrus_vga_isa.c +++ b/hw/display/cirrus_vga_isa.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/loader.h" #include "hw/isa/isa.h" diff --git a/hw/display/dpcd.c b/hw/display/dpcd.c index 943002bee5e3..88cde54821e3 100644 --- a/hw/display/dpcd.c +++ b/hw/display/dpcd.c @@ -28,6 +28,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/auxbus.h" #include "hw/display/dpcd.h" diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c index 083b3172da4d..61f7408b1c70 100644 --- a/hw/display/exynos4210_fimd.c +++ b/hw/display/exynos4210_fimd.c @@ -23,11 +23,11 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "hw/sysbus.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "qemu/bswap.h" +#include "qemu/module.h" /* Debug messages configuration */ #define EXYNOS4210_FIMD_DEBUG 0 diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c index 3407adf98d2b..1774b4452eed 100644 --- a/hw/display/g364fb.c +++ b/hw/display/g364fb.c @@ -21,6 +21,7 @@ #include "qemu/units.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "trace.h" diff --git a/hw/display/i2c-ddc.c b/hw/display/i2c-ddc.c index 9fe5403a923e..041fc4f4089c 100644 --- a/hw/display/i2c-ddc.c +++ b/hw/display/i2c-ddc.c @@ -17,8 +17,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/i2c.h" #include "hw/display/i2c-ddc.h" diff --git a/hw/display/jazz_led.c b/hw/display/jazz_led.c index eb7933d2a35c..783189ebcd89 100644 --- a/hw/display/jazz_led.c +++ b/hw/display/jazz_led.c @@ -23,7 +23,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "trace.h" diff --git a/hw/display/milkymist-tmu2.c b/hw/display/milkymist-tmu2.c index b33fc234e9af..e1ed018b8f97 100644 --- a/hw/display/milkymist-tmu2.c +++ b/hw/display/milkymist-tmu2.c @@ -30,6 +30,7 @@ #include "trace.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/display/milkymist_tmu2.h" diff --git a/hw/display/milkymist-vgafb.c b/hw/display/milkymist-vgafb.c index 177fdac7d879..dce1dd7ad640 100644 --- a/hw/display/milkymist-vgafb.c +++ b/hw/display/milkymist-vgafb.c @@ -30,6 +30,7 @@ #include "framebuffer.h" #include "ui/pixel_ops.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define BITS 8 #include "milkymist-vgafb_template.h" diff --git a/hw/display/pl110.c b/hw/display/pl110.c index cf68457fd15a..2bdfc3cc4922 100644 --- a/hw/display/pl110.c +++ b/hw/display/pl110.c @@ -14,6 +14,7 @@ #include "ui/pixel_ops.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #define PL110_CR_EN 0x001 #define PL110_CR_BGR 0x100 diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 3880a7410b73..98c741003202 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -23,10 +23,10 @@ #include #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "qemu/queue.h" #include "qemu/atomic.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "migration/blocker.h" #include "trace.h" diff --git a/hw/display/ramfb-standalone.c b/hw/display/ramfb-standalone.c index 6441449e7bc1..56215ef88cff 100644 --- a/hw/display/ramfb-standalone.c +++ b/hw/display/ramfb-standalone.c @@ -1,5 +1,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/loader.h" #include "hw/isa/isa.h" #include "hw/display/ramfb.h" diff --git a/hw/display/sii9022.c b/hw/display/sii9022.c index 9c36e4c17ec9..0bebb85a5899 100644 --- a/hw/display/sii9022.c +++ b/hw/display/sii9022.c @@ -14,7 +14,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/i2c/i2c.h" #include "hw/display/i2c-ddc.h" #include "trace.h" diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 1e2709b2d002..5918f59b2be1 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -27,7 +27,7 @@ #include "qemu/units.h" #include "qapi/error.h" #include "qemu/log.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/char/serial.h" diff --git a/hw/display/ssd0303.c b/hw/display/ssd0303.c index 8edf34986cf2..f2a60c44c9e0 100644 --- a/hw/display/ssd0303.c +++ b/hw/display/ssd0303.c @@ -10,8 +10,10 @@ /* The controller can support a variety of different displays, but we only implement one. Most of the commends relating to brightness and geometry setup are ignored. */ + #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #include "ui/console.h" //#define DEBUG_SSD0303 1 diff --git a/hw/display/ssd0323.c b/hw/display/ssd0323.c index e18289315755..ac373f1e781b 100644 --- a/hw/display/ssd0323.c +++ b/hw/display/ssd0323.c @@ -10,8 +10,10 @@ /* The controller can support a variety of different displays, but we only implement one. Most of the commends relating to brightness and geometry setup are ignored. */ + #include "qemu/osdep.h" #include "hw/ssi/ssi.h" +#include "qemu/module.h" #include "ui/console.h" //#define DEBUG_SSD0323 1 diff --git a/hw/display/tcx.c b/hw/display/tcx.c index 66f245922674..bd5ac8f82367 100644 --- a/hw/display/tcx.c +++ b/hw/display/tcx.c @@ -24,12 +24,12 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "ui/console.h" #include "ui/pixel_ops.h" #include "hw/loader.h" #include "hw/sysbus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define TCX_ROM_FILE "QEMU,tcx.bin" #define FCODE_MAX_ROM_SIZE 0x10000 diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c index fa44242e0dd4..945952a9b0c4 100644 --- a/hw/display/vga-isa.c +++ b/hw/display/vga-isa.c @@ -23,11 +23,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" #include "vga_int.h" #include "ui/pixel_ops.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/loader.h" diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index a17c96e703fe..c66d9ec7ee24 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -23,11 +23,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "vga_int.h" #include "ui/pixel_ops.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/loader.h" #include "hw/display/edid.h" diff --git a/hw/display/virtio-gpu-pci.c b/hw/display/virtio-gpu-pci.c index 206870cd4cc8..d6f01b4a988b 100644 --- a/hw/display/virtio-gpu-pci.c +++ b/hw/display/virtio-gpu-pci.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-bus.h" diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c index 4a49da5ecbda..2b0f66b1d68d 100644 --- a/hw/display/virtio-gpu.c +++ b/hw/display/virtio-gpu.c @@ -13,7 +13,6 @@ #include "qemu/osdep.h" #include "qemu/units.h" -#include "qemu-common.h" #include "qemu/iov.h" #include "ui/console.h" #include "trace.h" @@ -25,6 +24,7 @@ #include "hw/virtio/virtio-bus.h" #include "hw/display/edid.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/display/virtio-vga.c b/hw/display/virtio-vga.c index 67e34935c21f..416e7fec87da 100644 --- a/hw/display/virtio-vga.c +++ b/hw/display/virtio-vga.c @@ -3,6 +3,7 @@ #include "hw/pci/pci.h" #include "hw/virtio/virtio-gpu.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-vga.h" static void virtio_vga_base_invalidate_display(void *opaque) diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index afbf1c597389..249a179bf616 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -21,7 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" #include "hw/hw.h" diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c index 11b09bd18c19..cfd4c700b7f0 100644 --- a/hw/display/xlnx_dp.c +++ b/hw/display/xlnx_dp.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/display/xlnx_dp.h" #ifndef DEBUG_DP diff --git a/hw/dma/bcm2835_dma.c b/hw/dma/bcm2835_dma.c index 5d144a263324..a39e8f496813 100644 --- a/hw/dma/bcm2835_dma.c +++ b/hw/dma/bcm2835_dma.c @@ -7,6 +7,7 @@ #include "qapi/error.h" #include "hw/dma/bcm2835_dma.h" #include "qemu/log.h" +#include "qemu/module.h" /* DMA CS Control and Status bits */ #define BCM2708_DMA_ACTIVE (1 << 0) diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c index 892f655a7e3c..68fad2dd12f5 100644 --- a/hw/dma/i82374.c +++ b/hw/dma/i82374.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "hw/dma/i8257.h" diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c index 3e1f13a4aaf4..30a3442437b2 100644 --- a/hw/dma/i8257.c +++ b/hw/dma/i8257.c @@ -21,11 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" #include "hw/dma/i8257.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #include "trace.h" diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c index ef15d3e628da..7e5762457bba 100644 --- a/hw/dma/pl080.c +++ b/hw/dma/pl080.c @@ -11,6 +11,7 @@ #include "hw/sysbus.h" #include "exec/address-spaces.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/dma/pl080.h" #include "qapi/error.h" diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c index d071049233b1..62ad35615648 100644 --- a/hw/dma/pl330.c +++ b/hw/dma/pl330.c @@ -20,6 +20,7 @@ #include "qemu/timer.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef PL330_ERR_DEBUG #define PL330_ERR_DEBUG 0 diff --git a/hw/dma/puv3_dma.c b/hw/dma/puv3_dma.c index c89eade0292e..122f87aff1f0 100644 --- a/hw/dma/puv3_dma.c +++ b/hw/dma/puv3_dma.c @@ -8,12 +8,14 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" +#include "qemu/module.h" #define PUV3_DMA_CH_NR (6) #define PUV3_DMA_CH_MASK (0xff) diff --git a/hw/dma/pxa2xx_dma.c b/hw/dma/pxa2xx_dma.c index d498de8ffe3e..d6fb9574179f 100644 --- a/hw/dma/pxa2xx_dma.c +++ b/hw/dma/pxa2xx_dma.c @@ -13,6 +13,7 @@ #include "hw/arm/pxa.h" #include "hw/sysbus.h" #include "qapi/error.h" +#include "qemu/module.h" #define PXA255_DMA_NUM_CHANNELS 16 #define PXA27X_DMA_NUM_CHANNELS 32 diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c index ccd8612888e5..6ccafece1854 100644 --- a/hw/dma/rc4030.c +++ b/hw/dma/rc4030.c @@ -28,6 +28,7 @@ #include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "exec/address-spaces.h" #include "trace.h" diff --git a/hw/dma/sparc32_dma.c b/hw/dma/sparc32_dma.c index 7b00a27de675..88765d0c252a 100644 --- a/hw/dma/sparc32_dma.c +++ b/hw/dma/sparc32_dma.c @@ -32,6 +32,7 @@ #include "hw/sysbus.h" #include "sysemu/dma.h" #include "qapi/error.h" +#include "qemu/module.h" #include "trace.h" /* diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index 401a328e275f..921be178d98d 100644 --- a/hw/dma/xilinx_axidma.c +++ b/hw/dma/xilinx_axidma.c @@ -29,6 +29,7 @@ #include "hw/ptimer.h" #include "qemu/log.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "hw/stream.h" diff --git a/hw/dma/xlnx-zdma.c b/hw/dma/xlnx-zdma.c index b6745f5bcfa3..51e1ead4faf3 100644 --- a/hw/dma/xlnx-zdma.c +++ b/hw/dma/xlnx-zdma.c @@ -30,6 +30,7 @@ #include "hw/dma/xlnx-zdma.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #ifndef XLNX_ZDMA_ERR_DEBUG diff --git a/hw/dma/xlnx-zynq-devcfg.c b/hw/dma/xlnx-zynq-devcfg.c index 12bb2e37168e..7a03ce1b025a 100644 --- a/hw/dma/xlnx-zynq-devcfg.c +++ b/hw/dma/xlnx-zynq-devcfg.c @@ -30,6 +30,7 @@ #include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" #define FREQ_HZ 900000000 diff --git a/hw/dma/xlnx_dpdma.c b/hw/dma/xlnx_dpdma.c index 077c7da9ccd3..040df70a931d 100644 --- a/hw/dma/xlnx_dpdma.c +++ b/hw/dma/xlnx_dpdma.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/dma/xlnx_dpdma.h" #ifndef DEBUG_DPDMA diff --git a/hw/gpio/bcm2835_gpio.c b/hw/gpio/bcm2835_gpio.c index acc2e3cf9ee5..ba8dd6c393d8 100644 --- a/hw/gpio/bcm2835_gpio.c +++ b/hw/gpio/bcm2835_gpio.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qapi/error.h" #include "hw/sysbus.h" diff --git a/hw/gpio/gpio_key.c b/hw/gpio/gpio_key.c index b34aa49dfb8b..7d5510257eb3 100644 --- a/hw/gpio/gpio_key.c +++ b/hw/gpio/gpio_key.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "qemu/timer.h" #define TYPE_GPIOKEY "gpio-key" diff --git a/hw/gpio/imx_gpio.c b/hw/gpio/imx_gpio.c index c36c394fdaf2..a51af72c1f8d 100644 --- a/hw/gpio/imx_gpio.c +++ b/hw/gpio/imx_gpio.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/gpio/imx_gpio.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_GPIO #define DEBUG_IMX_GPIO 0 diff --git a/hw/gpio/max7310.c b/hw/gpio/max7310.c index c6f686c3eb59..273da622cab9 100644 --- a/hw/gpio/max7310.c +++ b/hw/gpio/max7310.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #define TYPE_MAX7310 "max7310" #define MAX7310(obj) OBJECT_CHECK(MAX7310State, (obj), TYPE_MAX7310) diff --git a/hw/gpio/mpc8xxx.c b/hw/gpio/mpc8xxx.c index e12edb493341..6ff56dc3f24a 100644 --- a/hw/gpio/mpc8xxx.c +++ b/hw/gpio/mpc8xxx.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #define TYPE_MPC8XXX_GPIO "mpc8xxx_gpio" #define MPC8XXX_GPIO(obj) OBJECT_CHECK(MPC8XXXGPIOState, (obj), TYPE_MPC8XXX_GPIO) diff --git a/hw/gpio/nrf51_gpio.c b/hw/gpio/nrf51_gpio.c index 87a2f2a0dc37..dd6c16a841cd 100644 --- a/hw/gpio/nrf51_gpio.c +++ b/hw/gpio/nrf51_gpio.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/gpio/nrf51_gpio.h" #include "trace.h" diff --git a/hw/gpio/omap_gpio.c b/hw/gpio/omap_gpio.c index 08472193b5c3..e2785c5dc7d7 100644 --- a/hw/gpio/omap_gpio.c +++ b/hw/gpio/omap_gpio.c @@ -23,6 +23,7 @@ #include "hw/arm/omap.h" #include "hw/sysbus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" struct omap_gpio_s { diff --git a/hw/gpio/pl061.c b/hw/gpio/pl061.c index 4ae2aa156622..02c01fd521e2 100644 --- a/hw/gpio/pl061.c +++ b/hw/gpio/pl061.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" //#define DEBUG_PL061 1 diff --git a/hw/gpio/puv3_gpio.c b/hw/gpio/puv3_gpio.c index 33241b8564ce..54d30cada25f 100644 --- a/hw/gpio/puv3_gpio.c +++ b/hw/gpio/puv3_gpio.c @@ -8,12 +8,14 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" +#include "qemu/module.h" #define TYPE_PUV3_GPIO "puv3_gpio" #define PUV3_GPIO(obj) OBJECT_CHECK(PUV3GPIOState, (obj), TYPE_PUV3_GPIO) diff --git a/hw/gpio/zaurus.c b/hw/gpio/zaurus.c index 15865e1081a5..f2f1f672665c 100644 --- a/hw/gpio/zaurus.c +++ b/hw/gpio/zaurus.c @@ -15,10 +15,12 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/arm/sharpsl.h" #include "hw/sysbus.h" +#include "qemu/module.h" #undef REG_FMT #define REG_FMT "0x%02lx" diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c index 4d1380c51fa9..e94614abbdf8 100644 --- a/hw/hppa/dino.c +++ b/hw/hppa/dino.c @@ -11,6 +11,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" diff --git a/hw/hyperv/hyperv.c b/hw/hyperv/hyperv.c index 8758635227ba..6ebf31c310d7 100644 --- a/hw/hyperv/hyperv.c +++ b/hw/hyperv/hyperv.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qapi/error.h" #include "exec/address-spaces.h" #include "sysemu/kvm.h" diff --git a/hw/hyperv/hyperv_testdev.c b/hw/hyperv/hyperv_testdev.c index 4880333cf530..0d343a8bc078 100644 --- a/hw/hyperv/hyperv_testdev.c +++ b/hw/hyperv/hyperv_testdev.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/queue.h" #include "hw/qdev.h" #include "hw/isa/isa.h" diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/aspeed_i2c.c index a085510cfd30..219ad3806f15 100644 --- a/hw/i2c/aspeed_i2c.c +++ b/hw/i2c/aspeed_i2c.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/aspeed_i2c.h" /* I2C Global Register */ diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index 8be88ee265c1..5dfc72d9d7b7 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -9,10 +9,12 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "bitbang_i2c.h" #include "hw/sysbus.h" +#include "qemu/module.h" //#define DEBUG_BITBANG_I2C diff --git a/hw/i2c/core.c b/hw/i2c/core.c index 15237ad07369..20f36f1d5505 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #include "trace.h" #define I2C_BROADCAST 0x00 diff --git a/hw/i2c/exynos4210_i2c.c b/hw/i2c/exynos4210_i2c.c index d154b0573959..70a97a3e2d7a 100644 --- a/hw/i2c/exynos4210_i2c.c +++ b/hw/i2c/exynos4210_i2c.c @@ -21,6 +21,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/sysbus.h" #include "hw/i2c/i2c.h" diff --git a/hw/i2c/imx_i2c.c b/hw/i2c/imx_i2c.c index 6da5224e2e60..ce7a94c282bd 100644 --- a/hw/i2c/imx_i2c.c +++ b/hw/i2c/imx_i2c.c @@ -22,6 +22,7 @@ #include "hw/i2c/imx_i2c.h" #include "hw/i2c/i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_I2C #define DEBUG_IMX_I2C 0 diff --git a/hw/i2c/microbit_i2c.c b/hw/i2c/microbit_i2c.c index 793f1b0f8ba9..214be07c5ae4 100644 --- a/hw/i2c/microbit_i2c.c +++ b/hw/i2c/microbit_i2c.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/microbit_i2c.h" static const uint32_t twi_read_sequence[] = {0x5A, 0x5A, 0x40}; diff --git a/hw/i2c/mpc_i2c.c b/hw/i2c/mpc_i2c.c index 693ca7ef6b0b..e9a11270507c 100644 --- a/hw/i2c/mpc_i2c.c +++ b/hw/i2c/mpc_i2c.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" /* #define DEBUG_I2C */ diff --git a/hw/i2c/omap_i2c.c b/hw/i2c/omap_i2c.c index d02e734ea8eb..d7ebeae8e2e2 100644 --- a/hw/i2c/omap_i2c.c +++ b/hw/i2c/omap_i2c.c @@ -16,8 +16,10 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ + #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/arm/omap.h" diff --git a/hw/i2c/ppc4xx_i2c.c b/hw/i2c/ppc4xx_i2c.c index d6dfafab31d4..d606d3dbeb81 100644 --- a/hw/i2c/ppc4xx_i2c.c +++ b/hw/i2c/ppc4xx_i2c.c @@ -25,8 +25,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/log.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/i2c/ppc4xx_i2c.h" diff --git a/hw/i2c/smbus_ich9.c b/hw/i2c/smbus_ich9.c index 251d3d142ff9..51a03046a6ec 100644 --- a/hw/i2c/smbus_ich9.c +++ b/hw/i2c/smbus_ich9.c @@ -19,10 +19,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/pm_smbus.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "hw/i386/ich9.h" diff --git a/hw/i2c/smbus_slave.c b/hw/i2c/smbus_slave.c index 9a2d314d1a95..a9908c1a9b96 100644 --- a/hw/i2c/smbus_slave.c +++ b/hw/i2c/smbus_slave.c @@ -17,6 +17,7 @@ #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus_slave.h" +#include "qemu/module.h" //#define DEBUG_SMBUS 1 diff --git a/hw/i2c/versatile_i2c.c b/hw/i2c/versatile_i2c.c index da9f298ee550..e07be9890c8a 100644 --- a/hw/i2c/versatile_i2c.c +++ b/hw/i2c/versatile_i2c.c @@ -25,6 +25,7 @@ #include "hw/sysbus.h" #include "bitbang_i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_VERSATILE_I2C "versatile_i2c" #define VERSATILE_I2C(obj) \ diff --git a/hw/i386/kvm/apic.c b/hw/i386/kvm/apic.c index 1df6d26816f9..91fb622d630d 100644 --- a/hw/i386/kvm/apic.c +++ b/hw/i386/kvm/apic.c @@ -9,8 +9,9 @@ * This work is licensed under the terms of the GNU GPL version 2. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/i386/apic_internal.h" #include "hw/pci/msi.h" diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c index 25ea783bec2c..a5cda15b85fc 100644 --- a/hw/i386/kvm/clock.c +++ b/hw/i386/kvm/clock.c @@ -14,9 +14,9 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/hw_accel.h" diff --git a/hw/i386/kvm/i8254.c b/hw/i386/kvm/i8254.c index d4d4a859f0d8..c29956ab779f 100644 --- a/hw/i386/kvm/i8254.c +++ b/hw/i386/kvm/i8254.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "hw/timer/i8254.h" diff --git a/hw/i386/kvm/i8259.c b/hw/i386/kvm/i8259.c index 83b6bfec77eb..bfdeab29bea7 100644 --- a/hw/i386/kvm/i8259.c +++ b/hw/i386/kvm/i8259.c @@ -9,8 +9,10 @@ * This work is licensed under the terms of the GNU GPL version 2. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/isa/i8259_internal.h" +#include "qemu/module.h" #include "hw/i386/apic_internal.h" #include "sysemu/kvm.h" diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c index fe5b12ef6ea5..ca8df462b6d2 100644 --- a/hw/i386/kvmvapic.c +++ b/hw/i386/kvmvapic.c @@ -8,8 +8,9 @@ * (at your option) any later version. See the COPYING file in the * top-level directory. */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "sysemu/sysemu.h" #include "sysemu/cpus.h" diff --git a/hw/i386/xen/xen_apic.c b/hw/i386/xen/xen_apic.c index 55769eba7ede..7c7a60b166e5 100644 --- a/hw/i386/xen/xen_apic.c +++ b/hw/i386/xen/xen_apic.c @@ -9,10 +9,12 @@ * This work is licensed under the terms of the GNU GPL version 2 or * later. See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/i386/apic_internal.h" #include "hw/pci/msi.h" #include "hw/xen/xen.h" +#include "qemu/module.h" static uint64_t xen_apic_mem_read(void *opaque, hwaddr addr, unsigned size) diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c index 16afb54fee8f..7a972e46cf70 100644 --- a/hw/i386/xen/xen_platform.c +++ b/hw/i386/xen/xen_platform.c @@ -35,6 +35,7 @@ #include "exec/address-spaces.h" #include "sysemu/block-backend.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c index a146f1883a60..23748f36a299 100644 --- a/hw/i386/xen/xen_pvdevice.c +++ b/hw/i386/xen/xen_pvdevice.c @@ -31,6 +31,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "trace.h" diff --git a/hw/ide/ahci-allwinner.c b/hw/ide/ahci-allwinner.c index f98e6cb3d4fc..de08d877905f 100644 --- a/hw/ide/ahci-allwinner.c +++ b/hw/ide/ahci-allwinner.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" #include "ahci_internal.h" diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index d700ca973b36..00ba422a48dc 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -28,6 +28,7 @@ #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 5a5679134a35..ed23aabf2122 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" diff --git a/hw/ide/ich.c b/hw/ide/ich.c index 51c935a0dae8..c1ba927574ce 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -64,6 +64,7 @@ #include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "sysemu/dma.h" #include "hw/ide/pci.h" diff --git a/hw/ide/isa.c b/hw/ide/isa.c index 028bd61774c8..4b5784e3fdfa 100644 --- a/hw/ide/isa.c +++ b/hw/ide/isa.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/macio.c b/hw/ide/macio.c index bab8c45a4338..54571fed124b 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -22,10 +22,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/ppc/mac_dbdma.h" +#include "qemu/module.h" #include "hw/misc/macio/macio.h" #include "sysemu/block-backend.h" #include "sysemu/dma.h" diff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c index 34bb98dce83f..92ee6e0af8cc 100644 --- a/hw/ide/microdrive.c +++ b/hw/ide/microdrive.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pcmcia.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/mmio.c b/hw/ide/mmio.c index 42fcf139eeec..70a58016d018 100644 --- a/hw/ide/mmio.c +++ b/hw/ide/mmio.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "hw/ide/internal.h" diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 942613a9a950..4c6fb9a68ee2 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -22,11 +22,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "sysemu/dma.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/ide/pci.h" #include "trace.h" diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 885c16e93871..b97e555072e0 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/block-backend.h" #include "sysemu/sysemu.h" #include "sysemu/blockdev.h" diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index 360cd20bd87a..9d8502785d29 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -16,11 +16,13 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "sysemu/dma.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/ide/internal.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c index 59db09cfe4a0..d7590d4ba431 100644 --- a/hw/ide/sii3112.c +++ b/hw/ide/sii3112.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/ide/pci.h" +#include "qemu/module.h" #include "trace.h" #define TYPE_SII3112_PCI "sii3112" diff --git a/hw/ide/via.c b/hw/ide/via.c index ac9385228ce0..c3bda909f99c 100644 --- a/hw/ide/via.c +++ b/hw/ide/via.c @@ -23,9 +23,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" diff --git a/hw/input/adb-kbd.c b/hw/input/adb-kbd.c index b026e9d49fda..da361f56df40 100644 --- a/hw/input/adb-kbd.c +++ b/hw/input/adb-kbd.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/input/adb.h" +#include "qemu/module.h" #include "ui/input.h" #include "hw/input/adb-keys.h" #include "sysemu/sysemu.h" diff --git a/hw/input/adb-mouse.c b/hw/input/adb-mouse.c index 83833b003567..52526fddb75c 100644 --- a/hw/input/adb-mouse.c +++ b/hw/input/adb-mouse.c @@ -21,9 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "ui/console.h" #include "hw/input/adb.h" +#include "qemu/module.h" #include "adb-internal.h" #include "trace.h" diff --git a/hw/input/adb.c b/hw/input/adb.c index bbb40aeef1ba..1446f32521e2 100644 --- a/hw/input/adb.c +++ b/hw/input/adb.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/input/adb.h" +#include "qemu/module.h" #include "adb-internal.h" /* error codes */ diff --git a/hw/input/lm832x.c b/hw/input/lm832x.c index 1fc7b86f1929..5203da2bcfc9 100644 --- a/hw/input/lm832x.c +++ b/hw/input/lm832x.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "ui/console.h" diff --git a/hw/input/milkymist-softusb.c b/hw/input/milkymist-softusb.c index 8766a17d9e0f..f779cd437023 100644 --- a/hw/input/milkymist-softusb.c +++ b/hw/input/milkymist-softusb.c @@ -29,6 +29,7 @@ #include "ui/console.h" #include "hw/input/hid.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_CTRL = 0, diff --git a/hw/input/pl050.c b/hw/input/pl050.c index 15bffbfcadbc..b79bf1647d92 100644 --- a/hw/input/pl050.c +++ b/hw/input/pl050.c @@ -11,6 +11,7 @@ #include "hw/sysbus.h" #include "hw/input/ps2.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_PL050 "pl050" #define PL050(obj) OBJECT_CHECK(PL050State, (obj), TYPE_PL050) diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c index bc5f9a2ed236..f15a063facdc 100644 --- a/hw/input/virtio-input-hid.c +++ b/hw/input/virtio-input-hid.c @@ -6,6 +6,7 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "hw/virtio/virtio.h" diff --git a/hw/input/virtio-input-host.c b/hw/input/virtio-input-host.c index cb79e80024eb..a54c31eb09f2 100644 --- a/hw/input/virtio-input-host.c +++ b/hw/input/virtio-input-host.c @@ -6,7 +6,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "hw/qdev.h" diff --git a/hw/input/virtio-input.c b/hw/input/virtio-input.c index 0e42f0d02c58..9946394cf4a1 100644 --- a/hw/input/virtio-input.c +++ b/hw/input/virtio-input.c @@ -7,6 +7,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "trace.h" #include "hw/qdev.h" diff --git a/hw/intc/allwinner-a10-pic.c b/hw/intc/allwinner-a10-pic.c index 1aa628cbbb8a..080bdd791f9f 100644 --- a/hw/intc/allwinner-a10-pic.c +++ b/hw/intc/allwinner-a10-pic.c @@ -20,6 +20,7 @@ #include "sysemu/sysemu.h" #include "hw/intc/allwinner-a10-pic.h" #include "qemu/log.h" +#include "qemu/module.h" static void aw_a10_pic_update(AwA10PICState *s) { diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c index 78903ea90917..e764a2bb0387 100644 --- a/hw/intc/apic_common.c +++ b/hw/intc/apic_common.c @@ -17,10 +17,11 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see */ + #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "qapi/visitor.h" #include "hw/i386/apic.h" diff --git a/hw/intc/arm_gic.c b/hw/intc/arm_gic.c index b3ac2d11fc54..77427a418815 100644 --- a/hw/intc/arm_gic.c +++ b/hw/intc/arm_gic.c @@ -24,6 +24,7 @@ #include "qapi/error.h" #include "qom/cpu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "sysemu/kvm.h" diff --git a/hw/intc/arm_gic_common.c b/hw/intc/arm_gic_common.c index 57569a4e590a..ccc50d00b650 100644 --- a/hw/intc/arm_gic_common.c +++ b/hw/intc/arm_gic_common.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "gic_internal.h" #include "hw/arm/linux-boot-if.h" diff --git a/hw/intc/arm_gic_kvm.c b/hw/intc/arm_gic_kvm.c index a611e8ee1252..b56fda144f97 100644 --- a/hw/intc/arm_gic_kvm.c +++ b/hw/intc/arm_gic_kvm.c @@ -21,7 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/sysbus.h" #include "migration/blocker.h" diff --git a/hw/intc/arm_gicv2m.c b/hw/intc/arm_gicv2m.c index 3922fbc1c137..05f299fc7f72 100644 --- a/hw/intc/arm_gicv2m.c +++ b/hw/intc/arm_gicv2m.c @@ -31,6 +31,7 @@ #include "hw/pci/msi.h" #include "sysemu/kvm.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_ARM_GICV2M "arm-gicv2m" #define ARM_GICV2M(obj) OBJECT_CHECK(ARMGICv2mState, (obj), TYPE_ARM_GICV2M) diff --git a/hw/intc/arm_gicv3.c b/hw/intc/arm_gicv3.c index 7044133e2d70..66eaa9719828 100644 --- a/hw/intc/arm_gicv3.c +++ b/hw/intc/arm_gicv3.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/intc/arm_gicv3.h" #include "gicv3_internal.h" diff --git a/hw/intc/arm_gicv3_common.c b/hw/intc/arm_gicv3_common.c index 52480c3b4cf9..5edabb928f7a 100644 --- a/hw/intc/arm_gicv3_common.c +++ b/hw/intc/arm_gicv3_common.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qom/cpu.h" #include "hw/intc/arm_gicv3_common.h" #include "gicv3_internal.h" diff --git a/hw/intc/arm_gicv3_its_common.c b/hw/intc/arm_gicv3_its_common.c index 284c0a7584f1..efb3d51fb52b 100644 --- a/hw/intc/arm_gicv3_its_common.c +++ b/hw/intc/arm_gicv3_its_common.c @@ -22,6 +22,7 @@ #include "hw/pci/msi.h" #include "hw/intc/arm_gicv3_its_common.h" #include "qemu/log.h" +#include "qemu/module.h" static int gicv3_its_pre_save(void *opaque) { diff --git a/hw/intc/arm_gicv3_its_kvm.c b/hw/intc/arm_gicv3_its_kvm.c index 01573abb488c..52ac01aba301 100644 --- a/hw/intc/arm_gicv3_its_kvm.c +++ b/hw/intc/arm_gicv3_its_kvm.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/intc/arm_gicv3_its_common.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" diff --git a/hw/intc/arm_gicv3_kvm.c b/hw/intc/arm_gicv3_kvm.c index 1e11200fe2ee..d9c72f85bec3 100644 --- a/hw/intc/arm_gicv3_kvm.c +++ b/hw/intc/arm_gicv3_kvm.c @@ -24,6 +24,7 @@ #include "hw/intc/arm_gicv3_common.h" #include "hw/sysbus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "sysemu/sysemu.h" #include "kvm_arm.h" diff --git a/hw/intc/armv7m_nvic.c b/hw/intc/armv7m_nvic.c index dc2c206d9ad9..b8ede30b3cb8 100644 --- a/hw/intc/armv7m_nvic.c +++ b/hw/intc/armv7m_nvic.c @@ -12,7 +12,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/sysbus.h" #include "qemu/timer.h" @@ -20,6 +19,7 @@ #include "target/arm/cpu.h" #include "exec/exec-all.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* IRQ number counting: diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c index 2370e7485fa5..927638d5322a 100644 --- a/hw/intc/aspeed_vic.c +++ b/hw/intc/aspeed_vic.c @@ -31,6 +31,7 @@ #include "hw/intc/aspeed_vic.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define AVIC_NEW_BASE_OFFSET 0x80 diff --git a/hw/intc/bcm2835_ic.c b/hw/intc/bcm2835_ic.c index 00d25306fdc4..61d37643a15f 100644 --- a/hw/intc/bcm2835_ic.c +++ b/hw/intc/bcm2835_ic.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/intc/bcm2835_ic.h" #include "qemu/log.h" +#include "qemu/module.h" #define GPU_IRQS 64 #define ARM_IRQS 8 diff --git a/hw/intc/bcm2836_control.c b/hw/intc/bcm2836_control.c index 421469f2ef5e..66417c85e4ec 100644 --- a/hw/intc/bcm2836_control.c +++ b/hw/intc/bcm2836_control.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/intc/bcm2836_control.h" #include "qemu/log.h" +#include "qemu/module.h" #define REG_GPU_ROUTE 0x0c #define REG_LOCALTIMERROUTING 0x24 diff --git a/hw/intc/etraxfs_pic.c b/hw/intc/etraxfs_pic.c index 1bfde2f09ebf..20e1391d6429 100644 --- a/hw/intc/etraxfs_pic.c +++ b/hw/intc/etraxfs_pic.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/hw.h" //#include "pc.h" //#include "etraxfs.h" diff --git a/hw/intc/exynos4210_combiner.c b/hw/intc/exynos4210_combiner.c index f19a7062be3a..6fed0e8d1690 100644 --- a/hw/intc/exynos4210_combiner.c +++ b/hw/intc/exynos4210_combiner.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/arm/exynos4210.h" diff --git a/hw/intc/exynos4210_gic.c b/hw/intc/exynos4210_gic.c index 69f9c18d736d..e37d457fcf3a 100644 --- a/hw/intc/exynos4210_gic.c +++ b/hw/intc/exynos4210_gic.c @@ -22,7 +22,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/irq.h" #include "hw/arm/exynos4210.h" diff --git a/hw/intc/grlib_irqmp.c b/hw/intc/grlib_irqmp.c index 20accb6c4d19..21c77a5ec1e5 100644 --- a/hw/intc/grlib_irqmp.c +++ b/hw/intc/grlib_irqmp.c @@ -32,6 +32,7 @@ #include "trace.h" #include "qapi/error.h" +#include "qemu/module.h" #define IRQMP_MAX_CPU 16 #define IRQMP_REG_SIZE 256 /* Size of memory mapped registers */ diff --git a/hw/intc/heathrow_pic.c b/hw/intc/heathrow_pic.c index b8b997decac0..c282ac400603 100644 --- a/hw/intc/heathrow_pic.c +++ b/hw/intc/heathrow_pic.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" +#include "qemu/module.h" #include "hw/intc/heathrow_pic.h" #include "trace.h" diff --git a/hw/intc/imx_avic.c b/hw/intc/imx_avic.c index 813e587a631e..83a4101528fe 100644 --- a/hw/intc/imx_avic.c +++ b/hw/intc/imx_avic.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/intc/imx_avic.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_AVIC #define DEBUG_IMX_AVIC 0 diff --git a/hw/intc/imx_gpcv2.c b/hw/intc/imx_gpcv2.c index 4eb9ce266816..a83333bdea03 100644 --- a/hw/intc/imx_gpcv2.c +++ b/hw/intc/imx_gpcv2.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/intc/imx_gpcv2.h" #include "qemu/log.h" +#include "qemu/module.h" #define GPC_PU_PGC_SW_PUP_REQ 0x0f8 #define GPC_PU_PGC_SW_PDN_REQ 0x104 diff --git a/hw/intc/ioapic_common.c b/hw/intc/ioapic_common.c index 692dc37bb61b..fa50382d43e2 100644 --- a/hw/intc/ioapic_common.c +++ b/hw/intc/ioapic_common.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "monitor/monitor.h" #include "hw/i386/ioapic.h" #include "hw/i386/ioapic_internal.h" diff --git a/hw/intc/lm32_pic.c b/hw/intc/lm32_pic.c index db6c7afc2f60..170fa7a1ac4e 100644 --- a/hw/intc/lm32_pic.c +++ b/hw/intc/lm32_pic.c @@ -21,6 +21,7 @@ #include "hw/hw.h" #include "monitor/monitor.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "trace.h" #include "hw/lm32/lm32_pic.h" diff --git a/hw/intc/mips_gic.c b/hw/intc/mips_gic.c index 8f509493ea69..33ab51c5b82b 100644 --- a/hw/intc/mips_gic.c +++ b/hw/intc/mips_gic.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/intc/nios2_iic.c b/hw/intc/nios2_iic.c index 016426f964a2..7329434b91a9 100644 --- a/hw/intc/nios2_iic.c +++ b/hw/intc/nios2_iic.c @@ -19,7 +19,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/sysbus.h" diff --git a/hw/intc/omap_intc.c b/hw/intc/omap_intc.c index 6844c1aa8341..053e67c66ba9 100644 --- a/hw/intc/omap_intc.c +++ b/hw/intc/omap_intc.c @@ -17,11 +17,13 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/arm/omap.h" #include "hw/sysbus.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" /* Interrupt Handlers */ diff --git a/hw/intc/ompic.c b/hw/intc/ompic.c index c0e34d1268a4..9cb310a5ddc6 100644 --- a/hw/intc/ompic.c +++ b/hw/intc/ompic.c @@ -8,6 +8,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index 811cee9b26d7..9b4fc6cf4366 100644 --- a/hw/intc/openpic.c +++ b/hw/intc/openpic.c @@ -33,6 +33,7 @@ * Serial interrupts, as implemented in Raven chipset are not supported yet. * */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" @@ -45,6 +46,7 @@ #include "qemu/bitops.h" #include "qapi/qmp/qerror.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qemu/error-report.h" diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c index 928bc04a4eb8..49fc6fa0cf3e 100644 --- a/hw/intc/openpic_kvm.c +++ b/hw/intc/openpic_kvm.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include #include "exec/address-spaces.h" @@ -35,6 +34,7 @@ #include "hw/sysbus.h" #include "sysemu/kvm.h" #include "qemu/log.h" +#include "qemu/module.h" #define GCR_RESET 0x80000000 diff --git a/hw/intc/pl190.c b/hw/intc/pl190.c index 55ea15de7618..b4f31efc4591 100644 --- a/hw/intc/pl190.c +++ b/hw/intc/pl190.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" /* The number of virtual priority levels. 16 user vectors plus the unvectored IRQ. Chained interrupts would require an additional level diff --git a/hw/intc/pnv_xive.c b/hw/intc/pnv_xive.c index bb0877cbdf3b..a55c2bbc88eb 100644 --- a/hw/intc/pnv_xive.c +++ b/hw/intc/pnv_xive.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "target/ppc/cpu.h" #include "sysemu/cpus.h" diff --git a/hw/intc/puv3_intc.c b/hw/intc/puv3_intc.c index 69ddc8c19ab4..e2f6d9875a8c 100644 --- a/hw/intc/puv3_intc.c +++ b/hw/intc/puv3_intc.c @@ -8,11 +8,13 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" +#include "qemu/module.h" #define TYPE_PUV3_INTC "puv3_intc" #define PUV3_INTC(obj) OBJECT_CHECK(PUV3INTCState, (obj), TYPE_PUV3_INTC) diff --git a/hw/intc/realview_gic.c b/hw/intc/realview_gic.c index 7f2ff85c83f6..99557544dbef 100644 --- a/hw/intc/realview_gic.c +++ b/hw/intc/realview_gic.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/intc/realview_gic.h" static void realview_gic_set_irq(void *opaque, int irq, int level) diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c index 5f8168f0f07f..d0be755c8272 100644 --- a/hw/intc/s390_flic.c +++ b/hw/intc/s390_flic.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/s390x/ioinst.h" #include "hw/s390x/s390_flic.h" diff --git a/hw/intc/s390_flic_kvm.c b/hw/intc/s390_flic_kvm.c index a03df37560a8..ff45b4ab0b8b 100644 --- a/hw/intc/s390_flic_kvm.c +++ b/hw/intc/s390_flic_kvm.c @@ -11,11 +11,11 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "kvm_s390x.h" #include #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/sysbus.h" #include "sysemu/kvm.h" diff --git a/hw/intc/slavio_intctl.c b/hw/intc/slavio_intctl.c index 817e02617e59..ca528753bf30 100644 --- a/hw/intc/slavio_intctl.c +++ b/hw/intc/slavio_intctl.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "monitor/monitor.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/intc/intc.h" #include "trace.h" diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c index 62e0ef8fa5b4..58c2e5d890bd 100644 --- a/hw/intc/spapr_xive.c +++ b/hw/intc/spapr_xive.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "target/ppc/cpu.h" diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 79f5a8a91665..29f7d397813e 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -27,13 +27,13 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" #include "trace.h" #include "qemu/timer.h" #include "hw/ppc/xics.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/visitor.h" #include "monitor/monitor.h" #include "hw/intc/intc.h" diff --git a/hw/intc/xics_pnv.c b/hw/intc/xics_pnv.c index fa48505f365e..67f2702e521c 100644 --- a/hw/intc/xics_pnv.c +++ b/hw/intc/xics_pnv.c @@ -21,6 +21,7 @@ #include "qapi/error.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/ppc/xics.h" #define ICP_XIRR_POLL 0 /* 1 byte (CPRR) or 4 bytes */ diff --git a/hw/intc/xilinx_intc.c b/hw/intc/xilinx_intc.c index 9d8139bc6d41..d5363e977f42 100644 --- a/hw/intc/xilinx_intc.c +++ b/hw/intc/xilinx_intc.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/hw.h" #define D(x) diff --git a/hw/intc/xive.c b/hw/intc/xive.c index 0c74e47aa49c..b7e082979506 100644 --- a/hw/intc/xive.c +++ b/hw/intc/xive.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "target/ppc/cpu.h" #include "sysemu/cpus.h" diff --git a/hw/intc/xlnx-pmu-iomod-intc.c b/hw/intc/xlnx-pmu-iomod-intc.c index 59235351ba9f..0b8ff897dc0e 100644 --- a/hw/intc/xlnx-pmu-iomod-intc.c +++ b/hw/intc/xlnx-pmu-iomod-intc.c @@ -29,6 +29,7 @@ #include "hw/register.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/intc/xlnx-pmu-iomod-intc.h" #ifndef XLNX_PMU_IO_INTC_ERR_DEBUG diff --git a/hw/intc/xlnx-zynqmp-ipi.c b/hw/intc/xlnx-zynqmp-ipi.c index aa50a8ac08d3..0dad6c04f533 100644 --- a/hw/intc/xlnx-zynqmp-ipi.c +++ b/hw/intc/xlnx-zynqmp-ipi.c @@ -30,6 +30,7 @@ #include "hw/register.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/intc/xlnx-zynqmp-ipi.h" #ifndef XLNX_ZYNQMP_IPI_ERR_DEBUG diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c index 6021e6d135c1..6b1b72f94d2e 100644 --- a/hw/ipack/ipack.c +++ b/hw/ipack/ipack.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/ipack/ipack.h" IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot) diff --git a/hw/ipack/tpci200.c b/hw/ipack/tpci200.c index cd3e79139d50..d4d85107d030 100644 --- a/hw/ipack/tpci200.c +++ b/hw/ipack/tpci200.c @@ -13,6 +13,7 @@ #include "hw/ipack/ipack.h" #include "hw/pci/pci.h" #include "qemu/bitops.h" +#include "qemu/module.h" /* #define DEBUG_TPCI */ diff --git a/hw/ipmi/ipmi.c b/hw/ipmi/ipmi.c index 63c031703d4d..a837f91782a7 100644 --- a/hw/ipmi/ipmi.c +++ b/hw/ipmi/ipmi.c @@ -30,6 +30,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" #include "qapi/visitor.h" +#include "qemu/module.h" static uint32_t ipmi_current_uuid = 1; diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c index bf0b7ee0f599..c0a8dac3461f 100644 --- a/hw/ipmi/ipmi_bmc_extern.c +++ b/hw/ipmi/ipmi_bmc_extern.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "qemu/timer.h" #include "chardev/char-fe.h" diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index 9b509f829b48..19805365171d 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -27,6 +27,7 @@ #include "qemu/timer.h" #include "hw/ipmi/ipmi.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/loader.h" #define IPMI_NETFN_CHASSIS 0x00 diff --git a/hw/ipmi/isa_ipmi_bt.c b/hw/ipmi/isa_ipmi_bt.c index 8bbb1fa78507..1846d5b9a4f3 100644 --- a/hw/ipmi/isa_ipmi_bt.c +++ b/hw/ipmi/isa_ipmi_bt.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/hw.h" #include "hw/ipmi/ipmi.h" diff --git a/hw/ipmi/isa_ipmi_kcs.c b/hw/ipmi/isa_ipmi_kcs.c index a79431554add..068f3412565a 100644 --- a/hw/ipmi/isa_ipmi_kcs.c +++ b/hw/ipmi/isa_ipmi_kcs.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/hw.h" #include "hw/ipmi/ipmi.h" diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c index 63fa77effc90..388800603b62 100644 --- a/hw/isa/isa-bus.c +++ b/hw/isa/isa-bus.c @@ -16,8 +16,10 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/hw.h" #include "monitor/monitor.h" diff --git a/hw/isa/isa-superio.c b/hw/isa/isa-superio.c index d54463bf0358..4c73c2100f22 100644 --- a/hw/isa/isa-superio.c +++ b/hw/isa/isa-superio.c @@ -9,8 +9,10 @@ * See the COPYING file in the top-level directory. * SPDX-License-Identifier: GPL-2.0-or-later */ + #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "sysemu/sysemu.h" #include "sysemu/blockdev.h" diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c index 5cf64505fe83..85dbc9443963 100644 --- a/hw/isa/pc87312.c +++ b/hw/isa/pc87312.c @@ -27,6 +27,7 @@ #include "hw/isa/pc87312.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/isa/smc37c669-superio.c b/hw/isa/smc37c669-superio.c index 64466a937358..901a9f8e6529 100644 --- a/hw/isa/smc37c669-superio.c +++ b/hw/isa/smc37c669-superio.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/isa/superio.h" +#include "qemu/module.h" /* UARTs (compatible with NS16450 or PC16550) */ diff --git a/hw/isa/vt82c686.c b/hw/isa/vt82c686.c index d46754f61cfb..12c460590ff0 100644 --- a/hw/isa/vt82c686.c +++ b/hw/isa/vt82c686.c @@ -23,6 +23,7 @@ #include "hw/acpi/acpi.h" #include "hw/i2c/pm_smbus.h" #include "sysemu/sysemu.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "exec/address-spaces.h" diff --git a/hw/m68k/mcf_intc.c b/hw/m68k/mcf_intc.c index 393ce284a24a..a613aed820b7 100644 --- a/hw/m68k/mcf_intc.c +++ b/hw/m68k/mcf_intc.c @@ -5,8 +5,9 @@ * * This code is licensed under the GPL */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/mem/nvdimm.c b/hw/mem/nvdimm.c index bf2adf5e1675..f438abb3870c 100644 --- a/hw/mem/nvdimm.c +++ b/hw/mem/nvdimm.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/pmem.h" #include "qapi/error.h" #include "qapi/visitor.h" diff --git a/hw/mem/pc-dimm.c b/hw/mem/pc-dimm.c index 152400b1fc81..b1239fd0d378 100644 --- a/hw/mem/pc-dimm.c +++ b/hw/mem/pc-dimm.c @@ -24,6 +24,7 @@ #include "hw/mem/memory-device.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" #include "sysemu/numa.h" #include "trace.h" diff --git a/hw/mips/cps.c b/hw/mips/cps.c index 649b35a76c5b..0d459c41413d 100644 --- a/hw/mips/cps.c +++ b/hw/mips/cps.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/mips/cps.h" #include "hw/mips/mips.h" #include "hw/mips/cpudevs.h" diff --git a/hw/misc/a9scu.c b/hw/misc/a9scu.c index 3e8ad8cd735d..4307f0082bf8 100644 --- a/hw/misc/a9scu.c +++ b/hw/misc/a9scu.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/misc/a9scu.h" +#include "qemu/module.h" static uint64_t a9_scu_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c index 7be8b5f13c37..2d7eb3c7e244 100644 --- a/hw/misc/applesmc.c +++ b/hw/misc/applesmc.c @@ -34,6 +34,7 @@ #include "hw/hw.h" #include "hw/isa/isa.h" #include "ui/console.h" +#include "qemu/module.h" #include "qemu/timer.h" /* #define DEBUG_SMC */ diff --git a/hw/misc/arm11scu.c b/hw/misc/arm11scu.c index 7042ce11e8d3..84275df88563 100644 --- a/hw/misc/arm11scu.c +++ b/hw/misc/arm11scu.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/misc/arm11scu.h" #include "qemu/log.h" +#include "qemu/module.h" static uint64_t mpcore_scu_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/arm_integrator_debug.c b/hw/misc/arm_integrator_debug.c index 533e6e3208df..2646107b9715 100644 --- a/hw/misc/arm_integrator_debug.c +++ b/hw/misc/arm_integrator_debug.c @@ -19,6 +19,7 @@ #include "hw/sysbus.h" #include "hw/misc/arm_integrator_debug.h" #include "qemu/log.h" +#include "qemu/module.h" #define INTEGRATOR_DEBUG(obj) \ OBJECT_CHECK(IntegratorDebugState, (obj), TYPE_INTEGRATOR_DEBUG) diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c index 66a0787c479d..b88f40ae7e14 100644 --- a/hw/misc/arm_l2x0.c +++ b/hw/misc/arm_l2x0.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" /* L2C-310 r3p2 */ #define CACHE_ID 0x410000c8 diff --git a/hw/misc/arm_sysctl.c b/hw/misc/arm_sysctl.c index b20b44ea20d4..457dfadfab26 100644 --- a/hw/misc/arm_sysctl.c +++ b/hw/misc/arm_sysctl.c @@ -15,6 +15,7 @@ #include "hw/arm/primecell.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #define LOCK_VALUE 0xa05f diff --git a/hw/misc/armsse-cpuid.c b/hw/misc/armsse-cpuid.c index 7788f6ced6a3..05c08f3db54f 100644 --- a/hw/misc/armsse-cpuid.c +++ b/hw/misc/armsse-cpuid.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/armsse-mhu.c b/hw/misc/armsse-mhu.c index 9ebca32e9aa0..514321a9ec3a 100644 --- a/hw/misc/armsse-mhu.c +++ b/hw/misc/armsse-mhu.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/aspeed_scu.c b/hw/misc/aspeed_scu.c index ab1e18ed4b0f..71a0d4b7be7a 100644 --- a/hw/misc/aspeed_scu.c +++ b/hw/misc/aspeed_scu.c @@ -17,6 +17,7 @@ #include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #include "trace.h" #define TO_REG(offset) ((offset) >> 2) diff --git a/hw/misc/aspeed_sdmc.c b/hw/misc/aspeed_sdmc.c index eec77f243508..b84676d36d85 100644 --- a/hw/misc/aspeed_sdmc.c +++ b/hw/misc/aspeed_sdmc.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "hw/misc/aspeed_sdmc.h" #include "hw/misc/aspeed_scu.h" diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c index 0e56d9a8a407..f8e7b9797125 100644 --- a/hw/misc/auxbus.c +++ b/hw/misc/auxbus.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/auxbus.h" #include "hw/i2c/i2c.h" #include "monitor/monitor.h" diff --git a/hw/misc/bcm2835_mbox.c b/hw/misc/bcm2835_mbox.c index e97cc814af5b..a87da5ee533c 100644 --- a/hw/misc/bcm2835_mbox.c +++ b/hw/misc/bcm2835_mbox.c @@ -12,6 +12,7 @@ #include "qapi/error.h" #include "hw/misc/bcm2835_mbox.h" #include "qemu/log.h" +#include "qemu/module.h" #define MAIL0_PEEK 0x90 #define MAIL0_SENDER 0x94 diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c index 145427ae0f84..0bf789cf60c9 100644 --- a/hw/misc/bcm2835_property.c +++ b/hw/misc/bcm2835_property.c @@ -9,6 +9,7 @@ #include "hw/misc/bcm2835_mbox_defs.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" /* https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface */ diff --git a/hw/misc/bcm2835_rng.c b/hw/misc/bcm2835_rng.c index fe59c868f563..e882c8756805 100644 --- a/hw/misc/bcm2835_rng.c +++ b/hw/misc/bcm2835_rng.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #include "hw/misc/bcm2835_rng.h" static uint32_t get_random_bytes(void) diff --git a/hw/misc/debugexit.c b/hw/misc/debugexit.c index bed293247ea5..8e4a2fc701e9 100644 --- a/hw/misc/debugexit.c +++ b/hw/misc/debugexit.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" +#include "qemu/module.h" #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit" #define ISA_DEBUG_EXIT_DEVICE(obj) \ diff --git a/hw/misc/eccmemctl.c b/hw/misc/eccmemctl.c index bb7cc52b5ef0..8386db07df83 100644 --- a/hw/misc/eccmemctl.c +++ b/hw/misc/eccmemctl.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" /* There are 3 versions of this chip used in SMP sun4m systems: diff --git a/hw/misc/edu.c b/hw/misc/edu.c index 19e5545e2ce9..3b6dba2c728a 100644 --- a/hw/misc/edu.c +++ b/hw/misc/edu.c @@ -28,6 +28,7 @@ #include "hw/pci/msi.h" #include "qemu/timer.h" #include "qemu/main-loop.h" /* iothread mutex */ +#include "qemu/module.h" #include "qapi/visitor.h" #define TYPE_PCI_EDU_DEVICE "edu" diff --git a/hw/misc/exynos4210_clk.c b/hw/misc/exynos4210_clk.c index 81862c0adab4..821d9eab3f09 100644 --- a/hw/misc/exynos4210_clk.c +++ b/hw/misc/exynos4210_clk.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_EXYNOS4210_CLK "exynos4210.clk" #define EXYNOS4210_CLK(obj) \ diff --git a/hw/misc/exynos4210_pmu.c b/hw/misc/exynos4210_pmu.c index 0d7b64c5b3a3..8712774768cd 100644 --- a/hw/misc/exynos4210_pmu.c +++ b/hw/misc/exynos4210_pmu.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #ifndef DEBUG_PMU diff --git a/hw/misc/exynos4210_rng.c b/hw/misc/exynos4210_rng.c index 0e70ffb404a0..b88fe3a26d7a 100644 --- a/hw/misc/exynos4210_rng.c +++ b/hw/misc/exynos4210_rng.c @@ -22,6 +22,7 @@ #include "qapi/error.h" #include "qemu/log.h" #include "qemu/guest-random.h" +#include "qemu/module.h" #define DEBUG_EXYNOS_RNG 0 diff --git a/hw/misc/imx25_ccm.c b/hw/misc/imx25_ccm.c index 19e948a52d5c..693ea8104063 100644 --- a/hw/misc/imx25_ccm.c +++ b/hw/misc/imx25_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx25_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX25_CCM #define DEBUG_IMX25_CCM 0 diff --git a/hw/misc/imx2_wdt.c b/hw/misc/imx2_wdt.c index e47e44259224..5576778a3237 100644 --- a/hw/misc/imx2_wdt.c +++ b/hw/misc/imx2_wdt.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "sysemu/watchdog.h" #include "hw/misc/imx2_wdt.h" diff --git a/hw/misc/imx31_ccm.c b/hw/misc/imx31_ccm.c index b890c383be17..38a19aa0d091 100644 --- a/hw/misc/imx31_ccm.c +++ b/hw/misc/imx31_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx31_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #define CKIH_FREQ 26000000 /* 26MHz crystal input */ diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c index 4fa94835fe6f..9478007f4193 100644 --- a/hw/misc/imx6_ccm.c +++ b/hw/misc/imx6_ccm.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx6_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX6_CCM #define DEBUG_IMX6_CCM 0 diff --git a/hw/misc/imx6_src.c b/hw/misc/imx6_src.c index cfb08710fbd6..878ffcdc71c2 100644 --- a/hw/misc/imx6_src.c +++ b/hw/misc/imx6_src.c @@ -13,6 +13,7 @@ #include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "arm-powerctl.h" #include "qom/cpu.h" diff --git a/hw/misc/imx6ul_ccm.c b/hw/misc/imx6ul_ccm.c index 90bc3742713c..37b472d12598 100644 --- a/hw/misc/imx6ul_ccm.c +++ b/hw/misc/imx6ul_ccm.c @@ -14,6 +14,7 @@ #include "hw/registerfields.h" #include "hw/misc/imx6ul_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/imx7_ccm.c b/hw/misc/imx7_ccm.c index d90c48bfeca8..d9bdcf1027af 100644 --- a/hw/misc/imx7_ccm.c +++ b/hw/misc/imx7_ccm.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/imx7_ccm.h" diff --git a/hw/misc/imx7_gpr.c b/hw/misc/imx7_gpr.c index c2a9df29c652..09d57d4710cb 100644 --- a/hw/misc/imx7_gpr.c +++ b/hw/misc/imx7_gpr.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx7_gpr.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/misc/imx7_snvs.c b/hw/misc/imx7_snvs.c index 4df482b28219..55b962a4537e 100644 --- a/hw/misc/imx7_snvs.c +++ b/hw/misc/imx7_snvs.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx7_snvs.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" static uint64_t imx7_snvs_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/imx_ccm.c b/hw/misc/imx_ccm.c index 7f239a41d8b8..2f81b0ad73d2 100644 --- a/hw/misc/imx_ccm.c +++ b/hw/misc/imx_ccm.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/misc/imx_ccm.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_CCM #define DEBUG_IMX_CCM 0 diff --git a/hw/misc/iotkit-secctl.c b/hw/misc/iotkit-secctl.c index 537601cd53f7..58fd94b14fe6 100644 --- a/hw/misc/iotkit-secctl.c +++ b/hw/misc/iotkit-secctl.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/iotkit-sysctl.c b/hw/misc/iotkit-sysctl.c index 54064a31ef0d..00d4faa6db6b 100644 --- a/hw/misc/iotkit-sysctl.c +++ b/hw/misc/iotkit-sysctl.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/iotkit-sysinfo.c b/hw/misc/iotkit-sysinfo.c index 026ba9426135..3e1cf0ec3455 100644 --- a/hw/misc/iotkit-sysinfo.c +++ b/hw/misc/iotkit-sysinfo.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index c7b6bbc974e4..f9cc66aba8a3 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -16,6 +16,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" @@ -28,6 +29,7 @@ #include "migration/blocker.h" #include "qemu/error-report.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "qom/object_interfaces.h" #include "chardev/char-fe.h" #include "sysemu/hostmem.h" diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c index 3febacdd1e70..5fd904b79d64 100644 --- a/hw/misc/macio/cuda.c +++ b/hw/misc/macio/cuda.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" @@ -32,6 +33,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* Bits in B data register: all active low */ diff --git a/hw/misc/macio/gpio.c b/hw/misc/macio/gpio.c index 9317df759c78..31811ab5133d 100644 --- a/hw/misc/macio/gpio.c +++ b/hw/misc/macio/gpio.c @@ -30,6 +30,7 @@ #include "hw/misc/macio/gpio.h" #include "hw/nmi.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/macio/mac_dbdma.c b/hw/misc/macio/mac_dbdma.c index e5917d8f2e8c..548625a5f006 100644 --- a/hw/misc/macio/mac_dbdma.c +++ b/hw/misc/macio/mac_dbdma.c @@ -36,10 +36,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac_dbdma.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #include "sysemu/dma.h" diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c index b726c73022cd..82492096f81a 100644 --- a/hw/misc/macio/macio.c +++ b/hw/misc/macio/macio.c @@ -22,8 +22,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/misc/macio/cuda.h" diff --git a/hw/misc/macio/pmu.c b/hw/misc/macio/pmu.c index 6e6d96c8c5ff..7201cf4f9a5a 100644 --- a/hw/misc/macio/pmu.c +++ b/hw/misc/macio/pmu.c @@ -39,6 +39,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/misc/max111x.c b/hw/misc/max111x.c index ac6d35a81d4b..d373ece0c958 100644 --- a/hw/misc/max111x.c +++ b/hw/misc/max111x.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/ssi/ssi.h" +#include "qemu/module.h" typedef struct { SSISlave parent_obj; diff --git a/hw/misc/milkymist-hpdmc.c b/hw/misc/milkymist-hpdmc.c index 44dc0698ec85..701c79e81caf 100644 --- a/hw/misc/milkymist-hpdmc.c +++ b/hw/misc/milkymist-hpdmc.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { R_SYSTEM = 0, diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c index 4a03c7ee6375..1c27f1a4bc12 100644 --- a/hw/misc/milkymist-pfpu.c +++ b/hw/misc/milkymist-pfpu.c @@ -27,6 +27,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include diff --git a/hw/misc/mips_cmgcr.c b/hw/misc/mips_cmgcr.c index d019d41a3cd9..edec16460592 100644 --- a/hw/misc/mips_cmgcr.c +++ b/hw/misc/mips_cmgcr.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c index 712d8423a714..446b1ad39707 100644 --- a/hw/misc/mips_cpc.c +++ b/hw/misc/mips_cpc.c @@ -21,6 +21,7 @@ #include "qapi/error.h" #include "cpu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/misc/mips_cpc.h" diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c index 3afdbe69c6bd..e8ba4a3cd086 100644 --- a/hw/misc/mips_itu.c +++ b/hw/misc/mips_itu.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "cpu.h" #include "exec/exec-all.h" diff --git a/hw/misc/mos6522.c b/hw/misc/mos6522.c index 14cff26c61d6..e72ed69d5112 100644 --- a/hw/misc/mos6522.c +++ b/hw/misc/mos6522.c @@ -23,6 +23,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/input/adb.h" @@ -31,6 +32,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* XXX: implement all timer modes */ diff --git a/hw/misc/mps2-fpgaio.c b/hw/misc/mps2-fpgaio.c index 5cf10ebd66a9..b97ad42d7569 100644 --- a/hw/misc/mps2-fpgaio.c +++ b/hw/misc/mps2-fpgaio.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/mps2-scc.c b/hw/misc/mps2-scc.c index 6a9d251f1854..1fdf5d22bd78 100644 --- a/hw/misc/mps2-scc.c +++ b/hw/misc/mps2-scc.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #include "hw/sysbus.h" #include "hw/registerfields.h" diff --git a/hw/misc/msf2-sysreg.c b/hw/misc/msf2-sysreg.c index 6eb501104b97..21a286382169 100644 --- a/hw/misc/msf2-sysreg.c +++ b/hw/misc/msf2-sysreg.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/misc/msf2-sysreg.h" #include "qemu/error-report.h" #include "trace.h" diff --git a/hw/misc/mst_fpga.c b/hw/misc/mst_fpga.c index a10f0496fec3..fd183037243b 100644 --- a/hw/misc/mst_fpga.c +++ b/hw/misc/mst_fpga.c @@ -10,9 +10,11 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" /* Mainstone FPGA for extern irqs */ #define FPGA_GPIO_PIN 0 diff --git a/hw/misc/nrf51_rng.c b/hw/misc/nrf51_rng.c index 3400e90a9b21..96ef4330ebe3 100644 --- a/hw/misc/nrf51_rng.c +++ b/hw/misc/nrf51_rng.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/arm/nrf51.h" #include "hw/misc/nrf51_rng.h" diff --git a/hw/misc/pc-testdev.c b/hw/misc/pc-testdev.c index 0aee04f23154..1f9abd52b84f 100644 --- a/hw/misc/pc-testdev.c +++ b/hw/misc/pc-testdev.c @@ -38,6 +38,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/qdev.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #define IOMEM_LEN 0x10000 diff --git a/hw/misc/pca9552.c b/hw/misc/pca9552.c index 7325d3f28786..3422397f896b 100644 --- a/hw/misc/pca9552.c +++ b/hw/misc/pca9552.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/misc/pca9552.h" #include "hw/misc/pca9552_regs.h" diff --git a/hw/misc/pci-testdev.c b/hw/misc/pci-testdev.c index 1282d151cb6a..d4d89df4cf53 100644 --- a/hw/misc/pci-testdev.c +++ b/hw/misc/pci-testdev.c @@ -17,10 +17,12 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "sysemu/kvm.h" typedef struct PCITestDevHdr { diff --git a/hw/misc/puv3_pm.c b/hw/misc/puv3_pm.c index afe191fbe1f3..b538b4afbb16 100644 --- a/hw/misc/puv3_pm.c +++ b/hw/misc/puv3_pm.c @@ -8,12 +8,14 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" +#include "qemu/module.h" #define TYPE_PUV3_PM "puv3_pm" #define PUV3_PM(obj) OBJECT_CHECK(PUV3PMState, (obj), TYPE_PUV3_PM) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index 9d8961ba0cbd..1da24c621eb2 100644 --- a/hw/misc/pvpanic.c +++ b/hw/misc/pvpanic.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/nvram/fw_cfg.h" #include "hw/misc/pvpanic.h" diff --git a/hw/misc/sga.c b/hw/misc/sga.c index 4a22a52a605b..da04924f5f00 100644 --- a/hw/misc/sga.c +++ b/hw/misc/sga.c @@ -24,9 +24,11 @@ * sgabios code originally available at code.google.com/p/sgabios * */ + #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/loader.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #define SGABIOS_FILENAME "sgabios.bin" diff --git a/hw/misc/slavio_misc.c b/hw/misc/slavio_misc.c index 0b33cdcb6127..9c2cf0464612 100644 --- a/hw/misc/slavio_misc.c +++ b/hw/misc/slavio_misc.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "trace.h" /* diff --git a/hw/misc/stm32f2xx_syscfg.c b/hw/misc/stm32f2xx_syscfg.c index 7f101958621b..aa59b4354984 100644 --- a/hw/misc/stm32f2xx_syscfg.c +++ b/hw/misc/stm32f2xx_syscfg.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/misc/stm32f2xx_syscfg.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef STM_SYSCFG_ERR_DEBUG #define STM_SYSCFG_ERR_DEBUG 0 diff --git a/hw/misc/tmp105.c b/hw/misc/tmp105.c index 0c32f6f8b675..19def5c20f09 100644 --- a/hw/misc/tmp105.c +++ b/hw/misc/tmp105.c @@ -24,6 +24,7 @@ #include "tmp105.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" static void tmp105_interrupt_update(TMP105State *s) { diff --git a/hw/misc/tmp421.c b/hw/misc/tmp421.c index ce6d40ac9c5b..69ee5db4b72b 100644 --- a/hw/misc/tmp421.c +++ b/hw/misc/tmp421.c @@ -29,6 +29,7 @@ #include "hw/i2c/i2c.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" /* Manufacturer / Device ID's */ #define TMP421_MANUFACTURER_ID 0x55 diff --git a/hw/misc/tz-mpc.c b/hw/misc/tz-mpc.c index 9a84be75ed66..45a3e31c3d5c 100644 --- a/hw/misc/tz-mpc.c +++ b/hw/misc/tz-mpc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/tz-msc.c b/hw/misc/tz-msc.c index 9e352044ea5e..52b96ba70d8b 100644 --- a/hw/misc/tz-msc.c +++ b/hw/misc/tz-msc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/tz-ppc.c b/hw/misc/tz-ppc.c index 2e04837bea98..2a14a26f2911 100644 --- a/hw/misc/tz-ppc.c +++ b/hw/misc/tz-ppc.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/misc/unimp.c b/hw/misc/unimp.c index 1c0ba2f0a752..7f8e42cc2cca 100644 --- a/hw/misc/unimp.c +++ b/hw/misc/unimp.c @@ -16,6 +16,7 @@ #include "hw/sysbus.h" #include "hw/misc/unimp.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" static uint64_t unimp_read(void *opaque, hwaddr offset, unsigned size) diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c index 304c6287c765..987d6f52af35 100644 --- a/hw/misc/vmcoreinfo.c +++ b/hw/misc/vmcoreinfo.c @@ -9,8 +9,10 @@ * See the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/nvram/fw_cfg.h" #include "hw/misc/vmcoreinfo.h" diff --git a/hw/misc/zynq-xadc.c b/hw/misc/zynq-xadc.c index 14906103c9af..f1e48601dcd2 100644 --- a/hw/misc/zynq-xadc.c +++ b/hw/misc/zynq-xadc.c @@ -19,6 +19,7 @@ #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" enum { CFG = 0x000 / 4, diff --git a/hw/misc/zynq_slcr.c b/hw/misc/zynq_slcr.c index d6bdd027ef55..6b51ae5ff177 100644 --- a/hw/misc/zynq_slcr.c +++ b/hw/misc/zynq_slcr.c @@ -20,6 +20,7 @@ #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef ZYNQ_SLCR_ERR_DEBUG #define ZYNQ_SLCR_ERR_DEBUG 0 diff --git a/hw/net/allwinner_emac.c b/hw/net/allwinner_emac.c index 50e8361e5215..eecda528008c 100644 --- a/hw/net/allwinner_emac.c +++ b/hw/net/allwinner_emac.c @@ -16,12 +16,14 @@ * GNU General Public License for more details. * */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "net/net.h" #include "qemu/fifo8.h" #include "hw/net/allwinner_emac.h" #include "qemu/log.h" +#include "qemu/module.h" #include static uint8_t padding[60]; diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 7f63411430fc..d41208588460 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -28,6 +28,7 @@ #include "hw/net/cadence_gem.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/dma.h" #include "net/checksum.h" diff --git a/hw/net/can/can_kvaser_pci.c b/hw/net/can/can_kvaser_pci.c index 5f82f4359a61..df639f8fa0b1 100644 --- a/hw/net/can/can_kvaser_pci.c +++ b/hw/net/can/can_kvaser_pci.c @@ -31,6 +31,7 @@ #include "qemu/osdep.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "qemu/thread.h" #include "qemu/sockets.h" #include "qapi/error.h" diff --git a/hw/net/can/can_mioe3680_pci.c b/hw/net/can/can_mioe3680_pci.c index fd20b889554d..7af0993d7adf 100644 --- a/hw/net/can/can_mioe3680_pci.c +++ b/hw/net/can/can_mioe3680_pci.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "qemu/thread.h" #include "qemu/sockets.h" #include "qapi/error.h" diff --git a/hw/net/can/can_pcm3680_pci.c b/hw/net/can/can_pcm3680_pci.c index 23f7ff45a31a..3f7312af0755 100644 --- a/hw/net/can/can_pcm3680_pci.c +++ b/hw/net/can/can_pcm3680_pci.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "qemu/event_notifier.h" +#include "qemu/module.h" #include "qemu/thread.h" #include "qemu/sockets.h" #include "qapi/error.h" diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c index 98cb4e58c7ba..bdb0b3b2c2ad 100644 --- a/hw/net/dp8393x.c +++ b/hw/net/dp8393x.c @@ -21,6 +21,7 @@ #include "hw/sysbus.h" #include "net/net.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/timer.h" #include diff --git a/hw/net/e1000.c b/hw/net/e1000.c index 121452d5082e..1dc14663324a 100644 --- a/hw/net/e1000.c +++ b/hw/net/e1000.c @@ -33,6 +33,7 @@ #include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/range.h" #include "e1000x_common.h" diff --git a/hw/net/e1000e.c b/hw/net/e1000e.c index 510ddb38976e..581f7d03d5cc 100644 --- a/hw/net/e1000e.c +++ b/hw/net/e1000e.c @@ -37,6 +37,7 @@ #include "qemu/units.h" #include "net/net.h" #include "net/tap.h" +#include "qemu/module.h" #include "qemu/range.h" #include "sysemu/sysemu.h" #include "hw/pci/msi.h" diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index e761daf55181..6607c9142d36 100644 --- a/hw/net/eepro100.c +++ b/hw/net/eepro100.c @@ -50,6 +50,7 @@ #include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "qapi/error.h" /* QEMU sends frames smaller than 60 bytes to ethernet nics. diff --git a/hw/net/etraxfs_eth.c b/hw/net/etraxfs_eth.c index 36855804dba0..4cfbf1135a60 100644 --- a/hw/net/etraxfs_eth.c +++ b/hw/net/etraxfs_eth.c @@ -28,6 +28,7 @@ #include "net/net.h" #include "hw/cris/etraxfs.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "trace.h" #define D(x) diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c index 0b66274ce3ba..2a8b99a2e41d 100644 --- a/hw/net/fsl_etsec/etsec.c +++ b/hw/net/fsl_etsec/etsec.c @@ -33,6 +33,7 @@ #include "etsec.h" #include "registers.h" #include "qemu/log.h" +#include "qemu/module.h" /* #define HEX_DUMP */ /* #define DEBUG_REGISTER */ diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c index 790430346b51..eb760472e54c 100644 --- a/hw/net/ftgmac100.c +++ b/hw/net/ftgmac100.c @@ -15,6 +15,7 @@ #include "hw/net/ftgmac100.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/checksum.h" #include "net/eth.h" #include "hw/net/mii.h" diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index 6e297c548095..404154ebbf72 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -25,6 +25,7 @@ #include "hw/net/imx_fec.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/checksum.h" #include "net/eth.h" diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index b29e3fee49fd..f6120be21948 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -18,6 +18,7 @@ #include "sysemu/sysemu.h" #include "hw/ptimer.h" #include "qemu/log.h" +#include "qemu/module.h" /* For crc32 */ #include diff --git a/hw/net/lance.c b/hw/net/lance.c index f987b2fd180f..2978c01d58c5 100644 --- a/hw/net/lance.c +++ b/hw/net/lance.c @@ -36,6 +36,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/sparc/sparc32_dma.h" #include "hw/net/lance.h" diff --git a/hw/net/mcf_fec.c b/hw/net/mcf_fec.c index 0091e4ecddc2..78468fad6b9d 100644 --- a/hw/net/mcf_fec.c +++ b/hw/net/mcf_fec.c @@ -5,9 +5,11 @@ * * This code is licensed under the GPL */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "net/net.h" +#include "qemu/module.h" #include "hw/m68k/mcf.h" #include "hw/m68k/mcf_fec.h" #include "hw/net/mii.h" diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c index 85c9fc0b65dd..41ef7a445657 100644 --- a/hw/net/milkymist-minimac2.c +++ b/hw/net/milkymist-minimac2.c @@ -24,13 +24,13 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" /* FIXME: why does this use TARGET_PAGE_ALIGN? */ #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h" #include "net/net.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c index 5ec13105df6e..c5fbd8431fd6 100644 --- a/hw/net/mipsnet.c +++ b/hw/net/mipsnet.c @@ -1,6 +1,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "net/net.h" +#include "qemu/module.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c index c7fdeb0f6caa..3490e54c5a2b 100644 --- a/hw/net/ne2000-isa.c +++ b/hw/net/ne2000-isa.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/net/ne2000-isa.h" @@ -29,6 +30,7 @@ #include "sysemu/sysemu.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" #define ISA_NE2000(obj) OBJECT_CHECK(ISANE2000State, (obj), TYPE_ISA_NE2000) diff --git a/hw/net/ne2000.c b/hw/net/ne2000.c index ca792d96f1ba..1cf4b573412a 100644 --- a/hw/net/ne2000.c +++ b/hw/net/ne2000.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "net/eth.h" +#include "qemu/module.h" #include "ne2000.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c index d6f54f8d8208..a5abb8df46c4 100644 --- a/hw/net/opencores_eth.c +++ b/hw/net/opencores_eth.c @@ -36,6 +36,7 @@ #include "hw/net/mii.h" #include "hw/sysbus.h" #include "net/net.h" +#include "qemu/module.h" #include "net/eth.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c index 7c7385578301..600d09ce92a7 100644 --- a/hw/net/pcnet-pci.c +++ b/hw/net/pcnet-pci.c @@ -30,6 +30,7 @@ #include "qemu/osdep.h" #include "hw/pci/pci.h" #include "net/net.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/dma.h" #include "sysemu/sysemu.h" diff --git a/hw/net/rocker/rocker.c b/hw/net/rocker/rocker.c index 5266f9b7dd60..bd54612f2aec 100644 --- a/hw/net/rocker/rocker.c +++ b/hw/net/rocker/rocker.c @@ -24,6 +24,7 @@ #include "qapi/error.h" #include "qapi/qapi-commands-rocker.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/bitops.h" #include "rocker.h" diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index 2342a095e34e..09273171e53f 100644 --- a/hw/net/rtl8139.c +++ b/hw/net/rtl8139.c @@ -49,12 +49,14 @@ */ /* For crc32 */ + #include "qemu/osdep.h" #include #include "hw/hw.h" #include "hw/pci/pci.h" #include "sysemu/dma.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "net/net.h" #include "net/eth.h" diff --git a/hw/net/smc91c111.c b/hw/net/smc91c111.c index d19ea0750d30..4a612eebe95b 100644 --- a/hw/net/smc91c111.c +++ b/hw/net/smc91c111.c @@ -12,6 +12,7 @@ #include "net/net.h" #include "hw/net/smc91c111.h" #include "qemu/log.h" +#include "qemu/module.h" /* For crc32 */ #include diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c index 63ba3929e9b6..f162d490251c 100644 --- a/hw/net/spapr_llan.c +++ b/hw/net/spapr_llan.c @@ -24,11 +24,12 @@ * THE SOFTWARE. * */ + #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/net.h" #include "hw/qdev.h" #include "hw/ppc/spapr.h" diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c index b3375ebb459c..2f645bfb7165 100644 --- a/hw/net/stellaris_enet.c +++ b/hw/net/stellaris_enet.c @@ -6,10 +6,12 @@ * * This code is licensed under the GPL. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "net/net.h" #include "qemu/log.h" +#include "qemu/module.h" #include //#define DEBUG_STELLARIS_ENET 1 diff --git a/hw/net/sungem.c b/hw/net/sungem.c index 60f1e479f378..89bcf749d1b4 100644 --- a/hw/net/sungem.c +++ b/hw/net/sungem.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "hw/pci/pci.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/net.h" #include "net/eth.h" #include "net/checksum.h" diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c index 7558fca8f949..1ebaee3c821c 100644 --- a/hw/net/sunhme.c +++ b/hw/net/sunhme.c @@ -27,6 +27,7 @@ #include "hw/pci/pci.h" #include "hw/net/mii.h" #include "net/net.h" +#include "qemu/module.h" #include "net/checksum.h" #include "net/eth.h" #include "sysemu/sysemu.h" diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index ffe0872fff5b..c3f5fccfd18d 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/virtio/virtio.h" #include "net/net.h" #include "net/checksum.h" diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index 4665dc95ad02..10d01d0058c6 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -21,8 +21,8 @@ #include "net/tap.h" #include "net/checksum.h" #include "sysemu/sysemu.h" -#include "qemu-common.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "hw/pci/msix.h" #include "hw/pci/msi.h" #include "migration/register.h" diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c index 63f5a62ebf1b..f49df95b0786 100644 --- a/hw/net/xgmac.c +++ b/hw/net/xgmac.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/net.h" #ifdef DEBUG_XGMAC diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c index cc880a3d0832..feeaca680eb7 100644 --- a/hw/net/xilinx_axienet.c +++ b/hw/net/xilinx_axienet.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "net/net.h" #include "net/checksum.h" diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c index 35de353b7c44..8f3a8f8597c2 100644 --- a/hw/net/xilinx_ethlite.c +++ b/hw/net/xilinx_ethlite.c @@ -23,7 +23,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" /* FIXME should not use tswap* */ #include "hw/sysbus.h" #include "hw/hw.h" diff --git a/hw/nvram/ds1225y.c b/hw/nvram/ds1225y.c index b6ef463db0a6..fd49283f413e 100644 --- a/hw/nvram/ds1225y.c +++ b/hw/nvram/ds1225y.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/module.h" typedef struct { MemoryRegion iomem; diff --git a/hw/nvram/eeprom_at24c.c b/hw/nvram/eeprom_at24c.c index d1456dafbd8a..f75a485738d3 100644 --- a/hw/nvram/eeprom_at24c.c +++ b/hw/nvram/eeprom_at24c.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "sysemu/block-backend.h" diff --git a/hw/nvram/mac_nvram.c b/hw/nvram/mac_nvram.c index aef80e64df0f..a60426c4692e 100644 --- a/hw/nvram/mac_nvram.c +++ b/hw/nvram/mac_nvram.c @@ -22,11 +22,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/nvram/chrp_nvram.h" #include "hw/ppc/mac.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include /* debug NVR */ diff --git a/hw/nvram/nrf51_nvm.c b/hw/nvram/nrf51_nvm.c index 7d94cef1db32..eca0cb35b520 100644 --- a/hw/nvram/nrf51_nvm.c +++ b/hw/nvram/nrf51_nvm.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #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" diff --git a/hw/nvram/spapr_nvram.c b/hw/nvram/spapr_nvram.c index c98c7576e6f0..09efd886bfb1 100644 --- a/hw/nvram/spapr_nvram.c +++ b/hw/nvram/spapr_nvram.c @@ -23,9 +23,9 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include diff --git a/hw/pci-bridge/dec.c b/hw/pci-bridge/dec.c index ca402537304a..3ae2f788a4ec 100644 --- a/hw/pci-bridge/dec.c +++ b/hw/pci-bridge/dec.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "dec.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/pci/pci_bridge.h" diff --git a/hw/pci-bridge/gen_pcie_root_port.c b/hw/pci-bridge/gen_pcie_root_port.c index 26bda73eaed1..44acda7cb960 100644 --- a/hw/pci-bridge/gen_pcie_root_port.c +++ b/hw/pci-bridge/gen_pcie_root_port.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/msix.h" #include "hw/pci/pcie_port.h" diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c index 6d8b0f54a743..db77a3541b67 100644 --- a/hw/pci-bridge/i82801b11.c +++ b/hw/pci-bridge/i82801b11.c @@ -43,6 +43,7 @@ #include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "hw/i386/ich9.h" /*****************************************************************************/ diff --git a/hw/pci-bridge/ioh3420.c b/hw/pci-bridge/ioh3420.c index 81f2de6f07d4..310af04af9d9 100644 --- a/hw/pci-bridge/ioh3420.c +++ b/hw/pci-bridge/ioh3420.c @@ -25,6 +25,7 @@ #include "hw/pci/msi.h" #include "hw/pci/pcie.h" #include "hw/pci/pcie_port.h" +#include "qemu/module.h" #define PCI_DEVICE_ID_IOH_EPORT 0x3420 /* D0:F0 express mode */ #define PCI_DEVICE_ID_IOH_REV 0x2 diff --git a/hw/pci-bridge/pci_bridge_dev.c b/hw/pci-bridge/pci_bridge_dev.c index c56ed1f52f42..5fe96d02b3e0 100644 --- a/hw/pci-bridge/pci_bridge_dev.c +++ b/hw/pci-bridge/pci_bridge_dev.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_ids.h" #include "hw/pci/msi.h" diff --git a/hw/pci-bridge/pci_expander_bridge.c b/hw/pci-bridge/pci_expander_bridge.c index ca66bc721a43..aecf3d7ddf49 100644 --- a/hw/pci-bridge/pci_expander_bridge.c +++ b/hw/pci-bridge/pci_expander_bridge.c @@ -18,6 +18,7 @@ #include "hw/pci/pci_bridge.h" #include "qemu/range.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/numa.h" #define TYPE_PXB_BUS "pxb-bus" diff --git a/hw/pci-bridge/pcie_pci_bridge.c b/hw/pci-bridge/pcie_pci_bridge.c index 9a4fba413a7d..d0bfa0189a62 100644 --- a/hw/pci-bridge/pcie_pci_bridge.c +++ b/hw/pci-bridge/pcie_pci_bridge.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_bridge.h" diff --git a/hw/pci-bridge/pcie_root_port.c b/hw/pci-bridge/pcie_root_port.c index be3f4d5e03f5..92f253c9241e 100644 --- a/hw/pci-bridge/pcie_root_port.c +++ b/hw/pci-bridge/pcie_root_port.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/pcie_port.h" static void rp_aer_vector_update(PCIDevice *d) diff --git a/hw/pci-bridge/simba.c b/hw/pci-bridge/simba.c index 7cf0d6e04779..ba55ab193939 100644 --- a/hw/pci-bridge/simba.c +++ b/hw/pci-bridge/simba.c @@ -28,6 +28,7 @@ #include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" +#include "qemu/module.h" #include "hw/pci-bridge/simba.h" /* diff --git a/hw/pci-bridge/xio3130_downstream.c b/hw/pci-bridge/xio3130_downstream.c index ab2a51e15d11..264e37d6a6ea 100644 --- a/hw/pci-bridge/xio3130_downstream.c +++ b/hw/pci-bridge/xio3130_downstream.c @@ -25,6 +25,7 @@ #include "hw/pci/pcie.h" #include "hw/pci/pcie_port.h" #include "qapi/error.h" +#include "qemu/module.h" #define PCI_DEVICE_ID_TI_XIO3130D 0x8233 /* downstream port */ #define XIO3130_REVISION 0x1 diff --git a/hw/pci-bridge/xio3130_upstream.c b/hw/pci-bridge/xio3130_upstream.c index 1d41a49ab09f..b8cb31355f25 100644 --- a/hw/pci-bridge/xio3130_upstream.c +++ b/hw/pci-bridge/xio3130_upstream.c @@ -24,6 +24,7 @@ #include "hw/pci/msi.h" #include "hw/pci/pcie.h" #include "hw/pci/pcie_port.h" +#include "qemu/module.h" #define PCI_DEVICE_ID_TI_XIO3130U 0x8232 /* upstream port */ #define XIO3130_REVISION 0x2 diff --git a/hw/pci-host/designware.c b/hw/pci-host/designware.c index 64ad21d295a8..0fdfff57848a 100644 --- a/hw/pci-host/designware.c +++ b/hw/pci-host/designware.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_host.h" diff --git a/hw/pci-host/gpex.c b/hw/pci-host/gpex.c index 1bafffcc34fe..629d1a4624f6 100644 --- a/hw/pci-host/gpex.c +++ b/hw/pci-host/gpex.c @@ -28,10 +28,12 @@ * http://www.kernel.org/doc/Documentation/devicetree/bindings/pci/host-generic-pci.txt * http://www.firmware.org/1275/practice/imap/imap0_9d.pdf */ + #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hw.h" #include "hw/pci-host/gpex.h" +#include "qemu/module.h" /**************************************************************************** * GPEX host diff --git a/hw/pci-host/grackle.c b/hw/pci-host/grackle.c index 5a151e93e953..ed3b3c361f1d 100644 --- a/hw/pci-host/grackle.c +++ b/hw/pci-host/grackle.c @@ -29,6 +29,7 @@ #include "hw/pci/pci.h" #include "hw/intc/heathrow_pic.h" #include "qapi/error.h" +#include "qemu/module.h" #include "trace.h" #define GRACKLE_PCI_HOST_BRIDGE(obj) \ diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c index b8f8c112e662..21eaa30a205f 100644 --- a/hw/pci-host/ppce500.c +++ b/hw/pci-host/ppce500.c @@ -20,6 +20,7 @@ #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "hw/pci-host/ppce500.h" #ifdef DEBUG_PCI diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 960939f5ed3e..172b0bc4352c 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -27,11 +27,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci-host/q35.h" #include "qapi/error.h" #include "qapi/visitor.h" +#include "qemu/module.h" /**************************************************************************** * Q35 host diff --git a/hw/pci-host/sabre.c b/hw/pci-host/sabre.c index e33bd46967bb..2cec1116af6e 100644 --- a/hw/pci-host/sabre.c +++ b/hw/pci-host/sabre.c @@ -35,6 +35,7 @@ #include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* diff --git a/hw/pci-host/uninorth.c b/hw/pci-host/uninorth.c index 1378c5c7fb40..680fefd066c5 100644 --- a/hw/pci-host/uninorth.c +++ b/hw/pci-host/uninorth.c @@ -21,9 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/pci-host/uninorth.h" diff --git a/hw/pci-host/versatile.c b/hw/pci-host/versatile.c index 7b19078c801f..791b321ea0e2 100644 --- a/hw/pci-host/versatile.c +++ b/hw/pci-host/versatile.c @@ -13,6 +13,7 @@ #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" #include "qemu/log.h" +#include "qemu/module.h" /* Old and buggy versions of QEMU used the wrong mapping from * PCI IRQs to system interrupt lines. Unfortunately the Linux diff --git a/hw/pci-host/xilinx-pcie.c b/hw/pci-host/xilinx-pcie.c index ceb00e23e6c7..192b697453d1 100644 --- a/hw/pci-host/xilinx-pcie.c +++ b/hw/pci-host/xilinx-pcie.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qapi/error.h" #include "hw/pci/pci_bridge.h" diff --git a/hw/pci/pci_bridge.c b/hw/pci/pci_bridge.c index 8d954885c0a1..715b9a4fe616 100644 --- a/hw/pci/pci_bridge.c +++ b/hw/pci/pci_bridge.c @@ -32,6 +32,7 @@ #include "qemu/osdep.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" +#include "qemu/module.h" #include "qemu/range.h" #include "qapi/error.h" diff --git a/hw/pci/pci_host.c b/hw/pci/pci_host.c index 5f3497256c52..c5f924493422 100644 --- a/hw/pci/pci_host.c +++ b/hw/pci/pci_host.c @@ -22,6 +22,7 @@ #include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_host.h" +#include "qemu/module.h" #include "hw/pci/pci_bus.h" #include "trace.h" diff --git a/hw/pci/pcie_host.c b/hw/pci/pcie_host.c index 1ee4945a6de2..d6768b8eb6c7 100644 --- a/hw/pci/pcie_host.c +++ b/hw/pci/pcie_host.c @@ -23,6 +23,7 @@ #include "hw/hw.h" #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 */ diff --git a/hw/pci/pcie_port.c b/hw/pci/pcie_port.c index a30291ef54d3..c9c3ba540add 100644 --- a/hw/pci/pcie_port.c +++ b/hw/pci/pcie_port.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/pci/pcie_port.h" +#include "qemu/module.h" #include "hw/hotplug.h" void pcie_port_init_reg(PCIDevice *d) diff --git a/hw/pcmcia/pcmcia.c b/hw/pcmcia/pcmcia.c index 195672186a6e..c16b12db01ac 100644 --- a/hw/pcmcia/pcmcia.c +++ b/hw/pcmcia/pcmcia.c @@ -5,7 +5,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/pcmcia.h" diff --git a/hw/pcmcia/pxa2xx.c b/hw/pcmcia/pxa2xx.c index 20c9c753d20f..8993b784bb88 100644 --- a/hw/pcmcia/pxa2xx.c +++ b/hw/pcmcia/pxa2xx.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "hw/pcmcia.h" #include "hw/arm/pxa.h" diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c index ce1254b5d471..2b7cc1406007 100644 --- a/hw/ppc/mpc8544_guts.c +++ b/hw/ppc/mpc8544_guts.c @@ -18,7 +18,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "sysemu/sysemu.h" diff --git a/hw/ppc/pnv_core.c b/hw/ppc/pnv_core.c index 5feeed6bc463..c6411ecc1d60 100644 --- a/hw/ppc/pnv_core.c +++ b/hw/ppc/pnv_core.c @@ -16,10 +16,12 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "target/ppc/cpu.h" #include "hw/ppc/ppc.h" #include "hw/ppc/pnv.h" diff --git a/hw/ppc/pnv_lpc.c b/hw/ppc/pnv_lpc.c index 641e2046db92..a9f150c3cab0 100644 --- a/hw/ppc/pnv_lpc.c +++ b/hw/ppc/pnv_lpc.c @@ -22,6 +22,7 @@ #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/isa/isa.h" #include "hw/ppc/pnv.h" diff --git a/hw/ppc/pnv_occ.c b/hw/ppc/pnv_occ.c index fdd9296e1bc7..636f91f311d4 100644 --- a/hw/ppc/pnv_occ.c +++ b/hw/ppc/pnv_occ.c @@ -22,6 +22,7 @@ #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/ppc/pnv.h" #include "hw/ppc/pnv_xscom.h" diff --git a/hw/ppc/pnv_psi.c b/hw/ppc/pnv_psi.c index 5345c8389e57..d7b6f5d75bf9 100644 --- a/hw/ppc/pnv_psi.c +++ b/hw/ppc/pnv_psi.c @@ -21,6 +21,7 @@ #include "hw/hw.h" #include "target/ppc/cpu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "monitor/monitor.h" diff --git a/hw/ppc/pnv_xscom.c b/hw/ppc/pnv_xscom.c index f53a6d7a9457..4e52885c9ef6 100644 --- a/hw/ppc/pnv_xscom.c +++ b/hw/ppc/pnv_xscom.c @@ -16,9 +16,11 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/hw_accel.h" #include "target/ppc/cpu.h" #include "hw/sysbus.h" diff --git a/hw/ppc/ppc440_pcix.c b/hw/ppc/ppc440_pcix.c index 42ef76b6f58a..ca54631f9dea 100644 --- a/hw/ppc/ppc440_pcix.c +++ b/hw/ppc/ppc440_pcix.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc4xx.h" diff --git a/hw/ppc/ppc440_uc.c b/hw/ppc/ppc440_uc.c index 9130eb314c3f..5c1a53d6e7ac 100644 --- a/hw/ppc/ppc440_uc.c +++ b/hw/ppc/ppc440_uc.c @@ -10,10 +10,10 @@ #include "qemu/osdep.h" #include "qemu/units.h" -#include "qemu-common.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "exec/address-spaces.h" diff --git a/hw/ppc/ppc4xx_pci.c b/hw/ppc/ppc4xx_pci.c index 86981be71024..e7cf8d50a51b 100644 --- a/hw/ppc/ppc4xx_pci.c +++ b/hw/ppc/ppc4xx_pci.c @@ -23,6 +23,7 @@ #include "hw/hw.h" #include "hw/ppc/ppc.h" #include "hw/ppc/ppc4xx.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "exec/address-spaces.h" diff --git a/hw/ppc/ppce500_spin.c b/hw/ppc/ppce500_spin.c index c45fc858de74..0060fcb43f21 100644 --- a/hw/ppc/ppce500_spin.c +++ b/hw/ppc/ppce500_spin.c @@ -28,6 +28,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/ppc/prep_systemio.c b/hw/ppc/prep_systemio.c index 50893ec5295b..df7603b986f4 100644 --- a/hw/ppc/prep_systemio.c +++ b/hw/ppc/prep_systemio.c @@ -26,6 +26,7 @@ #include "hw/isa/isa.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" /* for error_report() */ +#include "qemu/module.h" #include "sysemu/sysemu.h" /* for vm_stop() */ #include "cpu.h" #include "trace.h" diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 0a050ad3d85f..6808d4cda83f 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -3,6 +3,7 @@ #include "sysemu/hw_accel.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "cpu.h" #include "exec/exec-all.h" diff --git a/hw/ppc/spapr_iommu.c b/hw/ppc/spapr_iommu.c index 5aff4d5a0538..bd3d0256a65d 100644 --- a/hw/ppc/spapr_iommu.c +++ b/hw/ppc/spapr_iommu.c @@ -16,10 +16,12 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "qemu/error-report.h" #include "hw/hw.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "hw/qdev.h" #include "kvm_ppc.h" diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index 9cf2c41b8ca9..e594b781f939 100644 --- a/hw/ppc/spapr_pci.c +++ b/hw/ppc/spapr_pci.c @@ -22,9 +22,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" #include "hw/sysbus.h" @@ -39,6 +39,7 @@ #include #include "trace.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/qmp/qerror.h" #include "hw/ppc/fdt.h" #include "hw/pci/pci_bridge.h" diff --git a/hw/ppc/spapr_rng.c b/hw/ppc/spapr_rng.c index 406098759060..0e1c7ebcf896 100644 --- a/hw/ppc/spapr_rng.c +++ b/hw/ppc/spapr_rng.c @@ -19,9 +19,9 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "sysemu/device_tree.h" #include "sysemu/rng.h" diff --git a/hw/ppc/spapr_rtas_ddw.c b/hw/ppc/spapr_rtas_ddw.c index f6538189f4fc..3501b0581991 100644 --- a/hw/ppc/spapr_rtas_ddw.c +++ b/hw/ppc/spapr_rtas_ddw.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" #include "trace.h" diff --git a/hw/ppc/spapr_rtc.c b/hw/ppc/spapr_rtc.c index d732a3ea9585..b178e05666fc 100644 --- a/hw/ppc/spapr_rtc.c +++ b/hw/ppc/spapr_rtc.c @@ -33,6 +33,7 @@ #include "qapi/error.h" #include "qapi/qapi-events-target.h" #include "qemu/cutils.h" +#include "qemu/module.h" void spapr_rtc_read(SpaprRtcState *rtc, struct tm *tm, uint32_t *ns) { diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c index 769f7990f864..adcf79cd6302 100644 --- a/hw/rdma/vmw/pvrdma_main.c +++ b/hw/rdma/vmw/pvrdma_main.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "hw/pci/pci_ids.h" diff --git a/hw/riscv/riscv_hart.c b/hw/riscv/riscv_hart.c index e34a26a0ef25..ca69a1bcd873 100644 --- a/hw/riscv/riscv_hart.c +++ b/hw/riscv/riscv_hart.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "target/riscv/cpu.h" #include "hw/riscv/riscv_hart.h" diff --git a/hw/riscv/sifive_clint.c b/hw/riscv/sifive_clint.c index d4c159e93736..591d70deb3d7 100644 --- a/hw/riscv/sifive_clint.c +++ b/hw/riscv/sifive_clint.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "target/riscv/cpu.h" #include "hw/riscv/sifive_clint.h" diff --git a/hw/riscv/sifive_plic.c b/hw/riscv/sifive_plic.c index 07a032d93d2e..70a441359935 100644 --- a/hw/riscv/sifive_plic.c +++ b/hw/riscv/sifive_plic.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "hw/sysbus.h" #include "hw/pci/msi.h" diff --git a/hw/riscv/sifive_prci.c b/hw/riscv/sifive_prci.c index 0910ea32c1a5..fa136b5a9fe9 100644 --- a/hw/riscv/sifive_prci.c +++ b/hw/riscv/sifive_prci.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "target/riscv/cpu.h" #include "hw/riscv/sifive_prci.h" diff --git a/hw/riscv/sifive_test.c b/hw/riscv/sifive_test.c index 8abd2cd525d6..24a04d7b3697 100644 --- a/hw/riscv/sifive_test.c +++ b/hw/riscv/sifive_test.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "target/riscv/cpu.h" #include "hw/riscv/sifive_test.h" diff --git a/hw/s390x/ap-bridge.c b/hw/s390x/ap-bridge.c index 75ad0a66b9e2..9284de4eec38 100644 --- a/hw/s390x/ap-bridge.c +++ b/hw/s390x/ap-bridge.c @@ -7,10 +7,12 @@ * your option) any later version. See the COPYING file in the top-level * directory. */ + #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sysbus.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "hw/s390x/ap-bridge.h" #include "cpu.h" diff --git a/hw/s390x/ccw-device.c b/hw/s390x/ccw-device.c index 7cd73df4aaa6..24f17bb6ca63 100644 --- a/hw/s390x/ccw-device.c +++ b/hw/s390x/ccw-device.c @@ -8,8 +8,10 @@ * your option) any later version. See the COPYING file in the top-level * directory. */ + #include "qemu/osdep.h" #include "ccw-device.h" +#include "qemu/module.h" static void ccw_device_refill_ids(CcwDevice *dev) { diff --git a/hw/s390x/css-bridge.c b/hw/s390x/css-bridge.c index e04d51b1912d..4e9ff481e81b 100644 --- a/hw/s390x/css-bridge.c +++ b/hw/s390x/css-bridge.c @@ -9,11 +9,13 @@ * your option) any later version. See the COPYING file in the top-level * directory. */ + #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hotplug.h" #include "hw/sysbus.h" #include "qemu/bitops.h" +#include "qemu/module.h" #include "hw/s390x/css.h" #include "ccw-device.h" #include "hw/s390x/css-bridge.h" diff --git a/hw/s390x/event-facility.c b/hw/s390x/event-facility.c index e574223a226b..61f3b7471478 100644 --- a/hw/s390x/event-facility.c +++ b/hw/s390x/event-facility.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" diff --git a/hw/s390x/s390-ccw.c b/hw/s390x/s390-ccw.c index f5f025d1b6ca..8403f0e3e950 100644 --- a/hw/s390x/s390-ccw.c +++ b/hw/s390x/s390-ccw.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include #include "qapi/error.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c index 2d0a28d54418..2c6e084e2c26 100644 --- a/hw/s390x/s390-pci-bus.c +++ b/hw/s390x/s390-pci-bus.c @@ -14,7 +14,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "qemu-common.h" #include "cpu.h" #include "s390-pci-bus.h" #include "s390-pci-inst.h" @@ -22,6 +21,7 @@ #include "hw/pci/pci_bridge.h" #include "hw/pci/msi.h" #include "qemu/error-report.h" +#include "qemu/module.h" #ifndef DEBUG_S390PCI_BUS #define DEBUG_S390PCI_BUS 0 diff --git a/hw/s390x/s390-skeys-kvm.c b/hw/s390x/s390-skeys-kvm.c index dc54ed8b11e7..1c4d805ad8f8 100644 --- a/hw/s390x/s390-skeys-kvm.c +++ b/hw/s390x/s390-skeys-kvm.c @@ -13,6 +13,7 @@ #include "hw/s390x/storage-keys.h" #include "sysemu/kvm.h" #include "qemu/error-report.h" +#include "qemu/module.h" static int kvm_s390_skeys_enabled(S390SKeysState *ss) { diff --git a/hw/s390x/sclpcpu.c b/hw/s390x/sclpcpu.c index 50c021b9c23d..a4aab7df5125 100644 --- a/hw/s390x/sclpcpu.c +++ b/hw/s390x/sclpcpu.c @@ -12,9 +12,11 @@ * option) any later version. See the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" +#include "qemu/module.h" #include "hw/s390x/event-facility.h" #include "cpu.h" #include "sysemu/cpus.h" diff --git a/hw/s390x/sclpquiesce.c b/hw/s390x/sclpquiesce.c index 1c8f5c9393f3..4f73471537c9 100644 --- a/hw/s390x/sclpquiesce.c +++ b/hw/s390x/sclpquiesce.c @@ -11,10 +11,12 @@ * option) any later version. See the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "hw/qdev.h" #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" +#include "qemu/module.h" #include "hw/s390x/event-facility.h" typedef struct SignalQuiesce { diff --git a/hw/s390x/tod-kvm.c b/hw/s390x/tod-kvm.c index 2456bf7b24e2..bebe4744af42 100644 --- a/hw/s390x/tod-kvm.c +++ b/hw/s390x/tod-kvm.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "hw/s390x/tod.h" #include "kvm_s390x.h" diff --git a/hw/s390x/tod-qemu.c b/hw/s390x/tod-qemu.c index 59c015c69d0f..58b66d2d9898 100644 --- a/hw/s390x/tod-qemu.c +++ b/hw/s390x/tod-qemu.c @@ -13,6 +13,7 @@ #include "hw/s390x/tod.h" #include "qemu/timer.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "cpu.h" #include "tcg_s390x.h" diff --git a/hw/s390x/tod.c b/hw/s390x/tod.c index 1c63f411e6ed..a9fca8eb0b4f 100644 --- a/hw/s390x/tod.c +++ b/hw/s390x/tod.c @@ -12,6 +12,7 @@ #include "hw/s390x/tod.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "migration/register.h" diff --git a/hw/s390x/vhost-vsock-ccw.c b/hw/s390x/vhost-vsock-ccw.c index cddc5cf6524c..076f733390ed 100644 --- a/hw/s390x/vhost-vsock-ccw.c +++ b/hw/s390x/vhost-vsock-ccw.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static Property vhost_vsock_ccw_properties[] = { diff --git a/hw/s390x/virtio-ccw-9p.c b/hw/s390x/virtio-ccw-9p.c index d6be17259658..67b2c537cce2 100644 --- a/hw/s390x/virtio-ccw-9p.c +++ b/hw/s390x/virtio-ccw-9p.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_9p_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-balloon.c b/hw/s390x/virtio-ccw-balloon.c index 28d171ac0ca5..35e43e89fb6d 100644 --- a/hw/s390x/virtio-ccw-balloon.c +++ b/hw/s390x/virtio-ccw-balloon.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_balloon_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-blk.c b/hw/s390x/virtio-ccw-blk.c index 1f3d09a75a3b..83636cb6d7c9 100644 --- a/hw/s390x/virtio-ccw-blk.c +++ b/hw/s390x/virtio-ccw-blk.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_blk_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-crypto.c b/hw/s390x/virtio-ccw-crypto.c index aab6a958f291..4569fe064923 100644 --- a/hw/s390x/virtio-ccw-crypto.c +++ b/hw/s390x/virtio-ccw-crypto.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_crypto_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-gpu.c b/hw/s390x/virtio-ccw-gpu.c index 71869b7fbd2c..10ee4b86eb51 100644 --- a/hw/s390x/virtio-ccw-gpu.c +++ b/hw/s390x/virtio-ccw-gpu.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_gpu_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-input.c b/hw/s390x/virtio-ccw-input.c index 79c87cb3f2f4..075bb094eec6 100644 --- a/hw/s390x/virtio-ccw-input.c +++ b/hw/s390x/virtio-ccw-input.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_input_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-net.c b/hw/s390x/virtio-ccw-net.c index 0c0410c643ac..8ff184265e01 100644 --- a/hw/s390x/virtio-ccw-net.c +++ b/hw/s390x/virtio-ccw-net.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_net_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-rng.c b/hw/s390x/virtio-ccw-rng.c index 3f6abccef859..dc60f084a5d8 100644 --- a/hw/s390x/virtio-ccw-rng.c +++ b/hw/s390x/virtio-ccw-rng.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_rng_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-scsi.c b/hw/s390x/virtio-ccw-scsi.c index c9a804fa2522..26fa086ef08e 100644 --- a/hw/s390x/virtio-ccw-scsi.c +++ b/hw/s390x/virtio-ccw-scsi.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-ccw.h" static void virtio_ccw_scsi_realize(VirtioCcwDevice *ccw_dev, Error **errp) diff --git a/hw/s390x/virtio-ccw-serial.c b/hw/s390x/virtio-ccw-serial.c index 3851fc9c9bce..8cf5a529a580 100644 --- a/hw/s390x/virtio-ccw-serial.c +++ b/hw/s390x/virtio-ccw-serial.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio.h" +#include "qemu/module.h" #include "hw/virtio/virtio-serial.h" #include "virtio-ccw.h" diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index c2b78c8e9b1e..43d3a1b029ce 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -21,6 +21,7 @@ #include "hw/sysbus.h" #include "qemu/bitops.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/virtio/virtio-access.h" #include "hw/virtio/virtio-bus.h" #include "hw/s390x/adapter.h" diff --git a/hw/scsi/esp-pci.c b/hw/scsi/esp-pci.c index 6b0bbb9b7f50..342f500f823d 100644 --- a/hw/scsi/esp-pci.c +++ b/hw/scsi/esp-pci.c @@ -30,6 +30,7 @@ #include "trace.h" #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_AM53C974_DEVICE "am53c974" diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index ca8b36c0c5f4..7508d035cad1 100644 --- a/hw/scsi/esp.c +++ b/hw/scsi/esp.c @@ -28,6 +28,7 @@ #include "hw/scsi/esp.h" #include "trace.h" #include "qemu/log.h" +#include "qemu/module.h" /* * On Sparc32, this is the ESP (NCR53C90) part of chip STP2000 (Master I/O), diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index a8b7a199f960..10468c1ec17d 100644 --- a/hw/scsi/lsi53c895a.c +++ b/hw/scsi/lsi53c895a.c @@ -20,6 +20,7 @@ #include "hw/scsi/scsi.h" #include "sysemu/dma.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" static const char *names[] = { diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c index 5ad762de2331..06f618dbf78d 100644 --- a/hw/scsi/megasas.c +++ b/hw/scsi/megasas.c @@ -26,6 +26,7 @@ #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" #include "trace.h" diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c index e800683e91e9..3f94d5ab5514 100644 --- a/hw/scsi/mptsas.c +++ b/hw/scsi/mptsas.c @@ -28,6 +28,7 @@ #include "sysemu/dma.h" #include "hw/pci/msi.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" #include "trace.h" diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c index c480553083f7..196136a307ea 100644 --- a/hw/scsi/scsi-bus.c +++ b/hw/scsi/scsi-bus.c @@ -2,6 +2,7 @@ #include "hw/hw.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 7b89ac798b53..ed7295bfd7dd 100644 --- a/hw/scsi/scsi-disk.c +++ b/hw/scsi/scsi-disk.c @@ -23,6 +23,7 @@ #include "qemu/units.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "hw/scsi/emulation.h" #include "scsi/constants.h" diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index e8a8706a4f3d..f07891b3f654 100644 --- a/hw/scsi/scsi-generic.c +++ b/hw/scsi/scsi-generic.c @@ -15,6 +15,7 @@ #include "qapi/error.h" #include "qemu/ctype.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "hw/scsi/emulation.h" #include "sysemu/block-backend.h" diff --git a/hw/scsi/spapr_vscsi.c b/hw/scsi/spapr_vscsi.c index 26dfc0340f8b..0e491c911d8b 100644 --- a/hw/scsi/spapr_vscsi.c +++ b/hw/scsi/spapr_vscsi.c @@ -31,8 +31,9 @@ * - Add indirect descriptors support * - Maybe do autosense (PAPR seems to mandate it, linux doesn't care) */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/scsi/scsi.h" diff --git a/hw/scsi/vhost-scsi-common.c b/hw/scsi/vhost-scsi-common.c index b7fbab65dd17..8ec49d7fef2f 100644 --- a/hw/scsi/vhost-scsi-common.c +++ b/hw/scsi/vhost-scsi-common.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-scsi-common.h" #include "hw/virtio/virtio-scsi.h" diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c index 6b01accf61ad..4090f99ee44a 100644 --- a/hw/scsi/vhost-scsi.c +++ b/hw/scsi/vhost-scsi.c @@ -19,6 +19,7 @@ #include #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/queue.h" #include "monitor/monitor.h" #include "migration/blocker.h" diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 12d21bbc613c..61ce365fe963 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -19,6 +19,7 @@ #include "hw/virtio/virtio-scsi.h" #include "qemu/error-report.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "sysemu/block-backend.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index c39e33fa3599..14641df1c822 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -27,6 +27,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" #include "hw/pci/msi.h" diff --git a/hw/sd/bcm2835_sdhost.c b/hw/sd/bcm2835_sdhost.c index 1b760b2a7c1f..2778fb0de4a5 100644 --- a/hw/sd/bcm2835_sdhost.c +++ b/hw/sd/bcm2835_sdhost.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sysemu/blockdev.h" #include "hw/sd/bcm2835_sdhost.h" #include "trace.h" diff --git a/hw/sd/core.c b/hw/sd/core.c index 107e6d71ddbb..abec48bccb80 100644 --- a/hw/sd/core.c +++ b/hw/sd/core.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "hw/qdev-core.h" #include "hw/sd/sd.h" +#include "qemu/module.h" #include "trace.h" static inline const char *sdbus_name(SDBus *sdbus) diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milkymist-memcard.c index dd1ba649d9c0..b8d2347d468f 100644 --- a/hw/sd/milkymist-memcard.c +++ b/hw/sd/milkymist-memcard.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" diff --git a/hw/sd/pl181.c b/hw/sd/pl181.c index 3ad7e925c58b..81b406dbf098 100644 --- a/hw/sd/pl181.c +++ b/hw/sd/pl181.c @@ -12,6 +12,7 @@ #include "hw/sysbus.h" #include "hw/sd/sd.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" //#define DEBUG_PL181 1 diff --git a/hw/sd/pxa2xx_mmci.c b/hw/sd/pxa2xx_mmci.c index 82f8ec0d501c..81ff5cea86d1 100644 --- a/hw/sd/pxa2xx_mmci.c +++ b/hw/sd/pxa2xx_mmci.c @@ -20,6 +20,7 @@ #include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define TYPE_PXA2XX_MMCI "pxa2xx-mmci" diff --git a/hw/sd/sd.c b/hw/sd/sd.c index aaab15f3868a..60500ec8fe0e 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -43,6 +43,7 @@ #include "qemu/error-report.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "sdmmc-internal.h" #include "trace.h" diff --git a/hw/sd/sdhci-pci.c b/hw/sd/sdhci-pci.c index f884661862a3..9370181993f1 100644 --- a/hw/sd/sdhci-pci.c +++ b/hw/sd/sdhci-pci.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/sd/sdhci.h" #include "sdhci-internal.h" diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 17ad5465a76b..7b80b1d93f51 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -33,6 +33,7 @@ #include "hw/sd/sdhci.h" #include "sdhci-internal.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define TYPE_SDHCI_BUS "sdhci-bus" diff --git a/hw/sd/ssi-sd.c b/hw/sd/ssi-sd.c index 25e1009277ed..9bd6511ec86c 100644 --- a/hw/sd/ssi-sd.c +++ b/hw/sd/ssi-sd.c @@ -15,6 +15,7 @@ #include "hw/ssi/ssi.h" #include "hw/sd/sd.h" #include "qapi/error.h" +#include "qemu/module.h" //#define DEBUG_SSI_SD 1 diff --git a/hw/sh4/sh_pci.c b/hw/sh4/sh_pci.c index 379d0685ed71..b15f264e99d8 100644 --- a/hw/sh4/sh_pci.c +++ b/hw/sh4/sh_pci.c @@ -21,12 +21,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/sh4/sh.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "exec/address-spaces.h" #define TYPE_SH_PCI_HOST_BRIDGE "sh_pci" diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c index 47be9071fa4f..a36448fc8de2 100644 --- a/hw/smbios/smbios.c +++ b/hw/smbios/smbios.c @@ -20,6 +20,7 @@ #include "qapi/error.h" #include "qemu/config-file.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "sysemu/sysemu.h" #include "qemu/uuid.h" diff --git a/hw/sparc/sun4m_iommu.c b/hw/sparc/sun4m_iommu.c index 7ca1e3fce41f..45a61ecf87b5 100644 --- a/hw/sparc/sun4m_iommu.c +++ b/hw/sparc/sun4m_iommu.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/sparc/sun4m_iommu.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "exec/address-spaces.h" #include "trace.h" diff --git a/hw/sparc64/sun4u_iommu.c b/hw/sparc64/sun4u_iommu.c index 1ef7645ba5f2..9178277f8246 100644 --- a/hw/sparc64/sun4u_iommu.c +++ b/hw/sparc64/sun4u_iommu.c @@ -29,6 +29,7 @@ #include "hw/sparc/sun4u_iommu.h" #include "exec/address-spaces.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c index f1e66870d71f..9eda0d720be6 100644 --- a/hw/ssi/aspeed_smc.c +++ b/hw/ssi/aspeed_smc.c @@ -26,6 +26,7 @@ #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "hw/ssi/aspeed_smc.h" diff --git a/hw/ssi/imx_spi.c b/hw/ssi/imx_spi.c index 02c38c9e479c..5cec9b5d05d7 100644 --- a/hw/ssi/imx_spi.c +++ b/hw/ssi/imx_spi.c @@ -12,6 +12,7 @@ #include "hw/ssi/imx_spi.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_SPI #define DEBUG_IMX_SPI 0 diff --git a/hw/ssi/mss-spi.c b/hw/ssi/mss-spi.c index 185e1a392037..918b1f3e8216 100644 --- a/hw/ssi/mss-spi.c +++ b/hw/ssi/mss-spi.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "hw/ssi/mss-spi.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef MSS_SPI_ERR_DEBUG #define MSS_SPI_ERR_DEBUG 0 diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index e58247554ccd..fec73cae2650 100644 --- a/hw/ssi/pl022.c +++ b/hw/ssi/pl022.c @@ -12,6 +12,7 @@ #include "hw/ssi/pl022.h" #include "hw/ssi/ssi.h" #include "qemu/log.h" +#include "qemu/module.h" //#define DEBUG_PL022 1 diff --git a/hw/ssi/ssi.c b/hw/ssi/ssi.c index 7eaaf565fd67..cda7c96a64d1 100644 --- a/hw/ssi/ssi.c +++ b/hw/ssi/ssi.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "hw/ssi/ssi.h" +#include "qemu/module.h" struct SSIBus { BusState parent_obj; diff --git a/hw/ssi/stm32f2xx_spi.c b/hw/ssi/stm32f2xx_spi.c index 930c616de3e6..424910138670 100644 --- a/hw/ssi/stm32f2xx_spi.c +++ b/hw/ssi/stm32f2xx_spi.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/ssi/stm32f2xx_spi.h" #ifndef STM_SPI_ERR_DEBUG diff --git a/hw/ssi/xilinx_spi.c b/hw/ssi/xilinx_spi.c index 3dae303d5b5a..1379cb164bd3 100644 --- a/hw/ssi/xilinx_spi.c +++ b/hw/ssi/xilinx_spi.c @@ -28,6 +28,7 @@ #include "hw/sysbus.h" #include "sysemu/sysemu.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/fifo8.h" #include "hw/ssi/ssi.h" diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c index c615058cc1b5..8115bb6d4681 100644 --- a/hw/ssi/xilinx_spips.c +++ b/hw/ssi/xilinx_spips.c @@ -27,6 +27,7 @@ #include "sysemu/sysemu.h" #include "hw/ptimer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/bitops.h" #include "hw/ssi/xilinx_spips.h" #include "qapi/error.h" diff --git a/hw/timer/a9gtimer.c b/hw/timer/a9gtimer.c index 96d534d8a81c..09e2a7b7bf24 100644 --- a/hw/timer/a9gtimer.c +++ b/hw/timer/a9gtimer.c @@ -26,6 +26,7 @@ #include "qemu/timer.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qom/cpu.h" #ifndef A9_GTIMER_ERR_DEBUG diff --git a/hw/timer/allwinner-a10-pit.c b/hw/timer/allwinner-a10-pit.c index 22ceabe1d482..763e1090ecbb 100644 --- a/hw/timer/allwinner-a10-pit.c +++ b/hw/timer/allwinner-a10-pit.c @@ -20,6 +20,7 @@ #include "sysemu/sysemu.h" #include "hw/timer/allwinner-a10-pit.h" #include "qemu/log.h" +#include "qemu/module.h" static void a10_pit_update_irq(AwA10PITState *s) { diff --git a/hw/timer/altera_timer.c b/hw/timer/altera_timer.c index c9a0fc5dcaa4..5c1d9e407418 100644 --- a/hw/timer/altera_timer.c +++ b/hw/timer/altera_timer.c @@ -19,7 +19,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/sysbus.h" diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c index daf6c4879774..93044aacfdf2 100644 --- a/hw/timer/arm_mptimer.c +++ b/hw/timer/arm_mptimer.c @@ -24,6 +24,7 @@ #include "hw/timer/arm_mptimer.h" #include "qapi/error.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qom/cpu.h" #define PTIMER_POLICY \ diff --git a/hw/timer/arm_timer.c b/hw/timer/arm_timer.c index 98fddd7ac10e..f0a753404d4b 100644 --- a/hw/timer/arm_timer.c +++ b/hw/timer/arm_timer.c @@ -10,10 +10,10 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/timer.h" -#include "qemu-common.h" #include "hw/qdev.h" #include "hw/ptimer.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" /* Common timer implementation. */ diff --git a/hw/timer/armv7m_systick.c b/hw/timer/armv7m_systick.c index df8d2804b35d..a17317ce2fe2 100644 --- a/hw/timer/armv7m_systick.c +++ b/hw/timer/armv7m_systick.c @@ -11,10 +11,10 @@ #include "qemu/osdep.h" #include "hw/timer/armv7m_systick.h" -#include "qemu-common.h" #include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" /* qemu timers run at 1GHz. We want something closer to 1MHz. */ diff --git a/hw/timer/aspeed_timer.c b/hw/timer/aspeed_timer.c index 5c786e512815..2c3a4d0fe770 100644 --- a/hw/timer/aspeed_timer.c +++ b/hw/timer/aspeed_timer.c @@ -13,10 +13,10 @@ #include "qapi/error.h" #include "hw/sysbus.h" #include "hw/timer/aspeed_timer.h" -#include "qemu-common.h" #include "qemu/bitops.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define TIMER_NR_REGS 4 diff --git a/hw/timer/cadence_ttc.c b/hw/timer/cadence_ttc.c index 10056407ab8d..115d935f84b6 100644 --- a/hw/timer/cadence_ttc.c +++ b/hw/timer/cadence_ttc.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "qemu/timer.h" #ifdef CADENCE_TTC_ERR_DEBUG diff --git a/hw/timer/cmsdk-apb-dualtimer.c b/hw/timer/cmsdk-apb-dualtimer.c index 30245990f34f..383f6e12b1ee 100644 --- a/hw/timer/cmsdk-apb-dualtimer.c +++ b/hw/timer/cmsdk-apb-dualtimer.c @@ -21,6 +21,7 @@ #include "trace.h" #include "qapi/error.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/timer/cmsdk-apb-dualtimer.h" diff --git a/hw/timer/cmsdk-apb-timer.c b/hw/timer/cmsdk-apb-timer.c index 801d1dba7410..2e7318b81f95 100644 --- a/hw/timer/cmsdk-apb-timer.c +++ b/hw/timer/cmsdk-apb-timer.c @@ -30,6 +30,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qapi/error.h" #include "trace.h" #include "hw/sysbus.h" diff --git a/hw/timer/digic-timer.c b/hw/timer/digic-timer.c index 4d73077207b4..c818ed1d9803 100644 --- a/hw/timer/digic-timer.c +++ b/hw/timer/digic-timer.c @@ -30,6 +30,7 @@ #include "hw/sysbus.h" #include "hw/ptimer.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #include "hw/timer/digic-timer.h" diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c index 03da75486b44..30d2d21408a1 100644 --- a/hw/timer/ds1338.c +++ b/hw/timer/ds1338.c @@ -14,6 +14,7 @@ #include "qemu-common.h" #include "hw/i2c/i2c.h" #include "qemu/bcd.h" +#include "qemu/module.h" /* Size of NVRAM including both the user-accessible area and the * secondary register area. diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c index 2280914b1d73..53834e197faa 100644 --- a/hw/timer/etraxfs_timer.c +++ b/hw/timer/etraxfs_timer.c @@ -21,9 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "sysemu/sysemu.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/ptimer.h" diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c index e4ef4cfd3625..874c7b8522ab 100644 --- a/hw/timer/exynos4210_mct.c +++ b/hw/timer/exynos4210_mct.c @@ -57,7 +57,7 @@ #include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu/main-loop.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/ptimer.h" #include "hw/arm/exynos4210.h" diff --git a/hw/timer/exynos4210_pwm.c b/hw/timer/exynos4210_pwm.c index 87f63f057e14..9bc03277852d 100644 --- a/hw/timer/exynos4210_pwm.c +++ b/hw/timer/exynos4210_pwm.c @@ -24,8 +24,8 @@ #include "qemu/log.h" #include "hw/sysbus.h" #include "qemu/timer.h" -#include "qemu-common.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "hw/ptimer.h" #include "hw/arm/exynos4210.h" diff --git a/hw/timer/exynos4210_rtc.c b/hw/timer/exynos4210_rtc.c index 4607833e3e6f..0d65f6f3e3a5 100644 --- a/hw/timer/exynos4210_rtc.c +++ b/hw/timer/exynos4210_rtc.c @@ -27,9 +27,9 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" #include "qemu/timer.h" -#include "qemu-common.h" #include "qemu/bcd.h" #include "hw/ptimer.h" diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c index 4b7088fc84b6..e45a49075be6 100644 --- a/hw/timer/grlib_gptimer.c +++ b/hw/timer/grlib_gptimer.c @@ -28,6 +28,7 @@ #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "trace.h" diff --git a/hw/timer/i8254.c b/hw/timer/i8254.c index 20f834e7da71..0972c4724e04 100644 --- a/hw/timer/i8254.c +++ b/hw/timer/i8254.c @@ -21,8 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/timer/i8254.h" #include "hw/timer/i8254_internal.h" diff --git a/hw/timer/i8254_common.c b/hw/timer/i8254_common.c index 6190b6fc5d75..76ca6ec44469 100644 --- a/hw/timer/i8254_common.c +++ b/hw/timer/i8254_common.c @@ -22,9 +22,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/isa/isa.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/timer/i8254.h" #include "hw/timer/i8254_internal.h" diff --git a/hw/timer/imx_epit.c b/hw/timer/imx_epit.c index 8677b753b1f7..7a883160f455 100644 --- a/hw/timer/imx_epit.c +++ b/hw/timer/imx_epit.c @@ -16,6 +16,7 @@ #include "hw/timer/imx_epit.h" #include "hw/misc/imx_ccm.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #ifndef DEBUG_IMX_EPIT diff --git a/hw/timer/imx_gpt.c b/hw/timer/imx_gpt.c index 65e4ee6bcf95..3086c037749f 100644 --- a/hw/timer/imx_gpt.c +++ b/hw/timer/imx_gpt.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "hw/timer/imx_gpt.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #ifndef DEBUG_IMX_GPT diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c index 2a07b59524e3..6ce876c6ae8e 100644 --- a/hw/timer/lm32_timer.c +++ b/hw/timer/lm32_timer.c @@ -29,6 +29,7 @@ #include "hw/ptimer.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #define DEFAULT_FREQUENCY (50*1000000) diff --git a/hw/timer/m41t80.c b/hw/timer/m41t80.c index c45b9297d8b6..5b9192c28d77 100644 --- a/hw/timer/m41t80.c +++ b/hw/timer/m41t80.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qemu/bcd.h" #include "hw/i2c/i2c.h" diff --git a/hw/timer/m48t59-isa.c b/hw/timer/m48t59-isa.c index ea1ba703d797..cbc5e61dddce 100644 --- a/hw/timer/m48t59-isa.c +++ b/hw/timer/m48t59-isa.c @@ -22,10 +22,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/timer/m48t59.h" #include "m48t59-internal.h" +#include "qemu/module.h" #define TYPE_M48TXX_ISA "isa-m48txx" #define M48TXX_ISA_GET_CLASS(obj) \ diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c index ca3ed445de78..5d26e9aef09e 100644 --- a/hw/timer/m48t59.c +++ b/hw/timer/m48t59.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/timer/m48t59.h" @@ -30,6 +31,7 @@ #include "hw/sysbus.h" #include "exec/address-spaces.h" #include "qemu/bcd.h" +#include "qemu/module.h" #include "m48t59-internal.h" diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index 513f105e62f7..b61b4ddeaf86 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/bcd.h" #include "hw/hw.h" #include "qemu/timer.h" diff --git a/hw/timer/milkymist-sysctl.c b/hw/timer/milkymist-sysctl.c index 93bc6e179090..a9d250877c86 100644 --- a/hw/timer/milkymist-sysctl.c +++ b/hw/timer/milkymist-sysctl.c @@ -29,6 +29,7 @@ #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/error-report.h" +#include "qemu/module.h" enum { CTRL_ENABLE = (1<<0), diff --git a/hw/timer/mss-timer.c b/hw/timer/mss-timer.c index 4f814572e2a0..6add47af9923 100644 --- a/hw/timer/mss-timer.c +++ b/hw/timer/mss-timer.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/log.h" #include "hw/timer/mss-timer.h" diff --git a/hw/timer/nrf51_timer.c b/hw/timer/nrf51_timer.c index 0c90662896e0..29fb81a7444b 100644 --- a/hw/timer/nrf51_timer.c +++ b/hw/timer/nrf51_timer.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/arm/nrf51.h" #include "hw/timer/nrf51_timer.h" #include "trace.h" diff --git a/hw/timer/pl031.c b/hw/timer/pl031.c index 274ad47a33a8..abac73ab4220 100644 --- a/hw/timer/pl031.c +++ b/hw/timer/pl031.c @@ -18,6 +18,7 @@ #include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" +#include "qemu/module.h" #include "trace.h" #define RTC_DR 0x00 /* Data read register */ diff --git a/hw/timer/puv3_ost.c b/hw/timer/puv3_ost.c index 3be58c7fdd78..4a8ae37ffd55 100644 --- a/hw/timer/puv3_ost.c +++ b/hw/timer/puv3_ost.c @@ -8,10 +8,12 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ + #include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/ptimer.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #undef DEBUG_PUV3 #include "hw/unicore32/puv3.h" diff --git a/hw/timer/pxa2xx_timer.c b/hw/timer/pxa2xx_timer.c index a489bf5159be..8c1ef43cd519 100644 --- a/hw/timer/pxa2xx_timer.c +++ b/hw/timer/pxa2xx_timer.c @@ -14,6 +14,7 @@ #include "hw/arm/pxa.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #define OSMR0 0x00 #define OSMR1 0x04 diff --git a/hw/timer/slavio_timer.c b/hw/timer/slavio_timer.c index 4694b653a74a..005fd599e845 100644 --- a/hw/timer/slavio_timer.c +++ b/hw/timer/slavio_timer.c @@ -28,6 +28,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "qemu/main-loop.h" +#include "qemu/module.h" /* * Registers of hardware timer in sun4m. diff --git a/hw/timer/stm32f2xx_timer.c b/hw/timer/stm32f2xx_timer.c index ae744d164252..4c49dc499594 100644 --- a/hw/timer/stm32f2xx_timer.c +++ b/hw/timer/stm32f2xx_timer.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/timer/stm32f2xx_timer.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef STM_TIMER_ERR_DEBUG #define STM_TIMER_ERR_DEBUG 0 diff --git a/hw/timer/sun4v-rtc.c b/hw/timer/sun4v-rtc.c index b93cbd6a81f8..ba62adc82625 100644 --- a/hw/timer/sun4v-rtc.c +++ b/hw/timer/sun4v-rtc.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/timer/sun4v-rtc.h" #include "trace.h" diff --git a/hw/timer/twl92230.c b/hw/timer/twl92230.c index c83d803dd854..7785b96c0bdb 100644 --- a/hw/timer/twl92230.c +++ b/hw/timer/twl92230.c @@ -26,6 +26,7 @@ #include "sysemu/sysemu.h" #include "ui/console.h" #include "qemu/bcd.h" +#include "qemu/module.h" #define VERBOSE 1 diff --git a/hw/timer/xilinx_timer.c b/hw/timer/xilinx_timer.c index 59439c05be52..16bcd0393bac 100644 --- a/hw/timer/xilinx_timer.c +++ b/hw/timer/xilinx_timer.c @@ -27,6 +27,7 @@ #include "hw/ptimer.h" #include "qemu/log.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #define D(x) diff --git a/hw/timer/xlnx-zynqmp-rtc.c b/hw/timer/xlnx-zynqmp-rtc.c index c98dc3d94e43..be078ae72a9b 100644 --- a/hw/timer/xlnx-zynqmp-rtc.c +++ b/hw/timer/xlnx-zynqmp-rtc.c @@ -29,6 +29,7 @@ #include "hw/register.h" #include "qemu/bitops.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/ptimer.h" #include "qemu/cutils.h" #include "sysemu/sysemu.h" diff --git a/hw/tpm/tpm_crb.c b/hw/tpm/tpm_crb.c index 3087acc4ab7e..5e2db9e0c42d 100644 --- a/hw/tpm/tpm_crb.c +++ b/hw/tpm/tpm_crb.c @@ -16,7 +16,7 @@ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qapi/error.h" #include "exec/address-spaces.h" diff --git a/hw/tpm/tpm_emulator.c b/hw/tpm/tpm_emulator.c index 70f4b10284f0..1288cbcb8da0 100644 --- a/hw/tpm/tpm_emulator.c +++ b/hw/tpm/tpm_emulator.c @@ -28,6 +28,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "io/channel-socket.h" #include "sysemu/tpm_backend.h" diff --git a/hw/tpm/tpm_passthrough.c b/hw/tpm/tpm_passthrough.c index 479317ee508b..e87bd126c6a7 100644 --- a/hw/tpm/tpm_passthrough.c +++ b/hw/tpm/tpm_passthrough.c @@ -23,8 +23,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "sysemu/tpm_backend.h" #include "tpm_int.h" diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index fd183e8deb08..174618ac3046 100644 --- a/hw/tpm/tpm_tis.c +++ b/hw/tpm/tpm_tis.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "qapi/error.h" +#include "qemu/module.h" #include "hw/acpi/tpm.h" #include "hw/pci/pci_ids.h" diff --git a/hw/usb/bus.c b/hw/usb/bus.c index 9a74dc956010..a28e9e3b3359 100644 --- a/hw/usb/bus.c +++ b/hw/usb/bus.c @@ -4,6 +4,7 @@ #include "hw/qdev.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "trace.h" diff --git a/hw/usb/ccid-card-emulated.c b/hw/usb/ccid-card-emulated.c index 963373ba95ed..e20f8ed29333 100644 --- a/hw/usb/ccid-card-emulated.c +++ b/hw/usb/ccid-card-emulated.c @@ -31,6 +31,7 @@ #include "qemu/thread.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "ccid.h" #include "qapi/error.h" diff --git a/hw/usb/ccid-card-passthru.c b/hw/usb/ccid-card-passthru.c index 0a6c6572280d..081bcfd70aed 100644 --- a/hw/usb/ccid-card-passthru.c +++ b/hw/usb/ccid-card-passthru.c @@ -13,6 +13,7 @@ #include #include "chardev/char-fe.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "ccid.h" #include "qapi/error.h" diff --git a/hw/usb/chipidea.c b/hw/usb/chipidea.c index 60d67f88b856..3dcd22ccba87 100644 --- a/hw/usb/chipidea.c +++ b/hw/usb/chipidea.c @@ -13,6 +13,7 @@ #include "hw/usb/hcd-ehci.h" #include "hw/usb/chipidea.h" #include "qemu/log.h" +#include "qemu/module.h" enum { CHIPIDEA_USBx_DCIVERSION = 0x000, diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c index c46d5eeb79a3..718ab53cbb89 100644 --- a/hw/usb/dev-audio.c +++ b/hw/usb/dev-audio.c @@ -30,7 +30,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/usb.h" #include "desc.h" #include "hw/hw.h" diff --git a/hw/usb/dev-bluetooth.c b/hw/usb/dev-bluetooth.c index c539a1afc6d0..670ba322900a 100644 --- a/hw/usb/dev-bluetooth.c +++ b/hw/usb/dev-bluetooth.c @@ -19,8 +19,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/usb.h" #include "desc.h" #include "sysemu/bt.h" diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c index f9ea3033a1b4..62793eaf260e 100644 --- a/hw/usb/dev-hid.c +++ b/hw/usb/dev-hid.c @@ -22,12 +22,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "ui/console.h" #include "hw/usb.h" #include "desc.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/input/hid.h" diff --git a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c index 2b64d6ef0349..89f55dd25c95 100644 --- a/hw/usb/dev-hub.c +++ b/hw/usb/dev-hub.c @@ -21,14 +21,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "trace.h" #include "hw/usb.h" #include "desc.h" #include "qemu/error-report.h" +#include "qemu/module.h" #define MAX_PORTS 8 diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index f31fc76c01ca..bac085fff414 100644 --- a/hw/usb/dev-mtp.c +++ b/hw/usb/dev-mtp.c @@ -18,8 +18,8 @@ #include -#include "qemu-common.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/filemonitor.h" #include "trace.h" #include "hw/usb.h" diff --git a/hw/usb/dev-network.c b/hw/usb/dev-network.c index ffab3fabeee2..889069dd5a2e 100644 --- a/hw/usb/dev-network.c +++ b/hw/usb/dev-network.c @@ -25,7 +25,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "hw/usb.h" #include "desc.h" #include "net/net.h" @@ -34,6 +33,7 @@ #include "qemu/config-file.h" #include "sysemu/sysemu.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/cutils.h" /*#define TRAFFIC_DEBUG*/ diff --git a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c index 03c3bcd24071..b82f85410308 100644 --- a/hw/usb/dev-serial.c +++ b/hw/usb/dev-serial.c @@ -10,9 +10,9 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/cutils.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/usb.h" #include "desc.h" #include "chardev/char-serial.h" diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index 6b0137bb7699..8d7e516fe734 100644 --- a/hw/usb/dev-smartcard-reader.c +++ b/hw/usb/dev-smartcard-reader.c @@ -39,6 +39,7 @@ #include "qapi/error.h" #include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/usb.h" #include "desc.h" diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c index 0e4e93ef1673..9ffb88ea5b8e 100644 --- a/hw/usb/dev-storage.c +++ b/hw/usb/dev-storage.c @@ -9,8 +9,8 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "hw/usb.h" diff --git a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c index be566cad0260..abd8070d0c71 100644 --- a/hw/usb/dev-uas.c +++ b/hw/usb/dev-uas.c @@ -10,11 +10,11 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "trace.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/usb.h" #include "desc.h" diff --git a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c index ac0bc83b5299..8c43db93359e 100644 --- a/hw/usb/dev-wacom.c +++ b/hw/usb/dev-wacom.c @@ -25,10 +25,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "ui/console.h" #include "hw/usb.h" +#include "qemu/module.h" #include "desc.h" /* Interface requests */ diff --git a/hw/usb/hcd-ehci-pci.c b/hw/usb/hcd-ehci-pci.c index 38b24b160add..03d3a390671d 100644 --- a/hw/usb/hcd-ehci-pci.c +++ b/hw/usb/hcd-ehci-pci.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "hw/usb/hcd-ehci.h" +#include "qemu/module.h" #include "qemu/range.h" typedef struct EHCIPCIInfo { diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c index 9f7f128f1946..cd1f3c70a485 100644 --- a/hw/usb/hcd-ehci-sysbus.c +++ b/hw/usb/hcd-ehci-sysbus.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "hw/usb/hcd-ehci.h" +#include "qemu/module.h" static const VMStateDescription vmstate_ehci_sysbus = { .name = "ehci-sysbus", diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index aaba09058896..4f6fdbc0a7df 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c @@ -28,6 +28,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/usb.h" #include "hw/sysbus.h" diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 09df29ff9c16..98bd5cf49d56 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -25,6 +25,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/usb.h" @@ -36,6 +37,7 @@ #include "sysemu/dma.h" #include "trace.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #define FRAME_TIMER_FREQ 1000 diff --git a/hw/usb/hcd-xhci-nec.c b/hw/usb/hcd-xhci-nec.c index 75715a048a2c..e099382b24a5 100644 --- a/hw/usb/hcd-xhci-nec.c +++ b/hw/usb/hcd-xhci-nec.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/usb.h" +#include "qemu/module.h" #include "hw/pci/pci.h" #include "hcd-xhci.h" diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 2e9a839f2bf9..5894a1866334 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -18,9 +18,11 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" +#include "qemu/module.h" #include "qemu/queue.h" #include "hw/usb.h" #include "hw/pci/pci.h" diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index 4f765d7f9a2f..83ebc5162026 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -40,9 +40,9 @@ #include #include "qapi/error.h" -#include "qemu-common.h" #include "monitor/monitor.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 7cb6b120d4f0..084b8f216180 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -28,12 +28,12 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "chardev/char-fe.h" #include diff --git a/hw/usb/tusb6010.c b/hw/usb/tusb6010.c index f76b59afe863..a61b0f635493 100644 --- a/hw/usb/tusb6010.c +++ b/hw/usb/tusb6010.c @@ -18,8 +18,9 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see . */ + #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/usb.h" #include "hw/arm/omap.h" diff --git a/hw/vfio/amd-xgbe.c b/hw/vfio/amd-xgbe.c index 1b06c0f3ea9d..eedd48cfc1d8 100644 --- a/hw/vfio/amd-xgbe.c +++ b/hw/vfio/amd-xgbe.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "hw/vfio/vfio-amd-xgbe.h" +#include "qemu/module.h" static void amd_xgbe_realize(DeviceState *dev, Error **errp) { diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c index 564751650fc1..a995b86cd488 100644 --- a/hw/vfio/ap.c +++ b/hw/vfio/ap.c @@ -19,6 +19,7 @@ #include "hw/vfio/vfio-common.h" #include "hw/s390x/ap-device.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/queue.h" #include "qemu/option.h" #include "qemu/config-file.h" diff --git a/hw/vfio/calxeda-xgmac.c b/hw/vfio/calxeda-xgmac.c index 6cc608b6cabd..59233e8d7e09 100644 --- a/hw/vfio/calxeda-xgmac.c +++ b/hw/vfio/calxeda-xgmac.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "hw/vfio/vfio-calxeda-xgmac.h" +#include "qemu/module.h" static void calxeda_xgmac_realize(DeviceState *dev, Error **errp) { diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c index d9e39552e237..03a2becb3ec9 100644 --- a/hw/vfio/ccw.c +++ b/hw/vfio/ccw.c @@ -25,6 +25,7 @@ #include "hw/s390x/ccw-device.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" +#include "qemu/module.h" struct VFIOCCWDevice { S390CCWDevice cdev; diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index 29b2697fe12c..b35a640030ca 100644 --- a/hw/vfio/pci-quirks.c +++ b/hw/vfio/pci-quirks.c @@ -14,6 +14,7 @@ #include "qemu/units.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/range.h" #include "qapi/error.h" #include "qapi/visitor.h" diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 2a4091d216e2..4a04f795162b 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -26,6 +26,7 @@ #include "hw/pci/msix.h" #include "hw/pci/pci_bridge.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/range.h" #include "qemu/units.h" diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index d52d6552e089..ad2972595574 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -21,6 +21,7 @@ #include "hw/vfio/vfio-platform.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/range.h" #include "sysemu/sysemu.h" #include "exec/memory.h" diff --git a/hw/virtio/vhost-scsi-pci.c b/hw/virtio/vhost-scsi-pci.c index 523f7cb3ce06..95a1f324397b 100644 --- a/hw/virtio/vhost-scsi-pci.c +++ b/hw/virtio/vhost-scsi-pci.c @@ -19,6 +19,7 @@ #include "standard-headers/linux/virtio_pci.h" #include "hw/virtio/vhost-scsi.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VHostSCSIPCI VHostSCSIPCI; diff --git a/hw/virtio/vhost-user-blk-pci.c b/hw/virtio/vhost-user-blk-pci.c index ca66c217a727..ed81614d43ba 100644 --- a/hw/virtio/vhost-user-blk-pci.c +++ b/hw/virtio/vhost-user-blk-pci.c @@ -24,6 +24,7 @@ #include "hw/pci/pci.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VHostUserBlkPCI VHostUserBlkPCI; diff --git a/hw/virtio/vhost-user-scsi-pci.c b/hw/virtio/vhost-user-scsi-pci.c index 46f7193cc7a3..daeea77ce13a 100644 --- a/hw/virtio/vhost-user-scsi-pci.c +++ b/hw/virtio/vhost-user-scsi-pci.c @@ -24,6 +24,7 @@ #include "hw/pci/pci.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/loader.h" diff --git a/hw/virtio/vhost-vsock-pci.c b/hw/virtio/vhost-vsock-pci.c index 6f43ca35fbaa..c06c9a83b963 100644 --- a/hw/virtio/vhost-vsock-pci.c +++ b/hw/virtio/vhost-vsock-pci.c @@ -15,6 +15,7 @@ #include "virtio-pci.h" #include "hw/virtio/vhost-vsock.h" +#include "qemu/module.h" typedef struct VHostVSockPCI VHostVSockPCI; diff --git a/hw/virtio/vhost-vsock.c b/hw/virtio/vhost-vsock.c index aa5af927e1d1..0371493197fd 100644 --- a/hw/virtio/vhost-vsock.c +++ b/hw/virtio/vhost-vsock.c @@ -20,6 +20,7 @@ #include "qemu/error-report.h" #include "hw/virtio/vhost-vsock.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "monitor/monitor.h" enum { diff --git a/hw/virtio/virtio-9p-pci.c b/hw/virtio/virtio-9p-pci.c index 7bf11309662f..29c3712febea 100644 --- a/hw/virtio/virtio-9p-pci.c +++ b/hw/virtio/virtio-9p-pci.c @@ -17,6 +17,7 @@ #include "virtio-pci.h" #include "hw/9pfs/virtio-9p.h" +#include "qemu/module.h" /* * virtio-9p-pci: This extends VirtioPCIProxy. diff --git a/hw/virtio/virtio-balloon-pci.c b/hw/virtio/virtio-balloon-pci.c index 2a213bbb386f..7393435a984f 100644 --- a/hw/virtio/virtio-balloon-pci.c +++ b/hw/virtio/virtio-balloon-pci.c @@ -17,6 +17,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-balloon.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOBalloonPCI VirtIOBalloonPCI; diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 2112874055fb..11fad86d64c3 100644 --- a/hw/virtio/virtio-balloon.c +++ b/hw/virtio/virtio-balloon.c @@ -15,8 +15,8 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/timer.h" -#include "qemu-common.h" #include "hw/virtio/virtio.h" #include "hw/mem/pc-dimm.h" #include "sysemu/balloon.h" diff --git a/hw/virtio/virtio-blk-pci.c b/hw/virtio/virtio-blk-pci.c index 60c9185c39f8..d790b07a999c 100644 --- a/hw/virtio/virtio-blk-pci.c +++ b/hw/virtio/virtio-blk-pci.c @@ -20,6 +20,7 @@ #include "hw/virtio/virtio-blk.h" #include "virtio-pci.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOBlkPCI VirtIOBlkPCI; diff --git a/hw/virtio/virtio-bus.c b/hw/virtio/virtio-bus.c index f9bc9ea46d72..1d29a631f3a6 100644 --- a/hw/virtio/virtio-bus.c +++ b/hw/virtio/virtio-bus.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/qdev.h" #include "hw/virtio/virtio-bus.h" diff --git a/hw/virtio/virtio-crypto-pci.c b/hw/virtio/virtio-crypto-pci.c index 13807e538b7d..c8a2317a10bf 100644 --- a/hw/virtio/virtio-crypto-pci.c +++ b/hw/virtio/virtio-crypto-pci.c @@ -11,6 +11,7 @@ * top-level directory. * */ + #include "qemu/osdep.h" #include "hw/pci/pci.h" #include "hw/virtio/virtio.h" @@ -18,6 +19,7 @@ #include "hw/virtio/virtio-pci.h" #include "hw/virtio/virtio-crypto.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOCryptoPCI VirtIOCryptoPCI; diff --git a/hw/virtio/virtio-crypto.c b/hw/virtio/virtio-crypto.c index 9a9fa495d2d9..45187d334400 100644 --- a/hw/virtio/virtio-crypto.c +++ b/hw/virtio/virtio-crypto.c @@ -10,8 +10,10 @@ * (at your option) any later version. See the COPYING file in the * top-level directory. */ + #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/virtio/virtio-input-host-pci.c b/hw/virtio/virtio-input-host-pci.c index 124c4f344742..a82eb5d914f9 100644 --- a/hw/virtio/virtio-input-host-pci.c +++ b/hw/virtio/virtio-input-host-pci.c @@ -10,6 +10,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-input.h" +#include "qemu/module.h" typedef struct VirtIOInputHostPCI VirtIOInputHostPCI; diff --git a/hw/virtio/virtio-input-pci.c b/hw/virtio/virtio-input-pci.c index 28477729a312..1c40292abc5a 100644 --- a/hw/virtio/virtio-input-pci.c +++ b/hw/virtio/virtio-input-pci.c @@ -10,6 +10,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-input.h" +#include "qemu/module.h" typedef struct VirtIOInputPCI VirtIOInputPCI; typedef struct VirtIOInputHIDPCI VirtIOInputHIDPCI; diff --git a/hw/virtio/virtio-mmio.c b/hw/virtio/virtio-mmio.c index 96c762f0bf88..97b7f35496ae 100644 --- a/hw/virtio/virtio-mmio.c +++ b/hw/virtio/virtio-mmio.c @@ -24,6 +24,7 @@ #include "hw/sysbus.h" #include "hw/virtio/virtio.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "hw/virtio/virtio-bus.h" #include "qemu/error-report.h" diff --git a/hw/virtio/virtio-net-pci.c b/hw/virtio/virtio-net-pci.c index db07ab9e217f..5df36f26bf08 100644 --- a/hw/virtio/virtio-net-pci.c +++ b/hw/virtio/virtio-net-pci.c @@ -20,6 +20,7 @@ #include "hw/virtio/virtio-net.h" #include "virtio-pci.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIONetPCI VirtIONetPCI; diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 9056cdfa3c2a..e6d5467e5417 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -23,6 +23,7 @@ #include "hw/pci/pci_bus.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/loader.h" diff --git a/hw/virtio/virtio-rng-pci.c b/hw/virtio/virtio-rng-pci.c index 6cc6374289cf..8aaf54b781d6 100644 --- a/hw/virtio/virtio-rng-pci.c +++ b/hw/virtio/virtio-rng-pci.c @@ -14,6 +14,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-rng.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIORngPCI VirtIORngPCI; diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c index 30493a258622..db6d1d945497 100644 --- a/hw/virtio/virtio-rng.c +++ b/hw/virtio/virtio-rng.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-rng.h" diff --git a/hw/virtio/virtio-scsi-pci.c b/hw/virtio/virtio-scsi-pci.c index 283084972962..f68f689aee8d 100644 --- a/hw/virtio/virtio-scsi-pci.c +++ b/hw/virtio/virtio-scsi-pci.c @@ -16,6 +16,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio-scsi.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VirtIOSCSIPCI VirtIOSCSIPCI; diff --git a/hw/virtio/virtio-serial-pci.c b/hw/virtio/virtio-serial-pci.c index 971b2eb8d804..ac74b44daef4 100644 --- a/hw/virtio/virtio-serial-pci.c +++ b/hw/virtio/virtio-serial-pci.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio-serial.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VirtIOSerialPCI VirtIOSerialPCI; diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 07f4a64b48ff..e1e90fcfd6aa 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -13,11 +13,11 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "trace.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/virtio/virtio.h" #include "qemu/atomic.h" #include "hw/virtio/virtio-bus.h" diff --git a/hw/watchdog/cmsdk-apb-watchdog.c b/hw/watchdog/cmsdk-apb-watchdog.c index 9c865bce678e..54ac393020d0 100644 --- a/hw/watchdog/cmsdk-apb-watchdog.c +++ b/hw/watchdog/cmsdk-apb-watchdog.c @@ -25,6 +25,7 @@ #include "trace.h" #include "qapi/error.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "sysemu/watchdog.h" #include "hw/sysbus.h" #include "hw/registerfields.h" diff --git a/hw/watchdog/wdt_aspeed.c b/hw/watchdog/wdt_aspeed.c index 95f6ad186d72..4a8409f0daf5 100644 --- a/hw/watchdog/wdt_aspeed.c +++ b/hw/watchdog/wdt_aspeed.c @@ -11,6 +11,7 @@ #include "qapi/error.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/watchdog.h" #include "hw/misc/aspeed_scu.h" diff --git a/hw/watchdog/wdt_diag288.c b/hw/watchdog/wdt_diag288.c index 1475743527a2..29e5b5dcf6a4 100644 --- a/hw/watchdog/wdt_diag288.c +++ b/hw/watchdog/wdt_diag288.c @@ -17,6 +17,7 @@ #include "qemu/timer.h" #include "hw/watchdog/wdt_diag288.h" #include "qemu/log.h" +#include "qemu/module.h" static WatchdogTimerModel model = { .wdt_name = TYPE_WDT_DIAG288, diff --git a/hw/watchdog/wdt_i6300esb.c b/hw/watchdog/wdt_i6300esb.c index f2d1e86526f2..6780f01adde9 100644 --- a/hw/watchdog/wdt_i6300esb.c +++ b/hw/watchdog/wdt_i6300esb.c @@ -21,7 +21,7 @@ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/watchdog.h" #include "hw/hw.h" diff --git a/hw/watchdog/wdt_ib700.c b/hw/watchdog/wdt_ib700.c index d045032bf4f5..e0e5beb99d6a 100644 --- a/hw/watchdog/wdt_ib700.c +++ b/hw/watchdog/wdt_ib700.c @@ -20,7 +20,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/watchdog.h" #include "hw/hw.h" diff --git a/hw/xen/xen-bus.c b/hw/xen/xen-bus.c index 49a725e8c7ec..a4416d0bcf82 100644 --- a/hw/xen/xen-bus.c +++ b/hw/xen/xen-bus.c @@ -7,6 +7,7 @@ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/uuid.h" #include "hw/hw.h" #include "hw/sysbus.h" diff --git a/hw/xen/xen-common.c b/hw/xen/xen-common.c index 0e9e58f04d07..32503cfc1cd1 100644 --- a/hw/xen/xen-common.c +++ b/hw/xen/xen-common.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/xen/xen-legacy-backend.h" #include "chardev/char.h" #include "sysemu/accel.h" diff --git a/include/hw/boards.h b/include/hw/boards.h index 6ff02bf3e472..b7362af3f1d2 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -6,6 +6,7 @@ #include "sysemu/blockdev.h" #include "sysemu/accel.h" #include "hw/qdev.h" +#include "qemu/module.h" #include "qom/object.h" #include "qom/cpu.h" diff --git a/include/hw/hw.h b/include/hw/hw.h index ab4950c31219..b1b79964b513 100644 --- a/include/hw/hw.h +++ b/include/hw/hw.h @@ -12,7 +12,6 @@ #include "hw/irq.h" #include "migration/vmstate.h" #include "migration/qemu-file-types.h" -#include "qemu/module.h" #include "sysemu/reset.h" void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 5d5636241e34..a7d0b8716604 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -1,7 +1,6 @@ #ifndef HW_PC_H #define HW_PC_H -#include "qemu-common.h" #include "exec/memory.h" #include "hw/boards.h" #include "hw/isa/isa.h" @@ -12,6 +11,7 @@ #include "qemu/range.h" #include "qemu/bitmap.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/mem/pc-dimm.h" diff --git a/include/qemu-common.h b/include/qemu-common.h index 9b01f6e7cb6a..e15adc20dc02 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -113,8 +113,6 @@ void os_setup_early_signal_handling(void); char *os_find_datadir(void); int os_parse_cmd_args(int index, const char *optarg); -#include "qemu/module.h" - /* * Hexdump a buffer to a file. An optional string prefix is added to every line */ diff --git a/include/qom/object.h b/include/qom/object.h index 288cdddf441d..7bb82a7f5650 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -16,6 +16,7 @@ #include "qapi/qapi-builtin-types.h" #include "qemu/queue.h" +#include "qemu/module.h" struct TypeImpl; typedef struct TypeImpl *Type; diff --git a/io/channel-buffer.c b/io/channel-buffer.c index 43d795976d9e..5402e0cced39 100644 --- a/io/channel-buffer.c +++ b/io/channel-buffer.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "io/channel-buffer.h" #include "io/channel-watch.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "trace.h" diff --git a/io/channel-command.c b/io/channel-command.c index 3e7eb17eff54..368dd62b7eda 100644 --- a/io/channel-command.c +++ b/io/channel-command.c @@ -22,6 +22,7 @@ #include "io/channel-command.h" #include "io/channel-watch.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "trace.h" diff --git a/io/channel-file.c b/io/channel-file.c index db948abc3e5d..dac21f6012ae 100644 --- a/io/channel-file.c +++ b/io/channel-file.c @@ -22,6 +22,7 @@ #include "io/channel-file.h" #include "io/channel-watch.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "trace.h" diff --git a/io/channel-socket.c b/io/channel-socket.c index bc5f80e780eb..d898cfcd471d 100644 --- a/io/channel-socket.c +++ b/io/channel-socket.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-visit-sockets.h" +#include "qemu/module.h" #include "io/channel-socket.h" #include "io/channel-watch.h" #include "trace.h" diff --git a/io/channel-tls.c b/io/channel-tls.c index c98ead21b01e..7ec8ceff2f01 100644 --- a/io/channel-tls.c +++ b/io/channel-tls.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "io/channel-tls.h" #include "trace.h" diff --git a/io/channel-websock.c b/io/channel-websock.c index 77d30f0e4aa4..fc36d44ebae7 100644 --- a/io/channel-websock.c +++ b/io/channel-websock.c @@ -25,6 +25,7 @@ #include "crypto/hash.h" #include "trace.h" #include "qemu/iov.h" +#include "qemu/module.h" /* Max amount to allow in rawinput/encoutput buffers */ #define QIO_CHANNEL_WEBSOCK_MAX_BUFFER 8192 diff --git a/io/channel.c b/io/channel.c index 2a26c2a2c0b9..e4376eb0bc40 100644 --- a/io/channel.c +++ b/io/channel.c @@ -22,6 +22,7 @@ #include "io/channel.h" #include "qapi/error.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/iov.h" bool qio_channel_has_feature(QIOChannel *ioc, diff --git a/io/dns-resolver.c b/io/dns-resolver.c index 187f725665b2..6ebe2a5650b1 100644 --- a/io/dns-resolver.c +++ b/io/dns-resolver.c @@ -25,6 +25,7 @@ #include "qemu/sockets.h" #include "qapi/error.h" #include "qemu/cutils.h" +#include "qemu/module.h" #ifndef AI_NUMERICSERV # define AI_NUMERICSERV 0 diff --git a/io/net-listener.c b/io/net-listener.c index 3317aa6e5f26..d8cfe5267353 100644 --- a/io/net-listener.c +++ b/io/net-listener.c @@ -22,6 +22,7 @@ #include "io/net-listener.h" #include "io/dns-resolver.h" #include "qapi/error.h" +#include "qemu/module.h" QIONetListener *qio_net_listener_new(void) { diff --git a/linux-user/main.c b/linux-user/main.c index a2b4a9f3e29f..98f33820b1fb 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -31,6 +31,7 @@ #include "qemu/cutils.h" #include "qemu/error-report.h" #include "qemu/help_option.h" +#include "qemu/module.h" #include "cpu.h" #include "exec/exec-all.h" #include "tcg.h" diff --git a/migration/rdma.c b/migration/rdma.c index c1bcece53bcb..74cb2aa9f916 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -13,9 +13,9 @@ * later. See the COPYING file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/cutils.h" #include "rdma.h" #include "migration.h" @@ -24,6 +24,7 @@ #include "qemu-file-channel.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "qemu/bitmap.h" #include "qemu/coroutine.h" diff --git a/net/can/can_core.c b/net/can/can_core.c index 2a83cadfc57c..90f4d8576ac8 100644 --- a/net/can/can_core.c +++ b/net/can/can_core.c @@ -24,8 +24,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "chardev/char.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "qapi/error.h" #include "net/can_emu.h" diff --git a/net/can/can_host.c b/net/can/can_host.c index c79347ababf6..1dfaf0ced008 100644 --- a/net/can/can_host.c +++ b/net/can/can_host.c @@ -24,8 +24,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "chardev/char.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "qapi/error.h" #include "qom/object_interfaces.h" diff --git a/net/can/can_socketcan.c b/net/can/can_socketcan.c index 39865e28e007..3dec1086841e 100644 --- a/net/can/can_socketcan.c +++ b/net/can/can_socketcan.c @@ -24,8 +24,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qapi/error.h" #include "chardev/char.h" #include "qemu/sockets.h" diff --git a/net/dump.c b/net/dump.c index f16c3545e9de..cd34f51759de 100644 --- a/net/dump.c +++ b/net/dump.c @@ -25,10 +25,10 @@ #include "qemu/osdep.h" #include "clients.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/error-report.h" #include "qemu/iov.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qapi/visitor.h" #include "net/filter.h" diff --git a/net/filter-replay.c b/net/filter-replay.c index 09e68fd8f5dc..9dda1939283c 100644 --- a/net/filter-replay.c +++ b/net/filter-replay.c @@ -11,10 +11,10 @@ #include "qemu/osdep.h" #include "clients.h" -#include "qemu-common.h" #include "qemu/error-report.h" #include "qemu/iov.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "qapi/visitor.h" #include "net/filter.h" diff --git a/net/filter.c b/net/filter.c index 28d1930db7b1..4b932e79f962 100644 --- a/net/filter.c +++ b/net/filter.c @@ -8,7 +8,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h" @@ -17,6 +16,7 @@ #include "net/vhost_net.h" #include "qom/object_interfaces.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "net/colo.h" #include "migration/colo.h" diff --git a/qemu-img.c b/qemu-img.c index 07b6e2a8088c..c221e3cb2425 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -37,6 +37,7 @@ #include "qemu/option.h" #include "qemu/error-report.h" #include "qemu/log.h" +#include "qemu/module.h" #include "qemu/units.h" #include "qom/object_interfaces.h" #include "sysemu/sysemu.h" diff --git a/qemu-io.c b/qemu-io.c index 8d5d5911cb55..968f0e3dbfd9 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -19,6 +19,7 @@ #include "qemu-io.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "qemu/readline.h" diff --git a/qemu-nbd.c b/qemu-nbd.c index 25ce71e16003..410373a32182 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -21,13 +21,13 @@ #include #include -#include "qemu-common.h" #include "qapi/error.h" #include "qemu/cutils.h" #include "sysemu/block-backend.h" #include "block/block_int.h" #include "block/nbd.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/error-report.h" #include "qemu/config-file.h" diff --git a/qga/main.c b/qga/main.c index c0d77c79c459..b54b55589d95 100644 --- a/qga/main.c +++ b/qga/main.c @@ -23,7 +23,6 @@ #include "qapi/qmp/qjson.h" #include "qapi/qmp/qstring.h" #include "guest-agent-core.h" -#include "qemu/module.h" #include "qga-qapi-commands.h" #include "qapi/qmp/qerror.h" #include "qapi/error.h" diff --git a/qtest.c b/qtest.c index f2e2f277780b..15e27e911faf 100644 --- a/qtest.c +++ b/qtest.c @@ -13,7 +13,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "sysemu/qtest.h" #include "hw/qdev.h" @@ -27,6 +26,7 @@ #include "qemu/config-file.h" #include "qemu/option.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/cutils.h" #ifdef TARGET_PPC64 #include "hw/ppc/spapr_rtas.h" diff --git a/replication.h b/replication.h index 4c8354de23ca..d49fc22cb9fb 100644 --- a/replication.h +++ b/replication.h @@ -16,6 +16,7 @@ #define REPLICATION_H #include "qapi/qapi-types-block-core.h" +#include "qemu/module.h" #include "qemu/queue.h" typedef struct ReplicationOps ReplicationOps; diff --git a/scripts/qapi/commands.py b/scripts/qapi/commands.py index 6d66bf6aa380..b929e07be440 100644 --- a/scripts/qapi/commands.py +++ b/scripts/qapi/commands.py @@ -249,8 +249,6 @@ def _begin_user_module(self, name): visit = self._module_basename('qapi-visit', name) self._genc.add(mcgen(''' #include "qemu/osdep.h" -#include "qemu-common.h" -#include "qemu/module.h" #include "qapi/visitor.h" #include "qapi/qmp/qdict.h" #include "qapi/qobject-output-visitor.h" diff --git a/scsi/pr-manager-helper.c b/scsi/pr-manager-helper.c index 438380fced66..ca27c93283d2 100644 --- a/scsi/pr-manager-helper.c +++ b/scsi/pr-manager-helper.c @@ -18,6 +18,7 @@ #include "io/channel-socket.h" #include "pr-helper.h" #include "qapi/qapi-events-block.h" +#include "qemu/module.h" #include diff --git a/scsi/pr-manager.c b/scsi/pr-manager.c index d9f4e8c3adbc..ee43663576ed 100644 --- a/scsi/pr-manager.c +++ b/scsi/pr-manager.c @@ -18,6 +18,7 @@ #include "scsi/pr-manager.h" #include "trace.h" #include "qapi/qapi-types-block.h" +#include "qemu/module.h" #include "qapi/qapi-commands-block.h" #define PR_MANAGER_PATH "/objects" diff --git a/scsi/qemu-pr-helper.c b/scsi/qemu-pr-helper.c index 2541fbbd1b9d..72acdc75274a 100644 --- a/scsi/qemu-pr-helper.c +++ b/scsi/qemu-pr-helper.c @@ -37,9 +37,9 @@ #endif #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/cutils.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "qemu/error-report.h" #include "qemu/config-file.h" #include "qemu/bswap.h" diff --git a/target/arm/cpu.c b/target/arm/cpu.c index c2dff10f8205..d0e144a4a1e9 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "target/arm/idau.h" +#include "qemu/module.h" #include "qapi/error.h" #include "qapi/visitor.h" #include "cpu.h" diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index b8bd1e88a5f4..1901997a0645 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -21,7 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "qemu-common.h" +#include "qemu/module.h" #if !defined(CONFIG_USER_ONLY) #include "hw/loader.h" #endif diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index ae494abad1c1..368cb71e6d50 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -22,7 +22,7 @@ #include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "exec/exec-all.h" #include "fpu/softfloat.h" diff --git a/target/i386/cpu.c b/target/i386/cpu.c index a4bc04ed1dc3..a108b65d9fed 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -32,6 +32,7 @@ #include "sev_i386.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/config-file.h" #include "qapi/error.h" diff --git a/target/i386/sev.c b/target/i386/sev.c index cd77f6b5d477..6dbdc3cdf10f 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -21,6 +21,7 @@ #include "qapi/error.h" #include "qom/object_interfaces.h" #include "qemu/base64.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "sev_i386.h" #include "sysemu/sysemu.h" diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 5c537526c09c..0bec54b2f8a6 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/exec-all.h" diff --git a/target/mips/cpu.c b/target/mips/cpu.c index 73232b80ad96..39eafafc5cde 100644 --- a/target/mips/cpu.c +++ b/target/mips/cpu.c @@ -23,7 +23,7 @@ #include "cpu.h" #include "internal.h" #include "kvm_mips.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "exec/exec-all.h" diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c index b00223e0c7ad..ca9c7a6df5d1 100644 --- a/target/nios2/cpu.c +++ b/target/nios2/cpu.c @@ -19,7 +19,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "qapi/error.h" #include "cpu.h" #include "exec/log.h" diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c index 9d7050b5fa1e..086548e9b965 100644 --- a/target/ppc/cpu-models.c +++ b/target/ppc/cpu-models.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "qemu/module.h" #include "cpu-models.h" #if defined(CONFIG_USER_ONLY) diff --git a/target/ppc/translate_init.inc.c b/target/ppc/translate_init.inc.c index 970171b11690..03cb6d052178 100644 --- a/target/ppc/translate_init.inc.c +++ b/target/ppc/translate_init.inc.c @@ -29,6 +29,7 @@ #include "mmu-hash32.h" #include "mmu-hash64.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/qemu-print.h" #include "qapi/error.h" #include "qapi/qmp/qnull.h" diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index c80743a92374..f2d93644d507 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -28,6 +28,7 @@ #include "sysemu/kvm.h" #include "qemu/timer.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "trace.h" #include "qapi/visitor.h" #include "qapi/qapi-visit-misc.h" diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c index 3fce8114deed..19ebde14dbed 100644 --- a/target/s390x/cpu_models.c +++ b/target/s390x/cpu_models.c @@ -19,6 +19,7 @@ #include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/qemu-print.h" #include "qapi/qmp/qerror.h" #include "qapi/qobject-input-visitor.h" diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index ad2c362c6ac9..ee60a5536a01 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" +#include "qemu/module.h" #include "qemu/qemu-print.h" #include "exec/exec-all.h" #include "hw/qdev-properties.h" diff --git a/target/tilegx/cpu.c b/target/tilegx/cpu.c index 3567a2b6647f..69971247f214 100644 --- a/target/tilegx/cpu.c +++ b/target/tilegx/cpu.c @@ -21,7 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "hw/qdev-properties.h" #include "linux-user/syscall_defs.h" #include "qemu/qemu-print.h" diff --git a/target/xtensa/cpu.c b/target/xtensa/cpu.c index f3ec66e2422b..76db1741a796 100644 --- a/target/xtensa/cpu.c +++ b/target/xtensa/cpu.c @@ -31,7 +31,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "migration/vmstate.h" diff --git a/tests/ac97-test.c b/tests/ac97-test.c index 532fb1cc98a7..b084e31bff5f 100644 --- a/tests/ac97-test.c +++ b/tests/ac97-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/e1000-test.c b/tests/e1000-test.c index 9e6791616962..c387984ef6d6 100644 --- a/tests/e1000-test.c +++ b/tests/e1000-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/e1000e-test.c b/tests/e1000e-test.c index 6a946c048462..781fcbfd8970 100644 --- a/tests/e1000e-test.c +++ b/tests/e1000e-test.c @@ -30,6 +30,7 @@ #include "libqos/pci-pc.h" #include "qemu/sockets.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/bitops.h" #include "libqos/malloc.h" #include "libqos/e1000e.h" diff --git a/tests/eepro100-test.c b/tests/eepro100-test.c index 90b5c1afd917..8dbffff0b81b 100644 --- a/tests/eepro100-test.c +++ b/tests/eepro100-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/es1370-test.c b/tests/es1370-test.c index d845cd06f859..adccdac1be57 100644 --- a/tests/es1370-test.c +++ b/tests/es1370-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/ipoctal232-test.c b/tests/ipoctal232-test.c index 42d53718b801..53a8c9b13ce5 100644 --- a/tests/ipoctal232-test.c +++ b/tests/ipoctal232-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" typedef struct QIpoctal232 QIpoctal232; diff --git a/tests/libqos/aarch64-xlnx-zcu102-machine.c b/tests/libqos/aarch64-xlnx-zcu102-machine.c index 6fff040b372c..1d5de5af0010 100644 --- a/tests/libqos/aarch64-xlnx-zcu102-machine.c +++ b/tests/libqos/aarch64-xlnx-zcu102-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "sdhci.h" diff --git a/tests/libqos/arm-raspi2-machine.c b/tests/libqos/arm-raspi2-machine.c index 3aff670f7618..12a7cb7e4ba7 100644 --- a/tests/libqos/arm-raspi2-machine.c +++ b/tests/libqos/arm-raspi2-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "sdhci.h" diff --git a/tests/libqos/arm-sabrelite-machine.c b/tests/libqos/arm-sabrelite-machine.c index c4128d8686ae..e6df43795a7c 100644 --- a/tests/libqos/arm-sabrelite-machine.c +++ b/tests/libqos/arm-sabrelite-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "sdhci.h" diff --git a/tests/libqos/arm-smdkc210-machine.c b/tests/libqos/arm-smdkc210-machine.c index 1fb9dfc0cb56..215b628a7dab 100644 --- a/tests/libqos/arm-smdkc210-machine.c +++ b/tests/libqos/arm-smdkc210-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "sdhci.h" diff --git a/tests/libqos/arm-virt-machine.c b/tests/libqos/arm-virt-machine.c index 2abc431ecf6e..96ffe3ee5c42 100644 --- a/tests/libqos/arm-virt-machine.c +++ b/tests/libqos/arm-virt-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "libqos/virtio-mmio.h" diff --git a/tests/libqos/arm-xilinx-zynq-a9-machine.c b/tests/libqos/arm-xilinx-zynq-a9-machine.c index 4e199fcd48dc..5bc95f2e73a9 100644 --- a/tests/libqos/arm-xilinx-zynq-a9-machine.c +++ b/tests/libqos/arm-xilinx-zynq-a9-machine.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" #include "sdhci.h" diff --git a/tests/libqos/e1000e.c b/tests/libqos/e1000e.c index 54d38988998a..1d0592974eee 100644 --- a/tests/libqos/e1000e.c +++ b/tests/libqos/e1000e.c @@ -18,10 +18,10 @@ #include "qemu/osdep.h" #include "libqtest.h" -#include "qemu-common.h" #include "libqos/pci-pc.h" #include "qemu/sockets.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/bitops.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" diff --git a/tests/libqos/pci-pc.c b/tests/libqos/pci-pc.c index 634fedd04905..0bc591d1daff 100644 --- a/tests/libqos/pci-pc.c +++ b/tests/libqos/pci-pc.c @@ -16,7 +16,7 @@ #include "qapi/qmp/qdict.h" #include "hw/pci/pci_regs.h" -#include "qemu-common.h" +#include "qemu/module.h" #define ACPI_PCIHP_ADDR 0xae00 #define PCI_EJ_BASE 0x0008 diff --git a/tests/libqos/pci-spapr.c b/tests/libqos/pci-spapr.c index 58ba27ae6d8c..d6f8c01cb7b0 100644 --- a/tests/libqos/pci-spapr.c +++ b/tests/libqos/pci-spapr.c @@ -13,8 +13,8 @@ #include "hw/pci/pci_regs.h" -#include "qemu-common.h" #include "qemu/host-utils.h" +#include "qemu/module.h" /* * PCI devices are always little-endian diff --git a/tests/libqos/ppc64_pseries-machine.c b/tests/libqos/ppc64_pseries-machine.c index 2f3640010d12..867f27a3c812 100644 --- a/tests/libqos/ppc64_pseries-machine.c +++ b/tests/libqos/ppc64_pseries-machine.c @@ -16,10 +16,11 @@ * License along with this library; if not, see */ - #include "qemu/osdep.h" +#include "qemu/osdep.h" #include "libqtest.h" #include "libqos/qgraph.h" #include "pci-spapr.h" +#include "qemu/module.h" #include "libqos/malloc-spapr.h" typedef struct QSPAPR_pci_host QSPAPR_pci_host; diff --git a/tests/libqos/sdhci.c b/tests/libqos/sdhci.c index 22c33de4531c..309794bc5203 100644 --- a/tests/libqos/sdhci.c +++ b/tests/libqos/sdhci.c @@ -20,6 +20,7 @@ #include "libqtest.h" #include "libqos/qgraph.h" #include "pci.h" +#include "qemu/module.h" #include "sdhci.h" #include "hw/pci/pci.h" diff --git a/tests/libqos/tpci200.c b/tests/libqos/tpci200.c index 98dc53293397..ae590a456ec6 100644 --- a/tests/libqos/tpci200.c +++ b/tests/libqos/tpci200.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/libqos/virtio-9p.c b/tests/libqos/virtio-9p.c index a378b56fa9f7..8c9efce3e194 100644 --- a/tests/libqos/virtio-9p.c +++ b/tests/libqos/virtio-9p.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "standard-headers/linux/virtio_ids.h" #include "libqos/virtio-9p.h" #include "libqos/qgraph.h" diff --git a/tests/libqos/virtio-balloon.c b/tests/libqos/virtio-balloon.c index 7e6e9e9de566..42a4c5831ead 100644 --- a/tests/libqos/virtio-balloon.c +++ b/tests/libqos/virtio-balloon.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/virtio-balloon.h" diff --git a/tests/libqos/virtio-blk.c b/tests/libqos/virtio-blk.c index c17bdf4217c6..726e93c5c1e7 100644 --- a/tests/libqos/virtio-blk.c +++ b/tests/libqos/virtio-blk.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "standard-headers/linux/virtio_blk.h" #include "libqos/qgraph.h" #include "libqos/virtio-blk.h" diff --git a/tests/libqos/virtio-mmio.c b/tests/libqos/virtio-mmio.c index 213a5f9de006..5f37b51129c7 100644 --- a/tests/libqos/virtio-mmio.c +++ b/tests/libqos/virtio-mmio.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/virtio.h" #include "libqos/virtio-mmio.h" #include "libqos/malloc.h" diff --git a/tests/libqos/virtio-net.c b/tests/libqos/virtio-net.c index 61c56170e9e8..66405b646e96 100644 --- a/tests/libqos/virtio-net.c +++ b/tests/libqos/virtio-net.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/virtio-net.h" #include "hw/virtio/virtio-net.h" diff --git a/tests/libqos/virtio-rng.c b/tests/libqos/virtio-rng.c index a1d2c7671c6f..b86349e2fd1b 100644 --- a/tests/libqos/virtio-rng.c +++ b/tests/libqos/virtio-rng.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/virtio-rng.h" diff --git a/tests/libqos/virtio-scsi.c b/tests/libqos/virtio-scsi.c index 482684d0bc0c..94842ec3fa6f 100644 --- a/tests/libqos/virtio-scsi.c +++ b/tests/libqos/virtio-scsi.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "standard-headers/linux/virtio_ids.h" #include "libqos/qgraph.h" #include "libqos/virtio-scsi.h" diff --git a/tests/libqos/virtio-serial.c b/tests/libqos/virtio-serial.c index 91cedefb8d82..3e5b8b82c743 100644 --- a/tests/libqos/virtio-serial.c +++ b/tests/libqos/virtio-serial.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/virtio-serial.h" diff --git a/tests/libqos/x86_64_pc-machine.c b/tests/libqos/x86_64_pc-machine.c index 8bd0360ba9de..6dfa705217e6 100644 --- a/tests/libqos/x86_64_pc-machine.c +++ b/tests/libqos/x86_64_pc-machine.c @@ -20,6 +20,7 @@ #include "libqtest.h" #include "libqos/qgraph.h" #include "pci-pc.h" +#include "qemu/module.h" #include "malloc-pc.h" typedef struct QX86PCMachine QX86PCMachine; diff --git a/tests/megasas-test.c b/tests/megasas-test.c index 1111d331d33f..c3e4ab659554 100644 --- a/tests/megasas-test.c +++ b/tests/megasas-test.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "libqtest.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/migration-test.c b/tests/migration-test.c index e0407576cb10..0cd014dbe517 100644 --- a/tests/migration-test.c +++ b/tests/migration-test.c @@ -15,6 +15,7 @@ #include "libqtest.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qjson.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/range.h" #include "qemu/sockets.h" diff --git a/tests/ne2000-test.c b/tests/ne2000-test.c index 097c2eec6c51..3fc0e555d5e2 100644 --- a/tests/ne2000-test.c +++ b/tests/ne2000-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/nvme-test.c b/tests/nvme-test.c index b48d3a24b935..505299324b3f 100644 --- a/tests/nvme-test.c +++ b/tests/nvme-test.c @@ -8,6 +8,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/units.h" #include "libqtest.h" #include "libqos/qgraph.h" diff --git a/tests/pci-test.c b/tests/pci-test.c index ff8098509386..4b2092b94973 100644 --- a/tests/pci-test.c +++ b/tests/pci-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/pcnet-test.c b/tests/pcnet-test.c index 484448cc64e5..900944fa7e34 100644 --- a/tests/pcnet-test.c +++ b/tests/pcnet-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/qos-test.c b/tests/qos-test.c index 01b2a22c0860..3c0071b3b707 100644 --- a/tests/qos-test.c +++ b/tests/qos-test.c @@ -22,6 +22,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qstring.h" +#include "qemu/module.h" #include "qapi/qmp/qlist.h" #include "libqos/malloc.h" #include "libqos/qgraph.h" diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index 2f177e569f32..6275e7626c21 100644 --- a/tests/sdhci-test.c +++ b/tests/sdhci-test.c @@ -7,9 +7,11 @@ * See the COPYING file in the top-level directory. * SPDX-License-Identifier: GPL-2.0-or-later */ + #include "qemu/osdep.h" #include "hw/registerfields.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/pci-pc.h" #include "hw/pci/pci.h" #include "libqos/qgraph.h" diff --git a/tests/spapr-phb-test.c b/tests/spapr-phb-test.c index 39b576671015..093dc22f2f41 100644 --- a/tests/spapr-phb-test.c +++ b/tests/spapr-phb-test.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" /* Tests only initialization so far. TODO: Replace with functional tests, diff --git a/tests/test-authz-list.c b/tests/test-authz-list.c index 24347a6ac3bd..d80e6a6d4dcc 100644 --- a/tests/test-authz-list.c +++ b/tests/test-authz-list.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "authz/list.h" +#include "qemu/module.h" static void test_authz_default_deny(void) { diff --git a/tests/test-authz-listfile.c b/tests/test-authz-listfile.c index 1e452fef6dd4..26166b691b71 100644 --- a/tests/test-authz-listfile.c +++ b/tests/test-authz-listfile.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/module.h" #include "authz/listfile.h" static char *workdir; diff --git a/tests/test-authz-pam.c b/tests/test-authz-pam.c index 93d5ac8bbfa2..02bb1493e724 100644 --- a/tests/test-authz-pam.c +++ b/tests/test-authz-pam.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "authz/pamacct.h" #include diff --git a/tests/test-authz-simple.c b/tests/test-authz-simple.c index 2cf14fb87e3a..d21d43e2e9ee 100644 --- a/tests/test-authz-simple.c +++ b/tests/test-authz-simple.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/module.h" #include "authz/simple.h" diff --git a/tests/test-char.c b/tests/test-char.c index 95ccfd3cdb64..f9440cdcfdb5 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -2,6 +2,7 @@ #include #include "qemu/config-file.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "chardev/char-fe.h" diff --git a/tests/test-crypto-block.c b/tests/test-crypto-block.c index d309d044efc6..7c1ab0785541 100644 --- a/tests/test-crypto-block.c +++ b/tests/test-crypto-block.c @@ -23,6 +23,7 @@ #include "crypto/init.h" #include "crypto/block.h" #include "qemu/buffer.h" +#include "qemu/module.h" #include "crypto/secret.h" #ifndef _WIN32 #include diff --git a/tests/test-crypto-tlscredsx509.c b/tests/test-crypto-tlscredsx509.c index 940a026c6ee2..a27efb754009 100644 --- a/tests/test-crypto-tlscredsx509.c +++ b/tests/test-crypto-tlscredsx509.c @@ -23,6 +23,7 @@ #include "crypto-tls-x509-helpers.h" #include "crypto/tlscredsx509.h" #include "qapi/error.h" +#include "qemu/module.h" #ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT diff --git a/tests/test-crypto-tlssession.c b/tests/test-crypto-tlssession.c index 15212ec276d6..6560d7134f9c 100644 --- a/tests/test-crypto-tlssession.c +++ b/tests/test-crypto-tlssession.c @@ -27,6 +27,7 @@ #include "crypto/tlssession.h" #include "qom/object_interfaces.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "authz/list.h" diff --git a/tests/test-io-channel-buffer.c b/tests/test-io-channel-buffer.c index 64722a214bd1..59d6c64b0431 100644 --- a/tests/test-io-channel-buffer.c +++ b/tests/test-io-channel-buffer.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "io/channel-buffer.h" +#include "qemu/module.h" #include "io-channel-helpers.h" diff --git a/tests/test-io-channel-command.c b/tests/test-io-channel-command.c index 46ce1ff01cd8..3bc526612104 100644 --- a/tests/test-io-channel-command.c +++ b/tests/test-io-channel-command.c @@ -22,6 +22,7 @@ #include "io/channel-command.h" #include "io-channel-helpers.h" #include "qapi/error.h" +#include "qemu/module.h" #ifndef WIN32 static void test_io_channel_command_fifo(bool async) diff --git a/tests/test-io-channel-file.c b/tests/test-io-channel-file.c index 2e94f638f299..bac2b07562c2 100644 --- a/tests/test-io-channel-file.c +++ b/tests/test-io-channel-file.c @@ -23,6 +23,7 @@ #include "io/channel-util.h" #include "io-channel-helpers.h" #include "qapi/error.h" +#include "qemu/module.h" #define TEST_FILE "tests/test-io-channel-file.txt" #define TEST_MASK 0600 diff --git a/tests/test-io-channel-socket.c b/tests/test-io-channel-socket.c index c253ae30f57a..d2053c464cba 100644 --- a/tests/test-io-channel-socket.c +++ b/tests/test-io-channel-socket.c @@ -24,6 +24,7 @@ #include "io-channel-helpers.h" #include "socket-helpers.h" #include "qapi/error.h" +#include "qemu/module.h" static void test_io_channel_set_socket_bufs(QIOChannel *src, diff --git a/tests/test-io-channel-tls.c b/tests/test-io-channel-tls.c index 43b707eba786..3c9ef6f941fc 100644 --- a/tests/test-io-channel-tls.c +++ b/tests/test-io-channel-tls.c @@ -30,6 +30,7 @@ #include "crypto/init.h" #include "crypto/tlscredsx509.h" #include "qapi/error.h" +#include "qemu/module.h" #include "authz/list.h" #include "qom/object_interfaces.h" diff --git a/tests/test-io-task.c b/tests/test-io-task.c index bac1bb4e7a3f..aa8b653bfac2 100644 --- a/tests/test-io-task.c +++ b/tests/test-io-task.c @@ -22,6 +22,7 @@ #include "io/task.h" #include "qapi/error.h" +#include "qemu/module.h" #define TYPE_DUMMY "qemu:dummy" diff --git a/tests/test-qmp-cmds.c b/tests/test-qmp-cmds.c index 630b1b9bac34..f0b95dcbc388 100644 --- a/tests/test-qmp-cmds.c +++ b/tests/test-qmp-cmds.c @@ -1,10 +1,8 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h" #include "qapi/error.h" -#include "qemu/module.h" #include "qapi/qobject-input-visitor.h" #include "tests/test-qapi-types.h" #include "tests/test-qapi-visit.h" diff --git a/tests/test-throttle.c b/tests/test-throttle.c index 5644cf95ca25..a28812260e7f 100644 --- a/tests/test-throttle.c +++ b/tests/test-throttle.c @@ -18,6 +18,7 @@ #include "qapi/error.h" #include "qemu/throttle.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "block/throttle-groups.h" #include "sysemu/block-backend.h" diff --git a/tests/test-vmstate.c b/tests/test-vmstate.c index fc8ce6247181..e80c4c6143e4 100644 --- a/tests/test-vmstate.c +++ b/tests/test-vmstate.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "../migration/migration.h" #include "migration/vmstate.h" #include "migration/qemu-file-types.h" @@ -32,6 +31,7 @@ #include "../migration/qemu-file-channel.h" #include "../migration/savevm.h" #include "qemu/coroutine.h" +#include "qemu/module.h" #include "io/channel-file.h" static char temp_file[] = "/tmp/vmst.test.XXXXXX"; diff --git a/tests/tpm-crb-swtpm-test.c b/tests/tpm-crb-swtpm-test.c index 8c0a55f3ca61..2c4fb8ae292b 100644 --- a/tests/tpm-crb-swtpm-test.c +++ b/tests/tpm-crb-swtpm-test.c @@ -16,6 +16,7 @@ #include #include "libqtest.h" +#include "qemu/module.h" #include "tpm-tests.h" typedef struct TestState { diff --git a/tests/tpm-crb-test.c b/tests/tpm-crb-test.c index 6fde579bab10..a139caa51df1 100644 --- a/tests/tpm-crb-test.c +++ b/tests/tpm-crb-test.c @@ -16,6 +16,7 @@ #include "hw/acpi/tpm.h" #include "io/channel-socket.h" #include "libqtest.h" +#include "qemu/module.h" #include "tpm-emu.h" #define TPM_CMD "\x80\x01\x00\x00\x00\x0c\x00\x00\x01\x44\x00\x00" diff --git a/tests/tpm-tis-swtpm-test.c b/tests/tpm-tis-swtpm-test.c index 7dcd1d3912de..9f58a3a92b2f 100644 --- a/tests/tpm-tis-swtpm-test.c +++ b/tests/tpm-tis-swtpm-test.c @@ -16,6 +16,7 @@ #include #include "libqtest.h" +#include "qemu/module.h" #include "tpm-tests.h" typedef struct TestState { diff --git a/tests/tpm-tis-test.c b/tests/tpm-tis-test.c index c8ec14888ffe..92a7e95aad28 100644 --- a/tests/tpm-tis-test.c +++ b/tests/tpm-tis-test.c @@ -18,6 +18,7 @@ #include "hw/acpi/tpm.h" #include "io/channel-socket.h" #include "libqtest.h" +#include "qemu/module.h" #include "tpm-emu.h" #define TIS_REG(LOCTY, REG) \ diff --git a/tests/usb-hcd-ohci-test.c b/tests/usb-hcd-ohci-test.c index 98af02e8988c..c12b892085c8 100644 --- a/tests/usb-hcd-ohci-test.c +++ b/tests/usb-hcd-ohci-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/usb.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index 3817966010bd..6ae8a23688a5 100644 --- a/tests/vhost-user-test.c +++ b/tests/vhost-user-test.c @@ -19,6 +19,7 @@ #include "qemu/sockets.h" #include "chardev/char-fe.h" #include "qemu/memfd.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "libqos/libqos.h" #include "libqos/pci-pc.h" diff --git a/tests/virtio-9p-test.c b/tests/virtio-9p-test.c index 16107ad280a5..ac49bca99100 100644 --- a/tests/virtio-9p-test.c +++ b/tests/virtio-9p-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "hw/9pfs/9p.h" #include "hw/9pfs/9p-synth.h" #include "libqos/virtio-9p.h" diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c index fe1168a90ad0..1b02714bc77b 100644 --- a/tests/virtio-blk-test.c +++ b/tests/virtio-blk-test.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "libqtest.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "standard-headers/linux/virtio_blk.h" #include "standard-headers/linux/virtio_pci.h" #include "libqos/qgraph.h" diff --git a/tests/virtio-net-test.c b/tests/virtio-net-test.c index 163126cf07e1..6a008bb55207 100644 --- a/tests/virtio-net-test.c +++ b/tests/virtio-net-test.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "libqtest.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qapi/qmp/qdict.h" #include "hw/virtio/virtio-net.h" #include "libqos/qgraph.h" diff --git a/tests/virtio-rng-test.c b/tests/virtio-rng-test.c index fcb22481bd38..a38a0d175bb1 100644 --- a/tests/virtio-rng-test.c +++ b/tests/virtio-rng-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/virtio-rng.h" diff --git a/tests/virtio-scsi-test.c b/tests/virtio-scsi-test.c index 1e535cb1783c..1ad9f75d74f1 100644 --- a/tests/virtio-scsi-test.c +++ b/tests/virtio-scsi-test.c @@ -10,6 +10,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "scsi/constants.h" #include "libqos/libqos-pc.h" #include "libqos/libqos-spapr.h" diff --git a/tests/virtio-serial-test.c b/tests/virtio-serial-test.c index 85f35e09b7a5..066ca61280fc 100644 --- a/tests/virtio-serial-test.c +++ b/tests/virtio-serial-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/virtio-serial.h" /* Tests only initialization so far. TODO: Replace with functional tests */ diff --git a/tests/virtio-test.c b/tests/virtio-test.c index 804e5371dc3c..f7c6afdcf111 100644 --- a/tests/virtio-test.c +++ b/tests/virtio-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/tests/vmxnet3-test.c b/tests/vmxnet3-test.c index 35cdea939b4a..a81025252c87 100644 --- a/tests/vmxnet3-test.c +++ b/tests/vmxnet3-test.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "libqtest.h" +#include "qemu/module.h" #include "libqos/qgraph.h" #include "libqos/pci.h" diff --git a/ui/cocoa.m b/ui/cocoa.m index 420b2411c106..89b16e0e4406 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -36,6 +36,7 @@ #include "qapi/qapi-commands-misc.h" #include "sysemu/blockdev.h" #include "qemu-version.h" +#include "qemu/module.h" #include #include "qom/cpu.h" diff --git a/ui/console.c b/ui/console.c index 6d2282d3e907..eb7e7e0c517a 100644 --- a/ui/console.c +++ b/ui/console.c @@ -27,6 +27,7 @@ #include "hw/qdev-core.h" #include "qapi/error.h" #include "qapi/qapi-commands-ui.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/timer.h" #include "chardev/char-fe.h" diff --git a/ui/curses.c b/ui/curses.c index e9319eb8ae19..a6e260eb964d 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #ifndef _WIN32 @@ -33,7 +34,7 @@ #include #include "qapi/error.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "ui/console.h" #include "ui/input.h" #include "sysemu/sysemu.h" diff --git a/ui/egl-headless.c b/ui/egl-headless.c index e67b47aeff8a..05b2e7d7b17f 100644 --- a/ui/egl-headless.c +++ b/ui/egl-headless.c @@ -1,5 +1,5 @@ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "ui/console.h" #include "ui/egl-helpers.h" diff --git a/ui/input-linux.c b/ui/input-linux.c index ba550dd274a1..c8d22f99d993 100644 --- a/ui/input-linux.c +++ b/ui/input-linux.c @@ -6,8 +6,8 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qemu/config-file.h" +#include "qemu/module.h" #include "qemu/sockets.h" #include "sysemu/sysemu.h" #include "ui/input.h" diff --git a/ui/sdl2.c b/ui/sdl2.c index 1277cf28fbcc..b8a31197e87a 100644 --- a/ui/sdl2.c +++ b/ui/sdl2.c @@ -24,7 +24,7 @@ /* Ported SDL 1.2 code to 2.0 by Dave Airlie. */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" diff --git a/ui/spice-app.c b/ui/spice-app.c index 30541b10224a..40fb2ef57399 100644 --- a/ui/spice-app.c +++ b/ui/spice-app.c @@ -21,15 +21,16 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include -#include "qemu-common.h" #include "ui/console.h" #include "qemu/config-file.h" #include "qemu/option.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qapi/error.h" #include "io/channel-command.h" #include "chardev/spice.h" diff --git a/ui/spice-core.c b/ui/spice-core.c index 0632c74e9fcb..2ffc3335f0f8 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -22,6 +22,7 @@ #include "ui/qemu-spice.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/thread.h" #include "qemu/timer.h" #include "qemu/queue.h" diff --git a/ui/vnc.c b/ui/vnc.c index d83f4a6ff929..38f92bfca3d7 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -30,6 +30,7 @@ #include "trace.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "qemu/timer.h"