Tame a few "touch this, recompile the world" headers
Subsystems (15)
PATCH v4 21/29 Include hw/qdev-properties.h less
In reply to Markus ArmbrusterIn my "build everything" tree, changing hw/qdev-properties.h triggers a recompile of some 2700 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h).
Many places including hw/qdev-properties.h (directly or via hw/qdev.h) actually need only hw/qdev-core.h. Include hw/qdev-core.h there instead.
hw/qdev.h is actually pointless: all it does is include hw/qdev-core.h and hw/qdev-properties.h, which in turn includes hw/qdev-core.h. Replace the remaining uses of hw/qdev.h by hw/qdev-properties.h.
While there, delete a few superfluous inclusions of hw/qdev-core.h.
Touching hw/qdev-properties.h now recompiles some 1200 objects.
--- hw/audio/intel-hda.h | 2 +- hw/lm32/lm32.h | 1 + hw/lm32/milkymist-hw.h | 2 +- hw/net/fsl_etsec/etsec.h | 1 - hw/s390x/ipl.h | 2 +- hw/usb/ccid.h | 2 +- include/hw/acpi/acpi_dev_interface.h | 1 + include/hw/acpi/vmgenid.h | 2 +- include/hw/audio/pcspk.h | 1 + include/hw/boards.h | 1 - include/hw/char/cadence_uart.h | 1 + include/hw/char/cmsdk-apb-uart.h | 1 + include/hw/char/lm32_juart.h | 2 +- include/hw/char/pl011.h | 1 + include/hw/char/xilinx_uartlite.h | 1 + include/hw/cpu/cluster.h | 2 +- include/hw/cpu/core.h | 2 +- include/hw/cris/etraxfs.h | 1 + include/hw/display/milkymist_tmu2.h | 2 +- include/hw/i2c/i2c.h | 2 +- include/hw/i386/intel_iommu.h | 2 +- include/hw/input/adb.h | 2 +- include/hw/ipack/ipack.h | 2 +- include/hw/ipmi/ipmi.h | 2 +- include/hw/isa/isa.h | 2 +- include/hw/mem/memory-device.h | 2 +- include/hw/mem/pc-dimm.h | 2 +- include/hw/misc/auxbus.h | 2 +- include/hw/misc/unimp.h | 1 + include/hw/misc/vmcoreinfo.h | 2 +- include/hw/net/ne2000-isa.h | 2 +- include/hw/pci/pci.h | 1 - include/hw/pcmcia.h | 2 +- include/hw/ppc/openpic.h | 1 - include/hw/ppc/spapr_cpu_core.h | 2 +- include/hw/ppc/spapr_drc.h | 2 +- include/hw/ppc/xics.h | 2 +- include/hw/ppc/xive.h | 1 - include/hw/qdev.h | 7 ------- include/hw/s390x/event-facility.h | 2 +- include/hw/s390x/sclp.h | 1 - include/hw/s390x/storage-attributes.h | 2 +- include/hw/s390x/storage-keys.h | 2 +- include/hw/s390x/tod.h | 2 +- include/hw/scsi/scsi.h | 2 +- include/hw/sd/sd.h | 2 +- include/hw/sparc/grlib.h | 1 - include/hw/ssi/ssi.h | 2 +- include/hw/sysbus.h | 2 +- include/hw/timer/cmsdk-apb-timer.h | 1 + include/hw/timer/i8254.h | 2 +- include/hw/usb.h | 2 +- include/hw/virtio/vhost-scsi-common.h | 1 - include/hw/virtio/vhost-scsi.h | 1 - include/hw/virtio/vhost-user-blk.h | 1 - include/hw/virtio/vhost-user-scsi.h | 1 - include/hw/virtio/virtio-bus.h | 2 +- include/hw/virtio/virtio-serial.h | 1 - include/hw/virtio/virtio.h | 2 +- include/hw/watchdog/wdt_diag288.h | 2 +- include/monitor/qdev.h | 2 -- include/sysemu/accel.h | 1 - migration/migration.h | 2 +- backends/vhost-user.c | 1 - hw/9pfs/virtio-9p-device.c | 1 + hw/acpi/piix4.c | 1 + hw/acpi/vmgenid.c | 1 + hw/arm/armv7m.c | 1 + hw/arm/aspeed.c | 1 + hw/arm/digic.c | 1 + hw/arm/exynos4210.c | 1 + hw/arm/exynos4_boards.c | 1 + hw/arm/fsl-imx25.c | 1 + hw/arm/fsl-imx31.c | 1 + hw/arm/fsl-imx6.c | 1 + hw/arm/mcimx6ul-evk.c | 1 + hw/arm/mcimx7d-sabre.c | 1 + hw/arm/microbit.c | 1 + hw/arm/msf2-som.c | 1 + hw/arm/musicpal.c | 1 + hw/arm/netduino2.c | 1 + hw/arm/nseries.c | 1 + hw/arm/omap1.c | 1 + hw/arm/omap2.c | 1 + hw/arm/pxa2xx.c | 1 + hw/arm/pxa2xx_gpio.c | 1 + hw/arm/sabrelite.c | 1 + hw/arm/sbsa-ref.c | 1 + hw/arm/spitz.c | 1 + hw/arm/stm32f205_soc.c | 1 + hw/arm/strongarm.c | 1 + hw/arm/virt.c | 1 + hw/audio/ac97.c | 1 + hw/audio/adlib.c | 1 + hw/audio/cs4231a.c | 2 +- hw/audio/gus.c | 1 + hw/audio/hda-codec.c | 1 + hw/audio/intel-hda.c | 1 + hw/audio/marvell_88w8618.c | 1 + hw/audio/pl041.c | 1 + hw/audio/sb16.c | 2 +- hw/block/fdc.c | 1 + hw/block/m25p80.c | 1 + hw/block/nand.c | 2 +- hw/block/nvme.c | 1 + hw/block/onenand.c | 1 + hw/block/pflash_cfi01.c | 1 + hw/block/pflash_cfi02.c | 1 + hw/block/vhost-user-blk.c | 1 + hw/block/virtio-blk.c | 1 + hw/block/xen-block.c | 1 + hw/char/bcm2835_aux.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 | 1 + hw/char/milkymist-uart.c | 1 + hw/char/nrf51_uart.c | 1 + hw/char/parallel-isa.c | 2 ++ hw/char/parallel.c | 1 + hw/char/sclpconsole-lm.c | 2 +- hw/char/sclpconsole.c | 2 +- hw/char/serial-isa.c | 1 + hw/char/serial-pci-multi.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 | 2 +- hw/core/generic-loader.c | 1 + hw/core/or-irq.c | 1 + hw/core/platform-bus.c | 1 + hw/core/qdev-fw.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/core/qdev-properties.c | 2 +- hw/core/qdev.c | 2 +- hw/core/register.c | 1 - hw/core/split-irq.c | 1 + hw/core/vm-change-state-handler.c | 2 +- hw/cpu/a15mpcore.c | 1 + hw/cpu/a9mpcore.c | 1 + hw/cpu/arm11mpcore.c | 1 + hw/cpu/cluster.c | 1 + hw/cpu/realview_mpcore.c | 1 + hw/display/ati.c | 1 + hw/display/bcm2835_fb.c | 1 + hw/display/bochs-display.c | 1 + hw/display/cg3.c | 1 + hw/display/cirrus_vga.c | 1 + hw/display/cirrus_vga_isa.c | 1 + hw/display/g364fb.c | 1 + hw/display/i2c-ddc.c | 1 + hw/display/milkymist-vgafb.c | 1 + hw/display/qxl.c | 1 + hw/display/ramfb-standalone.c | 1 + hw/display/sm501.c | 1 + hw/display/tcx.c | 1 + hw/display/vga-isa.c | 1 + hw/display/vga-pci.c | 1 + hw/display/vhost-user-gpu.c | 1 + hw/display/virtio-gpu-pci.c | 1 + hw/display/virtio-gpu.c | 1 + hw/display/virtio-vga.c | 1 + hw/display/vmware_vga.c | 1 + hw/dma/i82374.c | 1 + hw/dma/i8257.c | 1 + hw/dma/pl080.c | 1 + hw/dma/pl330.c | 1 + hw/dma/pxa2xx_dma.c | 1 + hw/dma/sparc32_dma.c | 1 + hw/dma/xilinx_axidma.c | 1 + hw/dma/xlnx-zdma.c | 1 + hw/gpio/imx_gpio.c | 1 + hw/gpio/max7310.c | 1 + hw/gpio/omap_gpio.c | 1 + hw/hyperv/hyperv_testdev.c | 1 - hw/i2c/core.c | 1 + hw/i2c/omap_i2c.c | 1 + hw/i2c/smbus_eeprom.c | 1 + hw/i386/intel_iommu.c | 1 + hw/i386/kvm/clock.c | 1 + hw/i386/kvm/ioapic.c | 1 + hw/i386/pc_q35.c | 1 + hw/i386/pc_sysfw.c | 1 + hw/i386/vmmouse.c | 2 +- hw/i386/vmport.c | 1 - hw/i386/x86-iommu.c | 1 + hw/i386/xen/xen_pvdevice.c | 1 + hw/ide/ahci.c | 1 + hw/ide/cmd646.c | 1 + hw/ide/isa.c | 1 + hw/ide/macio.c | 1 + hw/ide/mmio.c | 1 + hw/ide/qdev.c | 1 + hw/input/adb.c | 1 + hw/input/milkymist-softusb.c | 1 + hw/input/vhost-user-input.c | 1 - hw/input/virtio-input-hid.c | 2 +- hw/input/virtio-input-host.c | 2 +- hw/input/virtio-input.c | 2 +- hw/intc/apic_common.c | 2 +- hw/intc/arm_gic_common.c | 1 + hw/intc/arm_gicv2m.c | 1 + hw/intc/arm_gicv3_common.c | 1 + hw/intc/arm_gicv3_its_kvm.c | 1 + hw/intc/armv7m_nvic.c | 1 + hw/intc/etraxfs_pic.c | 1 + hw/intc/exynos4210_combiner.c | 1 + hw/intc/exynos4210_gic.c | 1 + hw/intc/grlib_irqmp.c | 1 + hw/intc/i8259_common.c | 1 + hw/intc/ioapic.c | 1 + hw/intc/mips_gic.c | 1 + hw/intc/omap_intc.c | 1 + hw/intc/ompic.c | 1 + hw/intc/openpic.c | 1 + hw/intc/openpic_kvm.c | 1 + hw/intc/pnv_xive.c | 1 + hw/intc/realview_gic.c | 1 + hw/intc/s390_flic.c | 2 +- hw/intc/spapr_xive.c | 1 + hw/intc/xics.c | 1 + hw/intc/xilinx_intc.c | 1 + hw/intc/xlnx-pmu-iomod-intc.c | 1 + hw/ipack/ipack.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 | 1 + hw/ipmi/isa_ipmi_kcs.c | 1 + hw/isa/isa-superio.c | 1 + hw/isa/lpc_ich9.c | 1 + hw/isa/pc87312.c | 1 + hw/isa/vt82c686.c | 1 + hw/lm32/milkymist.c | 1 + hw/mem/memory-device.c | 1 - hw/mem/nvdimm.c | 1 + hw/mem/pc-dimm.c | 1 + hw/microblaze/petalogix_ml605_mmu.c | 1 + hw/microblaze/xlnx-zynqmp-pmu.c | 1 - hw/mips/boston.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_l2x0.c | 1 + hw/misc/arm_sysctl.c | 1 + hw/misc/armsse-cpuid.c | 1 + hw/misc/bcm2835_property.c | 1 + hw/misc/debugexit.c | 1 + hw/misc/eccmemctl.c | 1 + hw/misc/iotkit-sysctl.c | 1 + hw/misc/iotkit-sysinfo.c | 1 + hw/misc/ivshmem.c | 1 + hw/misc/macio/cuda.c | 1 + hw/misc/macio/gpio.c | 1 + hw/misc/macio/macio.c | 1 + hw/misc/macio/pmu.c | 1 + hw/misc/mips_cmgcr.c | 1 + hw/misc/mips_cpc.c | 1 + hw/misc/mips_itu.c | 1 + hw/misc/mos6522.c | 1 + hw/misc/mps2-fpgaio.c | 1 + hw/misc/mps2-scc.c | 1 + hw/misc/msf2-sysreg.c | 1 + hw/misc/nrf51_rng.c | 1 + hw/misc/pc-testdev.c | 1 - hw/misc/pci-testdev.c | 1 + hw/misc/pvpanic.c | 1 + hw/misc/tz-mpc.c | 1 + hw/misc/tz-msc.c | 1 + hw/misc/tz-ppc.c | 1 + hw/net/allwinner_emac.c | 1 + 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/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 | 1 + hw/net/milkymist-minimac2.c | 1 + hw/net/mipsnet.c | 1 + hw/net/ne2000-isa.c | 1 - hw/net/ne2000-pci.c | 1 + hw/net/opencores_eth.c | 1 + hw/net/pcnet-pci.c | 1 + hw/net/pcnet.c | 2 +- hw/net/rocker/rocker.c | 1 + hw/net/rtl8139.c | 1 + hw/net/smc91c111.c | 1 + hw/net/spapr_llan.c | 2 +- hw/net/stellaris_enet.c | 1 + hw/net/sungem.c | 1 + hw/net/sunhme.c | 1 + hw/net/virtio-net.c | 1 + hw/net/vmxnet3.c | 1 + hw/net/xgmac.c | 1 + hw/net/xilinx_axienet.c | 2 ++ hw/net/xilinx_ethlite.c | 1 + hw/nios2/10m50_devboard.c | 1 + hw/nvram/ds1225y.c | 1 + hw/nvram/eeprom_at24c.c | 1 + hw/nvram/fw_cfg.c | 1 + hw/nvram/mac_nvram.c | 1 + hw/nvram/nrf51_nvm.c | 1 + hw/nvram/spapr_nvram.c | 1 + hw/openrisc/openrisc_sim.c | 1 + hw/pci-bridge/gen_pcie_root_port.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/xio3130_downstream.c | 1 + hw/pci-host/designware.c | 1 + hw/pci-host/gpex.c | 1 + hw/pci-host/grackle.c | 1 + hw/pci-host/piix.c | 1 + hw/pci-host/ppce500.c | 1 + hw/pci-host/prep.c | 1 + hw/pci-host/q35.c | 1 + hw/pci-host/sabre.c | 1 + hw/pci-host/uninorth.c | 1 + hw/pci-host/versatile.c | 1 + hw/pci-host/xilinx-pcie.c | 1 + hw/pci/pci.c | 1 + hw/pci/pcie_port.c | 1 + hw/ppc/e500.c | 1 + hw/ppc/mac_newworld.c | 1 + hw/ppc/mac_oldworld.c | 1 + hw/ppc/pnv.c | 1 + hw/ppc/pnv_core.c | 1 + hw/ppc/pnv_psi.c | 1 + hw/ppc/ppc440_uc.c | 1 + hw/ppc/prep_systemio.c | 1 + hw/ppc/rs6000_mc.c | 1 + hw/ppc/sam460ex.c | 1 + hw/ppc/spapr.c | 1 + hw/ppc/spapr_cpu_core.c | 1 + hw/ppc/spapr_drc.c | 1 - hw/ppc/spapr_events.c | 1 - hw/ppc/spapr_iommu.c | 1 - hw/ppc/spapr_irq.c | 1 + hw/ppc/spapr_pci.c | 1 + hw/ppc/spapr_rng.c | 1 + hw/ppc/spapr_rtas.c | 1 - hw/ppc/virtex_ml507.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/3270-ccw.c | 2 ++ hw/s390x/ap-device.c | 1 - hw/s390x/ccw-device.c | 1 + hw/s390x/css-bridge.c | 1 + hw/s390x/css.c | 2 +- hw/s390x/ipl.c | 1 + hw/s390x/s390-pci-bus.c | 1 + hw/s390x/s390-virtio-ccw.c | 1 + hw/s390x/sclpquiesce.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/scsi/megasas.c | 1 + hw/scsi/mptsas.c | 1 + hw/scsi/scsi-bus.c | 2 +- hw/scsi/scsi-disk.c | 1 + hw/scsi/scsi-generic.c | 1 + hw/scsi/spapr_vscsi.c | 2 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/scsi/virtio-scsi.c | 1 + hw/scsi/vmw_pvscsi.c | 1 + hw/sd/milkymist-memcard.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/r2d.c | 1 + hw/sparc/leon3.c | 1 + hw/sparc/sun4m.c | 1 + hw/sparc/sun4m_iommu.c | 1 + hw/sparc64/sun4u.c | 1 + hw/ssi/aspeed_smc.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 | 1 + hw/timer/arm_mptimer.c | 1 + hw/timer/arm_timer.c | 2 +- hw/timer/cmsdk-apb-dualtimer.c | 1 + hw/timer/exynos4210_mct.c | 1 + hw/timer/grlib_gptimer.c | 1 + hw/timer/lm32_timer.c | 1 + hw/timer/m48t59-isa.c | 1 + hw/timer/m48t59.c | 1 + hw/timer/mc146818rtc.c | 1 + hw/timer/milkymist-sysctl.c | 1 + hw/timer/mss-timer.c | 1 + hw/timer/pl031.c | 1 + hw/timer/pxa2xx_timer.c | 1 + hw/timer/slavio_timer.c | 1 + hw/timer/stm32f2xx_timer.c | 1 + hw/timer/xilinx_timer.c | 1 + hw/tpm/tpm_crb.c | 2 -- hw/tpm/tpm_tis.c | 1 + hw/tpm/tpm_util.c | 2 +- hw/usb/bus.c | 2 +- hw/usb/ccid-card-emulated.c | 1 + hw/usb/ccid-card-passthru.c | 1 + hw/usb/dev-audio.c | 1 + hw/usb/dev-hid.c | 1 + hw/usb/dev-hub.c | 1 + hw/usb/dev-mtp.c | 1 + hw/usb/dev-network.c | 1 + hw/usb/dev-serial.c | 1 + hw/usb/dev-smartcard-reader.c | 1 + hw/usb/dev-storage.c | 1 + hw/usb/dev-uas.c | 1 + hw/usb/hcd-ehci-pci.c | 1 + hw/usb/hcd-ehci-sysbus.c | 1 + hw/usb/hcd-ohci-pci.c | 1 + hw/usb/hcd-ohci.c | 1 + hw/usb/hcd-uhci.c | 1 + hw/usb/hcd-xhci-nec.c | 1 + hw/usb/hcd-xhci.c | 1 + hw/usb/host-libusb.c | 1 + hw/usb/redirect.c | 1 + hw/vfio/ap.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 | 1 + hw/virtio/virtio-blk-pci.c | 1 + hw/virtio/virtio-bus.c | 1 - hw/virtio/virtio-crypto-pci.c | 1 + hw/virtio/virtio-crypto.c | 2 +- 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-pmem.c | 1 + hw/virtio/virtio-rng.c | 2 +- hw/virtio/virtio-scsi-pci.c | 1 + hw/virtio/virtio-serial-pci.c | 1 + hw/virtio/virtio.c | 1 + hw/watchdog/cmsdk-apb-watchdog.c | 1 + hw/watchdog/wdt_aspeed.c | 1 + hw/xen/xen-bus.c | 1 + hw/xen/xen-legacy-backend.c | 1 + hw/xen/xen_pt.c | 1 + hw/xtensa/xtfpga.c | 1 + memory.c | 1 - migration/migration.c | 1 + net/net.c | 2 +- qdev-monitor.c | 1 - qom/qom-qmp-cmds.c | 2 +- qtest.c | 1 - target/tilegx/cpu.c | 1 - tests/test-qdev-global-props.c | 2 +- vl.c | 2 +- 497 files changed, 461 insertions(+), 117 deletions(-) delete mode 100644 include/hw/qdev.h
hw/audio/intel-hda.h +1 -1
@@ -1,7 +1,7 @@#ifndef HW_INTEL_HDA_H #define HW_INTEL_HDA_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" /* --------------------------------------------------------------------- */ /* hda bus */
hw/lm32/lm32.h +1 -0
@@ -2,6 +2,7 @@#define HW_LM32_H #include "hw/char/lm32_juart.h" +#include "hw/qdev-properties.h" static inline DeviceState *lm32_pic_init (qemu_irq cpu_irq) {
hw/lm32/milkymist-hw.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_HW_MILKYMIST_HW_H #define QEMU_HW_MILKYMIST_HW_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "net/net.h" static inline DeviceState *milkymist_uart_create(hwaddr base,
hw/net/fsl_etsec/etsec.h +0 -1
@@ -25,7 +25,6 @@#ifndef ETSEC_H #define ETSEC_H -#include "hw/qdev.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/ptimer.h"
hw/s390x/ipl.h +1 -1
@@ -12,8 +12,8 @@ #ifndef HW_S390_IPL_H #define HW_S390_IPL_H -#include "hw/qdev.h" #include "cpu.h" +#include "hw/qdev-core.h" struct IplBlockCcw { uint8_t reserved0[85];
hw/usb/ccid.h +1 -1
@@ -10,7 +10,7 @@#ifndef CCID_H #define CCID_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" typedef struct CCIDCardState CCIDCardState ;typedef struct CCIDCardInfo CCIDCardInfo ;
include/hw/acpi/acpi_dev_interface.h +1 -0
@@ -4,6 +4,7 @@#include "qapi/qapi-types-misc.h" #include "qom/object.h" #include "hw/boards.h" +#include "hw/qdev-core.h" /* These values are part of guest ABI, and can not be changed */ typedef enum {
include/hw/acpi/vmgenid.h +1 -1
@@ -2,7 +2,7 @@#define ACPI_VMGENID_H #include "hw/acpi/bios-linker-loader.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "qemu/uuid.h" #define VMGENID_DEVICE "vmgenid"
include/hw/audio/pcspk.h +1 -0
@@ -26,6 +26,7 @@#define HW_PCSPK_H #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #define TYPE_PC_SPEAKER "isa-pcspk"
include/hw/boards.h +0 -1
@@ -6,7 +6,6 @@#include "exec/memory.h" #include "sysemu/blockdev.h" #include "sysemu/accel.h" -#include "hw/qdev.h" #include "qapi/qapi-types-machine.h" #include "qemu/module.h" #include "qom/object.h"
include/hw/char/cadence_uart.h +1 -0
@@ -19,6 +19,7 @@#ifndef CADENCE_UART_H #define CADENCE_UART_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/timer.h"
include/hw/char/cmsdk-apb-uart.h +1 -0
@@ -12,6 +12,7 @@#ifndef CMSDK_APB_UART_H #define CMSDK_APB_UART_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "chardev/char-fe.h"
include/hw/char/lm32_juart.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_HW_CHAR_LM32_JUART_H #define QEMU_HW_CHAR_LM32_JUART_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define TYPE_LM32_JUART "lm32-juart"
include/hw/char/pl011.h +1 -0
@@ -15,6 +15,7 @@#ifndef HW_PL011_H #define HW_PL011_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "chardev/char-fe.h"
include/hw/char/xilinx_uartlite.h +1 -0
@@ -15,6 +15,7 @@#ifndef XILINX_UARTLITE_H #define XILINX_UARTLITE_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" static inline DeviceState *xilinx_uartlite_create(hwaddr addr,
include/hw/cpu/cluster.h +1 -1
@@ -20,7 +20,7 @@#ifndef HW_CPU_CLUSTER_H #define HW_CPU_CLUSTER_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" /* * CPU Cluster type
include/hw/cpu/core.h +1 -1
@@ -9,7 +9,7 @@#ifndef HW_CPU_CORE_H #define HW_CPU_CORE_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define TYPE_CPU_CORE "cpu-core"
include/hw/cris/etraxfs.h +1 -0
@@ -27,6 +27,7 @@#include "net/net.h" #include "hw/cris/etraxfs_dma.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" /* Instantiate an ETRAXFS Ethernet MAC. */
include/hw/display/milkymist_tmu2.h +1 -1
@@ -28,7 +28,7 @@#define HW_DISPLAY_MILKYMIST_TMU2_H #include "exec/hwaddr.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #if defined(CONFIG_X11 ) && defined(CONFIG_OPENGL )DeviceState *milkymist_tmu2_create (hwaddr base,qemu_irq irq);
include/hw/i2c/i2c.h +1 -1
@@ -1,7 +1,7 @@#ifndef QEMU_I2C_H #define QEMU_I2C_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" /* The QEMU I2C implementation only supports simple transfers that complete immediately. It does not support slave devices that need to be able to
include/hw/i386/intel_iommu.h +1 -1
@@ -21,7 +21,7 @@#ifndef INTEL_IOMMU_H #define INTEL_IOMMU_H -#include "hw/qdev.h" +#include "sysemu/dma.h" #include "hw/i386/x86-iommu.h" #include "hw/i386/ioapic.h"
include/hw/input/adb.h +1 -1
@@ -26,7 +26,7 @@#ifndef ADB_H #define ADB_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define MAX_ADB_DEVICES 16
include/hw/ipack/ipack.h +1 -1
@@ -11,7 +11,7 @@#ifndef QEMU_IPACK_H #define QEMU_IPACK_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" typedef struct IPackBus IPackBus ;
include/hw/ipmi/ipmi.h +1 -1
@@ -26,7 +26,7 @@#define HW_IPMI_H #include "exec/memory.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define MAX_IPMI_MSG_SIZE 300
include/hw/isa/isa.h +1 -1
@@ -5,7 +5,7 @@#include "exec/memory.h" #include "exec/ioport.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define ISA_NUM_IRQS 16
include/hw/mem/memory-device.h +1 -1
@@ -13,9 +13,9 @@#ifndef MEMORY_DEVICE_H #define MEMORY_DEVICE_H +#include "hw/qdev-core.h" #include "qapi/qapi-types-misc.h" #include "qom/object.h" -#include "hw/qdev.h" #define TYPE_MEMORY_DEVICE "memory-device"
include/hw/mem/pc-dimm.h +1 -1
@@ -18,7 +18,7 @@#include "exec/memory.h" #include "sysemu/hostmem.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "hw/boards.h" #define TYPE_PC_DIMM "pc-dimm"
include/hw/misc/auxbus.h +1 -1
@@ -26,7 +26,7 @@#define HW_MISC_AUXBUS_H #include "exec/memory.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" typedef struct AUXBus AUXBus ;typedef struct AUXSlave AUXSlave ;
include/hw/misc/unimp.h +1 -0
@@ -8,6 +8,7 @@#ifndef HW_MISC_UNIMP_H #define HW_MISC_UNIMP_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #define TYPE_UNIMPLEMENTED_DEVICE "unimplemented-device"
include/hw/misc/vmcoreinfo.h +1 -1
@@ -12,7 +12,7 @@#ifndef VMCOREINFO_H #define VMCOREINFO_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "standard-headers/linux/qemu_fw_cfg.h" #define VMCOREINFO_DEVICE "vmcoreinfo"
include/hw/net/ne2000-isa.h +1 -1
@@ -10,8 +10,8 @@#ifndef HW_NET_NE2000_ISA_H #define HW_NET_NE2000_ISA_H -#include "hw/qdev.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "net/net.h" #define TYPE_ISA_NE2000 "ne2k_isa"
include/hw/pci/pci.h +0 -1
@@ -1,7 +1,6 @@#ifndef QEMU_PCI_H #define QEMU_PCI_H -#include "hw/qdev.h" #include "exec/memory.h" #include "sysemu/dma.h"
include/hw/pcmcia.h +1 -1
@@ -3,7 +3,7 @@/* PCMCIA/Cardbus */ -#include "hw/qdev.h" +#include "hw/qdev-core.h" typedef struct PCMCIASocket { qemu_irq irq;
include/hw/ppc/openpic.h +0 -1
@@ -2,7 +2,6 @@#define OPENPIC_H #include "hw/sysbus.h" -#include "hw/qdev-core.h" #include "qom/cpu.h" #define MAX_CPU 32
include/hw/ppc/spapr_cpu_core.h +1 -1
@@ -9,8 +9,8 @@#ifndef HW_SPAPR_CPU_CORE_H #define HW_SPAPR_CPU_CORE_H -#include "hw/qdev.h" #include "hw/cpu/core.h" +#include "hw/qdev-core.h" #include "target/ppc/cpu-qom.h" #include "target/ppc/cpu.h"
include/hw/ppc/spapr_drc.h +1 -1
@@ -16,7 +16,7 @@#include <libfdt.h> #include "qom/object.h" #include "sysemu/sysemu.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "qapi/error.h" #define TYPE_SPAPR_DR_CONNECTOR "spapr-dr-connector"
include/hw/ppc/xics.h +1 -1
@@ -29,7 +29,7 @@#define XICS_H #include "exec/memory.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define XICS_IPI 0x2#define XICS_BUID 0x1
include/hw/ppc/xive.h +0 -1
@@ -141,7 +141,6 @@#define PPC_XIVE_H #include "sysemu/kvm.h" -#include "hw/qdev-core.h" #include "hw/sysbus.h" #include "hw/ppc/xive_regs.h"
include/hw/qdev.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef QDEV_H -#define QDEV_H - -#include "hw/qdev-core.h" -#include "hw/qdev-properties.h" - -#endif
include/hw/s390x/event-facility.h +1 -1
@@ -15,8 +15,8 @@#ifndef HW_S390_SCLP_EVENT_FACILITY_H #define HW_S390_SCLP_EVENT_FACILITY_H -#include "hw/qdev.h" #include "qemu/thread.h" +#include "hw/qdev-core.h" #include "hw/s390x/sclp.h" /* SCLP event types */
include/hw/s390x/sclp.h +0 -1
@@ -15,7 +15,6 @@#define HW_S390_SCLP_H #include "hw/sysbus.h" -#include "hw/qdev.h" #include "target/s390x/cpu-qom.h" #define SCLP_CMD_CODE_MASK 0xffff00ff
include/hw/s390x/storage-attributes.h +1 -1
@@ -12,7 +12,7 @@#ifndef S390_STORAGE_ATTRIBUTES_H #define S390_STORAGE_ATTRIBUTES_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "monitor/monitor.h" #define TYPE_S390_STATTRIB "s390-storage_attributes"
include/hw/s390x/storage-keys.h +1 -1
@@ -12,7 +12,7 @@#ifndef S390_STORAGE_KEYS_H #define S390_STORAGE_KEYS_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "monitor/monitor.h" #define TYPE_S390_SKEYS "s390-skeys"
include/hw/s390x/tod.h +1 -1
@@ -11,7 +11,7 @@ #ifndef HW_S390_TOD_H #define HW_S390_TOD_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "target/s390x/s390-tod.h" typedef struct S390TOD {
include/hw/scsi/scsi.h +1 -1
@@ -1,9 +1,9 @@#ifndef QEMU_HW_SCSI_H #define QEMU_HW_SCSI_H -#include "hw/qdev.h" #include "block/aio.h" #include "hw/block/block.h" +#include "hw/qdev-core.h" #include "sysemu/sysemu.h" #include "scsi/utils.h" #include "qemu/notify.h"
include/hw/sd/sd.h +1 -1
@@ -30,7 +30,7 @@#ifndef HW_SD_H #define HW_SD_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define OUT_OF_RANGE (1 << 31)#define ADDRESS_ERROR (1 << 30)
include/hw/sparc/grlib.h +0 -1
@@ -25,7 +25,6 @@#ifndef GRLIB_H #define GRLIB_H -#include "hw/qdev.h" #include "hw/sysbus.h" /* Emulation of GrLib device is base on the GRLIB IP Core User's Manual:
include/hw/ssi/ssi.h +1 -1
@@ -11,7 +11,7 @@#ifndef QEMU_SSI_H #define QEMU_SSI_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" typedef struct SSISlave SSISlave ;typedef struct SSISlaveClass SSISlaveClass ;
include/hw/sysbus.h +1 -1
@@ -3,7 +3,7 @@/* Devices attached directly to the main system bus. */ -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "exec/memory.h" #define QDEV_MAX_MMIO 32
include/hw/timer/cmsdk-apb-timer.h +1 -0
@@ -12,6 +12,7 @@#ifndef CMSDK_APB_TIMER_H #define CMSDK_APB_TIMER_H +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "hw/ptimer.h"
include/hw/timer/i8254.h +1 -1
@@ -25,7 +25,7 @@#ifndef HW_I8254_H #define HW_I8254_H -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "hw/isa/isa.h" #define PIT_FREQ 1193182
include/hw/usb.h +1 -1
@@ -26,7 +26,7 @@*/ #include "exec/memory.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" #include "qemu/iov.h" #include "qemu/queue.h"
include/hw/virtio/vhost-scsi-common.h +0 -1
@@ -14,7 +14,6 @@#ifndef VHOST_SCSI_COMMON_H #define VHOST_SCSI_COMMON_H -#include "hw/qdev.h" #include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost.h" #include "hw/fw-path-provider.h"
include/hw/virtio/vhost-scsi.h +0 -1
@@ -14,7 +14,6 @@#ifndef VHOST_SCSI_H #define VHOST_SCSI_H -#include "hw/qdev.h" #include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-scsi-common.h"
include/hw/virtio/vhost-user-blk.h +0 -1
@@ -16,7 +16,6 @@#define VHOST_USER_BLK_H #include "standard-headers/linux/virtio_blk.h" -#include "hw/qdev.h" #include "hw/block/block.h" #include "chardev/char-fe.h" #include "hw/virtio/vhost.h"
include/hw/virtio/vhost-user-scsi.h +0 -1
@@ -17,7 +17,6 @@#ifndef VHOST_USER_SCSI_H #define VHOST_USER_SCSI_H -#include "hw/qdev.h" #include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-user.h"
include/hw/virtio/virtio-bus.h +1 -1
@@ -25,8 +25,8 @@#ifndef VIRTIO_BUS_H #define VIRTIO_BUS_H -#include "hw/qdev.h" #include "sysemu/sysemu.h" +#include "hw/qdev-core.h" #include "hw/virtio/virtio.h" #define TYPE_VIRTIO_BUS "virtio-bus"
include/hw/virtio/virtio-serial.h +0 -1
@@ -17,7 +17,6 @@#define QEMU_VIRTIO_SERIAL_H #include "standard-headers/linux/virtio_console.h" -#include "hw/qdev.h" #include "hw/virtio/virtio.h" struct virtio_serial_conf {
include/hw/virtio/virtio.h +1 -1
@@ -15,8 +15,8 @@#define QEMU_VIRTIO_H #include "exec/memory.h" +#include "hw/qdev-core.h" #include "net/net.h" -#include "hw/qdev.h" #include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "qemu/event_notifier.h"
include/hw/watchdog/wdt_diag288.h +1 -1
@@ -1,7 +1,7 @@#ifndef WDT_DIAG288_H #define WDT_DIAG288_H -#include "hw/qdev.h" +#include "hw/qdev-core.h" #define TYPE_WDT_DIAG288 "diag288"#define DIAG288 (obj) \
include/monitor/qdev.h +0 -2
@@ -1,8 +1,6 @@#ifndef MONITOR_QDEV_H #define MONITOR_QDEV_H -#include "hw/qdev-core.h" -/*** monitor commands ***/ void hmp_info_qtree (Monitor *mon,const QDict *qdict);
include/sysemu/accel.h +0 -1
@@ -24,7 +24,6 @@#define HW_ACCEL_H #include "qom/object.h" -#include "hw/qdev-properties.h" #include "exec/hwaddr.h" typedef struct AccelState {
migration/migration.h +1 -1
@@ -15,10 +15,10 @@#define QEMU_MIGRATION_H #include "exec/cpu-common.h" +#include "hw/qdev-core.h" #include "qapi/qapi-types-migration.h" #include "qemu/thread.h" #include "qemu/coroutine_int.h" -#include "hw/qdev.h" #include "io/channel.h" #include "net/announce.h"
backends/vhost-user.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" -#include "hw/qdev.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h"
hw/9pfs/virtio-9p-device.c +1 -0
@@ -17,6 +17,7 @@#include "virtio-9p.h" #include "fsdev/qemu-fsdev.h" #include "coth.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "qemu/iov.h" #include "qemu/module.h"
hw/acpi/piix4.c +1 -0
@@ -25,6 +25,7 @@#include "hw/isa/apm.h" #include "hw/i2c/pm_smbus.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/acpi/acpi.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h"
hw/acpi/vmgenid.c +1 -0
@@ -18,6 +18,7 @@#include "hw/acpi/aml-build.h" #include "hw/acpi/vmgenid.h" #include "hw/nvram/fw_cfg.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h"
hw/arm/armv7m.c +1 -0
@@ -14,6 +14,7 @@#include "hw/sysbus.h" #include "hw/arm/boot.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "elf.h" #include "sysemu/qtest.h" #include "sysemu/reset.h"
hw/arm/aspeed.c +1 -0
@@ -20,6 +20,7 @@#include "hw/i2c/smbus_eeprom.h" #include "hw/misc/pca9552.h" #include "hw/misc/tmp105.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "sysemu/block-backend.h" #include "sysemu/sysemu.h"
hw/arm/digic.c +1 -0
@@ -24,6 +24,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/arm/digic.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #define DIGIC4_TIMER_BASE (n) (0xc0210000 + (n) * 0x100)
hw/arm/exynos4210.c +1 -0
@@ -32,6 +32,7 @@#include "hw/sysbus.h" #include "hw/arm/boot.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "hw/arm/exynos4210.h" #include "hw/sd/sdhci.h" #include "hw/usb/hcd-ehci.h"
hw/arm/exynos4_boards.c +1 -0
@@ -33,6 +33,7 @@#include "exec/address-spaces.h" #include "hw/arm/exynos4210.h" #include "hw/net/lan9118.h" +#include "hw/qdev-properties.h" #include "hw/boards.h" #include "hw/irq.h"
hw/arm/fsl-imx25.c +1 -0
@@ -29,6 +29,7 @@#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "chardev/char.h" static void fsl_imx25_init (Object *obj)
hw/arm/fsl-imx31.c +1 -0
@@ -26,6 +26,7 @@#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "chardev/char.h" static void fsl_imx31_init (Object *obj)
hw/arm/fsl-imx6.c +1 -0
@@ -23,6 +23,7 @@#include "qapi/error.h" #include "hw/arm/fsl-imx6.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "chardev/char.h" #include "qemu/error-report.h"
hw/arm/mcimx6ul-evk.c +1 -0
@@ -14,6 +14,7 @@#include "qapi/error.h" #include "hw/arm/fsl-imx6ul.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/mcimx7d-sabre.c +1 -0
@@ -16,6 +16,7 @@#include "qapi/error.h" #include "hw/arm/fsl-imx7.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/microbit.c +1 -0
@@ -17,6 +17,7 @@#include "hw/arm/nrf51_soc.h" #include "hw/i2c/microbit_i2c.h" +#include "hw/qdev-properties.h" typedef struct { MachineState parent;
hw/arm/msf2-som.c +1 -0
@@ -27,6 +27,7 @@#include "qapi/error.h" #include "qemu/error-report.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "hw/arm/boot.h" #include "exec/address-spaces.h" #include "hw/arm/msf2-soc.h"
hw/arm/musicpal.c +1 -0
@@ -22,6 +22,7 @@#include "hw/hw.h" #include "qemu/timer.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "hw/block/flash.h" #include "ui/console.h" #include "hw/i2c/i2c.h"
hw/arm/netduino2.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "hw/arm/stm32f205_soc.h" #include "hw/arm/boot.h"
hw/arm/nseries.c +1 -0
@@ -35,6 +35,7 @@#include "hw/input/tsc2xxx.h" #include "hw/misc/cbus.h" #include "hw/misc/tmp105.h" +#include "hw/qdev-properties.h" #include "hw/block/flash.h" #include "hw/hw.h" #include "hw/bt.h"
hw/arm/omap1.c +1 -0
@@ -26,6 +26,7 @@#include "hw/boards.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/boot.h" #include "hw/arm/omap.h" #include "sysemu/sysemu.h"
hw/arm/omap2.c +1 -0
@@ -26,6 +26,7 @@#include "sysemu/reset.h" #include "hw/boards.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/boot.h" #include "hw/arm/omap.h" #include "sysemu/sysemu.h"
hw/arm/pxa2xx.c +1 -0
@@ -20,6 +20,7 @@#include "hw/char/serial.h" #include "hw/i2c/i2c.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/ssi/ssi.h" #include "chardev/char-fe.h" #include "sysemu/blockdev.h"
hw/arm/pxa2xx_gpio.c +1 -0
@@ -11,6 +11,7 @@#include "cpu.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/arm/pxa.h"
hw/arm/sabrelite.c +1 -0
@@ -14,6 +14,7 @@#include "qapi/error.h" #include "hw/arm/fsl-imx6.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "sysemu/qtest.h"
hw/arm/sbsa-ref.c +1 -0
@@ -36,6 +36,7 @@#include "hw/intc/arm_gicv3_common.h" #include "hw/loader.h" #include "hw/pci-host/gpex.h" +#include "hw/qdev-properties.h" #include "hw/usb.h" #include "net/net.h"
hw/arm/spitz.c +1 -0
@@ -16,6 +16,7 @@#include "hw/arm/boot.h" #include "sysemu/sysemu.h" #include "hw/pcmcia.h" +#include "hw/qdev-properties.h" #include "hw/i2c/i2c.h" #include "hw/irq.h" #include "hw/ssi/ssi.h"
hw/arm/stm32f205_soc.c +1 -0
@@ -28,6 +28,7 @@#include "hw/arm/boot.h" #include "exec/address-spaces.h" #include "hw/arm/stm32f205_soc.h" +#include "hw/qdev-properties.h" /* At the moment only Timer 2 to 5 are modelled */ static const uint32_t timer_addr[STM_NUM_TIMERS ] = {0x40000000 ,0x40000400 ,
hw/arm/strongarm.c +1 -0
@@ -32,6 +32,7 @@#include "cpu.h" #include "hw/boards.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "strongarm.h"
hw/arm/virt.c +1 -0
@@ -54,6 +54,7 @@#include "hw/pci-host/gpex.h" #include "hw/arm/sysbus-fdt.h" #include "hw/platform-bus.h" +#include "hw/qdev-properties.h" #include "hw/arm/fdt.h" #include "hw/intc/arm_gic.h" #include "hw/intc/arm_gicv3_common.h"
hw/audio/ac97.c +1 -0
@@ -21,6 +21,7 @@#include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/dma.h"
hw/audio/adlib.c +1 -0
@@ -28,6 +28,7 @@#include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" //#define DEBUG
hw/audio/cs4231a.c +1 -1
@@ -27,7 +27,7 @@#include "audio/audio.h" #include "hw/irq.h" #include "hw/isa/isa.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "qemu/timer.h"
hw/audio/gus.c +1 -0
@@ -29,6 +29,7 @@#include "audio/audio.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "gusemu.h" #include "gustate.h"
hw/audio/hda-codec.c +1 -0
@@ -19,6 +19,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "intel-hda.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/audio/intel-hda.c +1 -0
@@ -19,6 +19,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/pci/msi.h" #include "qemu/timer.h" #include "qemu/bitops.h"
hw/audio/marvell_88w8618.c +1 -0
@@ -14,6 +14,7 @@#include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" #include "qapi/error.h"
hw/audio/pl041.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qemu/log.h" #include "qemu/module.h"
hw/audio/sb16.c +1 -1
@@ -27,7 +27,7 @@#include "audio/audio.h" #include "hw/irq.h" #include "hw/isa/isa.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/timer.h" #include "qemu/host-utils.h"
hw/block/fdc.c +1 -0
@@ -34,6 +34,7 @@#include "qemu/timer.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/block/block.h"
hw/block/m25p80.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "sysemu/block-backend.h" +#include "hw/qdev-properties.h" #include "hw/ssi/ssi.h" #include "migration/vmstate.h" #include "qemu/bitops.h"
hw/block/nand.c +1 -1
@@ -20,9 +20,9 @@#include "qemu/osdep.h" #include "hw/hw.h" +#include "hw/qdev-properties.h" #include "hw/block/flash.h" #include "sysemu/block-backend.h" -#include "hw/qdev.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/error-report.h"
hw/block/nvme.c +1 -0
@@ -30,6 +30,7 @@#include "hw/block/block.h" #include "hw/pci/msix.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/sysemu.h" #include "qapi/error.h"
hw/block/onenand.c +1 -0
@@ -23,6 +23,7 @@#include "hw/hw.h" #include "hw/block/flash.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "sysemu/block-backend.h" #include "exec/memory.h" #include "hw/sysbus.h"
hw/block/pflash_cfi01.c +1 -0
@@ -39,6 +39,7 @@#include "qemu/osdep.h" #include "hw/block/block.h" #include "hw/block/flash.h" +#include "hw/qdev-properties.h" #include "sysemu/block-backend.h" #include "qapi/error.h" #include "qemu/timer.h"
hw/block/pflash_cfi02.c +1 -0
@@ -35,6 +35,7 @@#include "qemu/osdep.h" #include "hw/block/block.h" #include "hw/block/flash.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/bitmap.h" #include "qemu/timer.h"
hw/block/vhost-user-blk.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/cutils.h" #include "qom/object.h" #include "hw/qdev-core.h" +#include "hw/qdev-properties.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-user-blk.h" #include "hw/virtio/virtio.h"
hw/block/virtio-blk.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/error-report.h" #include "trace.h" #include "hw/block/block.h" +#include "hw/qdev-properties.h" #include "sysemu/blockdev.h" #include "hw/virtio/virtio-blk.h" #include "dataplane/virtio-blk.h"
hw/block/xen-block.c +1 -0
@@ -20,6 +20,7 @@#include "qapi/qmp/qstring.h" #include "hw/xen/xen_common.h" #include "hw/block/xen_blkif.h" +#include "hw/qdev-properties.h" #include "hw/xen/xen-block.h" #include "hw/xen/xen-backend.h" #include "sysemu/blockdev.h"
hw/char/bcm2835_aux.c +1 -0
@@ -23,6 +23,7 @@#include "qemu/osdep.h" #include "hw/char/bcm2835_aux.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h"
hw/char/debugcon.c +1 -0
@@ -29,6 +29,7 @@#include "qemu/module.h" #include "chardev/char-fe.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"#define ISA_DEBUGCON_DEVICE (obj) \
hw/char/digic-uart.c +1 -0
@@ -34,6 +34,7 @@#include "qemu/module.h" #include "hw/char/digic-uart.h" +#include "hw/qdev-properties.h" enum {ST_RX_RDY = (1 <<0 ),
hw/char/escc.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/char/etraxfs_ser.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "chardev/char-fe.h" #include "qemu/log.h"
hw/char/exynos4210_uart.c +1 -0
@@ -30,6 +30,7 @@#include "hw/arm/exynos4210.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #undef DEBUG_UART#undef DEBUG_UART_EXTEND
hw/char/grlib_apbuart.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sparc/grlib.h" #include "hw/sysbus.h" #include "qemu/module.h"
hw/char/imx_serial.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/osdep.h" #include "hw/char/imx_serial.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/sysemu.h" #include "qemu/log.h"
hw/char/ipoctal232.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/osdep.h" #include "hw/ipack/ipack.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/bitops.h" #include "qemu/module.h"
hw/char/lm32_juart.c +1 -0
@@ -25,6 +25,7 @@#include "chardev/char-fe.h" #include "hw/char/lm32_juart.h" +#include "hw/qdev-properties.h" enum {LM32_JUART_MIN_SAVE_VERSION =0 ,
hw/char/lm32_uart.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "trace.h"
hw/char/mcf_uart.c +1 -0
@@ -11,6 +11,7 @@#include "hw/sysbus.h" #include "qemu/module.h" #include "hw/m68k/mcf.h" +#include "hw/qdev-properties.h" #include "chardev/char-fe.h" typedef struct {
hw/char/milkymist-uart.c +1 -0
@@ -23,6 +23,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "trace.h"
hw/char/nrf51_uart.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/module.h" #include "hw/char/nrf51_uart.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "trace.h"
hw/char/parallel-isa.c +2 -0
@@ -8,9 +8,11 @@* * SPDX-License-Identifier: MIT */ +#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "hw/char/parallel.h" static void parallel_init (ISABus *bus,int index,Chardev *chr)
hw/char/parallel.c +1 -0
@@ -30,6 +30,7 @@#include "chardev/char-fe.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/char/parallel.h" #include "sysemu/reset.h"
hw/char/sclpconsole-lm.c +1 -1
@@ -14,7 +14,6 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "qemu/thread.h" #include "qemu/error-report.h" #include "qemu/module.h"
@@ -23,6 +22,7 @@#include "hw/s390x/sclp.h" #include "migration/vmstate.h" #include "hw/s390x/event-facility.h" +#include "hw/qdev-properties.h" #include "hw/s390x/ebcdic.h" #define SIZE_BUFFER 4096
hw/char/sclpconsole.c +1 -1
@@ -13,13 +13,13 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "qemu/thread.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "hw/s390x/sclp.h" #include "migration/vmstate.h" +#include "hw/qdev-properties.h" #include "hw/s390x/event-facility.h" #include "chardev/char-fe.h"
hw/char/serial-isa.c +1 -0
@@ -28,6 +28,7 @@#include "qemu/module.h" #include "hw/char/serial.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define ISA_SERIAL (obj) OBJECT_CHECK(ISASerialState, (obj), TYPE_ISA_SERIAL)
hw/char/serial-pci-multi.c +1 -0
@@ -32,6 +32,7 @@#include "hw/char/serial.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define PCI_SERIAL_MAX_PORTS 4
hw/char/serial-pci.c +1 -0
@@ -31,6 +31,7 @@#include "hw/char/serial.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" typedef struct PCISerialState {
hw/char/spapr_vty.c +1 -1
@@ -3,12 +3,12 @@#include "qemu/module.h" #include "qapi/error.h" #include "cpu.h" -#include "hw/qdev.h" #include "migration/vmstate.h" #include "chardev/char-fe.h" #include "hw/irq.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" #define VTERM_BUFSIZE 16
hw/char/stm32f2xx_usart.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/char/stm32f2xx_usart.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h"
hw/char/terminal3270.c +1 -0
@@ -15,6 +15,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "chardev/char-fe.h" +#include "hw/qdev-properties.h" #include "hw/s390x/3270-ccw.h" /* Enough spaces for different window sizes. */
hw/char/virtio-console.c +1 -0
@@ -15,6 +15,7 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "trace.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-serial.h" #include "qapi/error.h" #include "qapi/qapi-events-char.h"
hw/char/virtio-serial-bus.c +1 -0
@@ -27,6 +27,7 @@#include "monitor/monitor.h" #include "qemu/error-report.h" #include "qemu/queue.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "trace.h" #include "hw/virtio/virtio-serial.h"
hw/char/xilinx_uartlite.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qemu/module.h" #include "chardev/char-fe.h"
hw/core/bus.c +1 -1
@@ -18,9 +18,9 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "qemu/ctype.h" #include "qemu/module.h" -#include "hw/qdev.h" #include "qapi/error.h" void qbus_set_hotplug_handler (BusState *bus,Object *handler,Error **errp)
hw/core/generic-loader.c +1 -0
@@ -36,6 +36,7 @@#include "sysemu/dma.h" #include "sysemu/reset.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/module.h" #include "hw/core/generic-loader.h"
hw/core/or-irq.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/or-irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/core/platform-bus.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/osdep.h" #include "hw/platform-bus.h" +#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "sysemu/sysemu.h"
hw/core/qdev-fw.c +1 -1
@@ -16,8 +16,8 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "hw/fw-path-provider.h" +#include "hw/qdev-core.h" const char *qdev_fw_name (DeviceState *dev) {
hw/core/qdev-properties-system.c +1 -1
@@ -12,7 +12,7 @@#include "qemu/osdep.h" #include "net/net.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "sysemu/block-backend.h"
hw/core/qdev-properties.c +1 -1
@@ -1,6 +1,6 @@#include "qemu/osdep.h" #include "net/net.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "hw/pci/pci.h" #include "qapi/qapi-types-block.h"
hw/core/qdev.c +1 -1
@@ -26,7 +26,6 @@this API directly. */ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "sysemu/sysemu.h" #include "qapi/error.h" #include "qapi/qapi-events-qdev.h"
@@ -36,6 +35,7 @@#include "qemu/option.h" #include "hw/hotplug.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/boards.h" #include "hw/sysbus.h" #include "migration/vmstate.h"
hw/core/register.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "hw/register.h" -#include "hw/qdev.h" #include "qemu/log.h" #include "qemu/module.h"
hw/core/split-irq.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/core/split-irq.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/module.h"
hw/core/vm-change-state-handler.c +1 -1
@@ -16,7 +16,7 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" +#include "hw/qdev-core.h" static int qdev_get_dev_tree_depth (DeviceState *dev) {
hw/cpu/a15mpcore.c +1 -0
@@ -23,6 +23,7 @@#include "qemu/module.h" #include "hw/cpu/a15mpcore.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "sysemu/kvm.h" #include "kvm_arm.h"
hw/cpu/a9mpcore.c +1 -0
@@ -13,6 +13,7 @@#include "qemu/module.h" #include "hw/cpu/a9mpcore.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qom/cpu.h" static void a9mp_priv_set_irq (void *opaque,int irq,int level)
hw/cpu/arm11mpcore.c +1 -0
@@ -13,6 +13,7 @@#include "hw/cpu/arm11mpcore.h" #include "hw/intc/realview_gic.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" static void mpcore_priv_set_irq (void *opaque,int irq,int level)
hw/cpu/cluster.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/cpu/cluster.h" +#include "hw/qdev-properties.h" #include "qom/cpu.h" #include "qapi/error.h" #include "qemu/module.h"
hw/cpu/realview_mpcore.c +1 -0
@@ -14,6 +14,7 @@#include "hw/cpu/arm11mpcore.h" #include "hw/intc/realview_gic.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #define TYPE_REALVIEW_MPCORE_RIRQ "realview_mpcore"#define REALVIEW_MPCORE_RIRQ (obj) \
hw/display/ati.c +1 -0
@@ -19,6 +19,7 @@#include "qemu/osdep.h" #include "ati_int.h" #include "ati_regs.h" +#include "hw/qdev-properties.h" #include "vga_regs.h" #include "qemu/log.h" #include "qemu/module.h"
hw/display/bcm2835_fb.c +1 -0
@@ -31,6 +31,7 @@#include "framebuffer.h" #include "ui/pixel_ops.h" #include "hw/misc/bcm2835_mbox_defs.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h"
hw/display/bochs-display.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/module.h" #include "qemu/units.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/display/bochs-vbe.h" #include "hw/display/edid.h"
hw/display/cg3.c +1 -0
@@ -32,6 +32,7 @@#include "migration/vmstate.h" #include "hw/irq.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h"
hw/display/cirrus_vga.c +1 -0
@@ -39,6 +39,7 @@#include "qapi/error.h" #include "trace.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "ui/pixel_ops.h" #include "cirrus_vga_internal.h"
hw/display/cirrus_vga_isa.c +1 -0
@@ -27,6 +27,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "hw/isa/isa.h" #include "cirrus_vga_internal.h"
hw/display/g364fb.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/units.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "ui/console.h"
hw/display/i2c-ddc.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/log.h" #include "qemu/module.h" #include "hw/i2c/i2c.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/display/i2c-ddc.h"
hw/display/milkymist-vgafb.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/hw.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "trace.h" #include "ui/console.h"
hw/display/qxl.c +1 -0
@@ -29,6 +29,7 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "sysemu/sysemu.h" +#include "hw/qdev-properties.h" #include "migration/blocker.h" #include "migration/vmstate.h" #include "trace.h"
hw/display/ramfb-standalone.c +1 -0
@@ -2,6 +2,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "hw/isa/isa.h" #include "hw/display/ramfb.h" #include "ui/console.h"
hw/display/sm501.c +1 -0
@@ -34,6 +34,7 @@#include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/i2c/i2c.h" #include "hw/display/i2c-ddc.h" #include "qemu/range.h"
hw/display/tcx.c +1 -0
@@ -28,6 +28,7 @@#include "ui/console.h" #include "ui/pixel_ops.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/error-report.h"
hw/display/vga-isa.c +1 -0
@@ -31,6 +31,7 @@#include "qemu/module.h" #include "qemu/timer.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #define TYPE_ISA_VGA "isa-vga"#define ISA_VGA (obj) OBJECT_CHECK(ISAVGAState, (obj), TYPE_ISA_VGA)
hw/display/vga-pci.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "vga_int.h" #include "ui/pixel_ops.h"
hw/display/vhost-user-gpu.c +1 -0
@@ -11,6 +11,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-gpu.h" #include "chardev/char-fe.h" #include "qapi/error.h"
hw/display/virtio-gpu-pci.c +1 -0
@@ -15,6 +15,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-gpu-pci.h"
hw/display/virtio-gpu.c +1 -0
@@ -24,6 +24,7 @@#include "hw/virtio/virtio-gpu-pixman.h" #include "hw/virtio/virtio-bus.h" #include "hw/display/edid.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" #include "qapi/error.h"
hw/display/virtio-vga.c +1 -0
@@ -1,5 +1,6 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-gpu.h" #include "qapi/error.h" #include "qemu/module.h"
hw/display/vmware_vga.c +1 -0
@@ -30,6 +30,7 @@#include "trace.h" #include "ui/vnc.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #undef VERBOSE
hw/dma/i82374.c +1 -0
@@ -26,6 +26,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/dma/i8257.h"
hw/dma/i8257.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/dma/i8257.h" #include "qemu/main-loop.h"
hw/dma/pl080.c +1 -0
@@ -16,6 +16,7 @@#include "hw/dma/pl080.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #define PL080_CONF_E 0x1
hw/dma/pl330.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qapi/error.h"
hw/dma/pxa2xx_dma.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/pxa.h" #include "hw/sysbus.h" #include "migration/vmstate.h"
hw/dma/sparc32_dma.c +1 -0
@@ -27,6 +27,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sparc/sparc32_dma.h" #include "hw/sparc/sun4m_iommu.h" #include "hw/sysbus.h"
hw/dma/xilinx_axidma.c +1 -0
@@ -29,6 +29,7 @@#include "hw/hw.h" #include "hw/irq.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/module.h"
hw/dma/xlnx-zdma.c +1 -0
@@ -29,6 +29,7 @@#include "qemu/osdep.h" #include "hw/dma/xlnx-zdma.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/bitops.h" #include "qemu/log.h"
hw/gpio/imx_gpio.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/gpio/imx_gpio.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h"
hw/gpio/max7310.c +1 -0
@@ -10,6 +10,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" +#include "hw/hw.h" #include "hw/irq.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/gpio/omap_gpio.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/omap.h" #include "hw/sysbus.h" #include "qemu/error-report.h"
hw/hyperv/hyperv_testdev.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/queue.h" -#include "hw/qdev.h" #include "hw/isa/isa.h" #include "hw/hyperv/hyperv.h"
hw/i2c/core.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "trace.h"
hw/i2c/omap_i2c.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/module.h" #include "hw/i2c/i2c.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/omap.h" #include "hw/sysbus.h" #include "qemu/error-report.h"
hw/i2c/smbus_eeprom.c +1 -0
@@ -28,6 +28,7 @@#include "hw/boards.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus_slave.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/i2c/smbus_eeprom.h"
hw/i386/intel_iommu.c +1 -0
@@ -28,6 +28,7 @@#include "intel_iommu_internal.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" +#include "hw/qdev-properties.h" #include "hw/i386/pc.h" #include "hw/i386/apic-msidef.h" #include "hw/boards.h"
hw/i386/kvm/clock.c +1 -0
@@ -24,6 +24,7 @@#include "migration/vmstate.h" #include "hw/sysbus.h" #include "hw/kvm/clock.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include <linux/kvm.h>
hw/i386/kvm/ioapic.c +1 -0
@@ -14,6 +14,7 @@#include "monitor/monitor.h" #include "hw/i386/pc.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/i386/ioapic_internal.h" #include "hw/i386/apic_internal.h" #include "sysemu/kvm.h"
hw/i386/pc_q35.c +1 -0
@@ -40,6 +40,7 @@#include "kvm_i386.h" #include "hw/kvm/clock.h" #include "hw/pci-host/q35.h" +#include "hw/qdev-properties.h" #include "exec/address-spaces.h" #include "hw/i386/pc.h" #include "hw/i386/ich9.h"
hw/i386/pc_sysfw.c +1 -0
@@ -34,6 +34,7 @@#include "hw/i386/pc.h" #include "hw/boards.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "hw/block/flash.h" #include "sysemu/kvm.h"
hw/i386/vmmouse.c +1 -1
@@ -26,7 +26,7 @@#include "ui/console.h" #include "hw/i386/pc.h" #include "hw/input/i8042.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" /* debug only vmmouse */
hw/i386/vmport.c +0 -1
@@ -26,7 +26,6 @@#include "hw/i386/pc.h" #include "hw/input/i8042.h" #include "sysemu/hw_accel.h" -#include "hw/qdev.h" #include "qemu/log.h" #include "trace.h"
hw/i386/x86-iommu.c +1 -0
@@ -21,6 +21,7 @@#include "hw/sysbus.h" #include "hw/boards.h" #include "hw/i386/x86-iommu.h" +#include "hw/qdev-properties.h" #include "hw/i386/pc.h" #include "qapi/error.h" #include "qemu/error-report.h"
hw/i386/xen/xen_pvdevice.c +1 -0
@@ -33,6 +33,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "trace.h"
hw/ide/ahci.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/pci/msi.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/error-report.h"
hw/ide/cmd646.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "hw/isa/isa.h"
hw/ide/isa.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/dma.h"
hw/ide/macio.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/ppc/mac.h" #include "hw/ppc/mac_dbdma.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "hw/misc/macio/macio.h"
hw/ide/mmio.c +1 -0
@@ -30,6 +30,7 @@#include "sysemu/dma.h" #include "hw/ide/internal.h" +#include "hw/qdev-properties.h" /***********************************************************/ /* MMIO based ide port
hw/ide/qdev.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/ide/internal.h" +#include "hw/qdev-properties.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "hw/block/block.h"
hw/input/adb.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/input/adb.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h" #include "adb-internal.h"
hw/input/milkymist-softusb.c +1 -0
@@ -29,6 +29,7 @@#include "ui/console.h" #include "hw/input/hid.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h"
hw/input/vhost-user-input.c +0 -1
@@ -9,7 +9,6 @@#include "qapi/error.h" #include "qemu-common.h" -#include "hw/qdev.h" #include "hw/virtio/virtio-input.h" static int vhost_input_config_change (struct vhost_dev *dev)
hw/input/virtio-input-hid.c +1 -1
@@ -8,8 +8,8 @@#include "qemu/iov.h" #include "qemu/module.h" -#include "hw/qdev.h" #include "hw/virtio/virtio.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-input.h" #undef CONFIG_CURSES
hw/input/virtio-input-host.c +1 -1
@@ -9,8 +9,8 @@#include "qemu/module.h" #include "qemu/sockets.h" -#include "hw/qdev.h" #include "hw/virtio/virtio.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-input.h" #include <sys/ioctl.h>
hw/input/virtio-input.c +1 -1
@@ -10,8 +10,8 @@#include "qemu/module.h" #include "trace.h" -#include "hw/qdev.h" #include "hw/virtio/virtio.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-input.h" #include "standard-headers/linux/input.h"
hw/intc/apic_common.c +1 -1
@@ -29,7 +29,7 @@#include "trace.h" #include "sysemu/hax.h" #include "sysemu/kvm.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/qemu-file-types.h" #include "migration/vmstate.h"
hw/intc/arm_gic_common.c +1 -0
@@ -23,6 +23,7 @@#include "qemu/module.h" #include "gic_internal.h" #include "hw/arm/linux-boot-if.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" static int gic_pre_save (void *opaque)
hw/intc/arm_gicv2m.c +1 -0
@@ -30,6 +30,7 @@#include "hw/sysbus.h" #include "hw/irq.h" #include "hw/pci/msi.h" +#include "hw/qdev-properties.h" #include "sysemu/kvm.h" #include "qemu/log.h" #include "qemu/module.h"
hw/intc/arm_gicv3_common.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/module.h" #include "qom/cpu.h" #include "hw/intc/arm_gicv3_common.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "gicv3_internal.h" #include "hw/arm/linux-boot-if.h"
hw/intc/arm_gicv3_its_kvm.c +1 -0
@@ -22,6 +22,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/intc/arm_gicv3_its_common.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h"
hw/intc/armv7m_nvic.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/timer.h" #include "hw/intc/armv7m_nvic.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "target/arm/cpu.h" #include "exec/exec-all.h" #include "qemu/log.h"
hw/intc/etraxfs_pic.c +1 -0
@@ -26,6 +26,7 @@#include "hw/sysbus.h" #include "qemu/module.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" //#include "pc.h" //#include "etraxfs.h"
hw/intc/exynos4210_combiner.c +1 -0
@@ -35,6 +35,7 @@#include "hw/arm/exynos4210.h" #include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" //#define DEBUG_COMBINER
hw/intc/exynos4210_gic.c +1 -0
@@ -25,6 +25,7 @@#include "migration/vmstate.h" #include "qemu/module.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/exynos4210.h" enum ExtGicId {
hw/intc/grlib_irqmp.c +1 -0
@@ -28,6 +28,7 @@#include "hw/sysbus.h" #include "cpu.h" +#include "hw/qdev-properties.h" #include "hw/sparc/grlib.h" #include "trace.h"
hw/intc/i8259_common.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/i386/pc.h" #include "hw/isa/i8259_internal.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "monitor/monitor.h"
hw/intc/ioapic.c +1 -0
@@ -28,6 +28,7 @@#include "hw/i386/ioapic.h" #include "hw/i386/ioapic_internal.h" #include "hw/pci/msi.h" +#include "hw/qdev-properties.h" #include "sysemu/kvm.h" #include "hw/i386/apic-msidef.h" #include "hw/i386/x86-iommu.h"
hw/intc/mips_gic.c +1 -0
@@ -21,6 +21,7 @@#include "kvm_mips.h" #include "hw/intc/mips_gic.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" static void mips_gic_set_vp_irq (MIPSGICState *gic,int vp,int pin) {
hw/intc/omap_intc.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/arm/omap.h" #include "hw/sysbus.h" #include "qemu/error-report.h"
hw/intc/ompic.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/module.h" #include "qapi/error.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "exec/memory.h"
hw/intc/openpic.c +1 -0
@@ -40,6 +40,7 @@#include "hw/pci/pci.h" #include "hw/ppc/openpic.h" #include "hw/ppc/ppc_e500.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/pci/msi.h"
hw/intc/openpic_kvm.c +1 -0
@@ -30,6 +30,7 @@#include "hw/ppc/openpic.h" #include "hw/ppc/openpic_kvm.h" #include "hw/pci/msi.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "sysemu/kvm.h" #include "qemu/log.h"
hw/intc/pnv_xive.c +1 -0
@@ -22,6 +22,7 @@#include "hw/ppc/pnv_xscom.h" #include "hw/ppc/pnv_xive.h" #include "hw/ppc/xive_regs.h" +#include "hw/qdev-properties.h" #include "hw/ppc/ppc.h" #include <libfdt.h>
hw/intc/realview_gic.c +1 -0
@@ -12,6 +12,7 @@#include "qemu/module.h" #include "hw/intc/realview_gic.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" static void realview_gic_set_irq (void *opaque,int irq,int level) {
hw/intc/s390_flic.c +1 -1
@@ -17,10 +17,10 @@#include "hw/sysbus.h" #include "hw/s390x/ioinst.h" #include "hw/s390x/s390_flic.h" +#include "hw/qdev-properties.h" #include "hw/s390x/css.h" #include "trace.h" #include "cpu.h" -#include "hw/qdev.h" #include "qapi/error.h" #include "hw/s390x/s390-virtio-ccw.h"
hw/intc/spapr_xive.c +1 -0
@@ -23,6 +23,7 @@#include "hw/ppc/spapr_xive.h" #include "hw/ppc/xive.h" #include "hw/ppc/xive_regs.h" +#include "hw/qdev-properties.h" /* * XIVE Virtualization Controller BAR and Thread Managment BAR that we
hw/intc/xics.c +1 -0
@@ -31,6 +31,7 @@#include "trace.h" #include "qemu/timer.h" #include "hw/ppc/xics.h" +#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "qapi/visitor.h"
hw/intc/xilinx_intc.c +1 -0
@@ -26,6 +26,7 @@#include "hw/sysbus.h" #include "qemu/module.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #define D (x)
hw/intc/xlnx-pmu-iomod-intc.c +1 -0
@@ -33,6 +33,7 @@#include "qemu/module.h" #include "hw/intc/xlnx-pmu-iomod-intc.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #ifndef XLNX_PMU_IO_INTC_ERR_DEBUG #define XLNX_PMU_IO_INTC_ERR_DEBUG 0
hw/ipack/ipack.c +1 -0
@@ -13,6 +13,7 @@#include "qemu/module.h" #include "hw/ipack/ipack.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" IPackDevice *ipack_device_find (IPackBus *bus,int32_t slot)
hw/ipmi/ipmi.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/ipmi/ipmi.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "qapi/error.h"
hw/ipmi/ipmi_bmc_extern.c +1 -0
@@ -35,6 +35,7 @@#include "chardev/char-fe.h" #include "sysemu/sysemu.h" #include "hw/ipmi/ipmi.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define VM_MSG_CHAR 0xA0/* Marks end of message */
hw/ipmi/ipmi_bmc_sim.c +1 -0
@@ -29,6 +29,7 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define IPMI_NETFN_CHASSIS 0x00
hw/ipmi/isa_ipmi_bt.c +1 -0
@@ -29,6 +29,7 @@#include "hw/ipmi/ipmi.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" /* Control register */
hw/ipmi/isa_ipmi_kcs.c +1 -0
@@ -29,6 +29,7 @@#include "hw/ipmi/ipmi.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define IPMI_KCS_OBF_BIT 0
hw/isa/isa-superio.c +1 -0
@@ -18,6 +18,7 @@#include "sysemu/blockdev.h" #include "chardev/char.h" #include "hw/isa/superio.h" +#include "hw/qdev-properties.h" #include "hw/input/i8042.h" #include "hw/char/serial.h" #include "trace.h"
hw/isa/lpc_ich9.c +1 -0
@@ -45,6 +45,7 @@#include "hw/acpi/acpi.h" #include "hw/acpi/ich9.h" #include "hw/pci/pci_bus.h" +#include "hw/qdev-properties.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "qom/cpu.h"
hw/isa/pc87312.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/isa/pc87312.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/error-report.h"
hw/isa/vt82c686.c +1 -0
@@ -14,6 +14,7 @@#include "hw/isa/vt82c686.h" #include "hw/i2c/i2c.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/isa/isa.h" #include "hw/isa/superio.h" #include "hw/sysbus.h"
hw/lm32/milkymist.c +1 -0
@@ -30,6 +30,7 @@#include "sysemu/reset.h" #include "hw/boards.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "elf.h" #include "milkymist-hw.h" #include "hw/display/milkymist_tmu2.h"
hw/mem/memory-device.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "hw/mem/memory-device.h" -#include "hw/qdev.h" #include "qapi/error.h" #include "hw/boards.h" #include "qemu/range.h"
hw/mem/nvdimm.c +1 -0
@@ -28,6 +28,7 @@#include "qapi/error.h" #include "qapi/visitor.h" #include "hw/mem/nvdimm.h" +#include "hw/qdev-properties.h" #include "hw/mem/memory-device.h" static void nvdimm_get_label_size(Object *obj, Visitor *v, const char *name,
hw/mem/pc-dimm.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/mem/pc-dimm.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/mem/nvdimm.h" #include "hw/mem/memory-device.h"
hw/microblaze/petalogix_ml605_mmu.c +1 -0
@@ -35,6 +35,7 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/char/serial.h" +#include "hw/qdev-properties.h" #include "exec/address-spaces.h" #include "hw/ssi/ssi.h"
hw/microblaze/xlnx-zynqmp-pmu.c +0 -1
@@ -19,7 +19,6 @@#include "qapi/error.h" #include "exec/address-spaces.h" #include "hw/boards.h" -#include "hw/qdev-properties.h" #include "cpu.h" #include "boot.h"
hw/mips/boston.c +1 -0
@@ -30,6 +30,7 @@#include "hw/mips/cps.h" #include "hw/mips/cpudevs.h" #include "hw/pci-host/xilinx-pcie.h" +#include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/log.h"
hw/mips/cps.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/module.h" #include "hw/mips/cps.h" #include "hw/mips/mips.h" +#include "hw/qdev-properties.h" #include "hw/mips/cpudevs.h" #include "sysemu/kvm.h" #include "sysemu/reset.h"
hw/misc/a9scu.c +1 -0
@@ -10,6 +10,7 @@#include "qemu/osdep.h" #include "hw/misc/a9scu.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/misc/applesmc.c +1 -0
@@ -32,6 +32,7 @@#include "qemu/osdep.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "ui/console.h" #include "qemu/module.h" #include "qemu/timer.h"
hw/misc/arm11scu.c +1 -0
@@ -10,6 +10,7 @@#include "qemu/osdep.h" #include "hw/misc/arm11scu.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h"
hw/misc/arm_l2x0.c +1 -0
@@ -19,6 +19,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/log.h"
hw/misc/arm_sysctl.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "qemu/timer.h" #include "qemu/bitops.h" #include "hw/sysbus.h"
hw/misc/armsse-cpuid.c +1 -0
@@ -27,6 +27,7 @@#include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/armsse-cpuid.h" +#include "hw/qdev-properties.h" REG32(CPUID, 0x0)REG32 (PID4 ,0xfd0 )
hw/misc/bcm2835_property.c +1 -0
@@ -6,6 +6,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/misc/bcm2835_property.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/irq.h" #include "hw/misc/bcm2835_mbox_defs.h"
hw/misc/debugexit.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "qemu/module.h" #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"
hw/misc/eccmemctl.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/misc/iotkit-sysctl.c +1 -0
@@ -27,6 +27,7 @@#include "migration/vmstate.h" #include "hw/registerfields.h" #include "hw/misc/iotkit-sysctl.h" +#include "hw/qdev-properties.h" #include "target/arm/arm-powerctl.h" #include "target/arm/cpu.h"
hw/misc/iotkit-sysinfo.c +1 -0
@@ -26,6 +26,7 @@#include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/iotkit-sysinfo.h" +#include "hw/qdev-properties.h" REG32(SYS_VERSION, 0x0)REG32 (SYS_CONFIG ,0x4 )
hw/misc/ivshmem.c +1 -0
@@ -22,6 +22,7 @@#include "qapi/error.h" #include "qemu/cutils.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "sysemu/kvm.h"
hw/misc/macio/cuda.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/input/adb.h" #include "hw/misc/mos6522.h"
hw/misc/macio/gpio.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/misc/macio/macio.h" #include "hw/misc/macio/gpio.h"
hw/misc/macio/macio.c +1 -0
@@ -30,6 +30,7 @@#include "hw/misc/macio/cuda.h" #include "hw/pci/pci.h" #include "hw/ppc/mac_dbdma.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h"
hw/misc/macio/pmu.c +1 -0
@@ -31,6 +31,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/input/adb.h" #include "hw/irq.h"
hw/misc/mips_cmgcr.c +1 -0
@@ -17,6 +17,7 @@#include "sysemu/sysemu.h" #include "hw/misc/mips_cmgcr.h" #include "hw/misc/mips_cpc.h" +#include "hw/qdev-properties.h" #include "hw/intc/mips_gic.h" static inline bool is_cpc_connected (MIPSGCRState *s)
hw/misc/mips_cpc.c +1 -0
@@ -26,6 +26,7 @@#include "migration/vmstate.h" #include "hw/misc/mips_cpc.h" +#include "hw/qdev-properties.h" static inline uint64_t cpc_vp_run_mask (MIPSCPCState *cpc) {
hw/misc/mips_itu.c +1 -0
@@ -25,6 +25,7 @@#include "cpu.h" #include "exec/exec-all.h" #include "hw/misc/mips_itu.h" +#include "hw/qdev-properties.h" #define ITC_TAG_ADDRSPACE_SZ (ITC_ADDRESSMAP_NUM * 8)/* Initialize as 4kB area to fit all 32 cells with default 128B grain.
hw/misc/mos6522.c +1 -0
@@ -28,6 +28,7 @@#include "hw/input/adb.h" #include "hw/irq.h" #include "hw/misc/mos6522.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/timer.h" #include "sysemu/sysemu.h"
hw/misc/mps2-fpgaio.c +1 -0
@@ -24,6 +24,7 @@#include "migration/vmstate.h" #include "hw/registerfields.h" #include "hw/misc/mps2-fpgaio.h" +#include "hw/qdev-properties.h" #include "qemu/timer.h" REG32 (LED0 ,0 )
hw/misc/mps2-scc.c +1 -0
@@ -25,6 +25,7 @@#include "migration/vmstate.h" #include "hw/registerfields.h" #include "hw/misc/mps2-scc.h" +#include "hw/qdev-properties.h" REG32(CFG0, 0)REG32 (CFG1 ,4 )
hw/misc/msf2-sysreg.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/log.h" #include "qemu/module.h" #include "hw/misc/msf2-sysreg.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/error-report.h" #include "trace.h"
hw/misc/nrf51_rng.c +1 -0
@@ -16,6 +16,7 @@#include "hw/arm/nrf51.h" #include "hw/irq.h" #include "hw/misc/nrf51_rng.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/guest-random.h"
hw/misc/pc-testdev.c +0 -1
@@ -36,7 +36,6 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "qemu/module.h" #include "hw/irq.h" #include "hw/isa/isa.h"
hw/misc/pci-testdev.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "qemu/event_notifier.h" #include "qemu/module.h" #include "sysemu/kvm.h"
hw/misc/pvpanic.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/module.h" #include "hw/nvram/fw_cfg.h" +#include "hw/qdev-properties.h" #include "hw/misc/pvpanic.h" /* The bit of supported pv event */
hw/misc/tz-mpc.c +1 -0
@@ -19,6 +19,7 @@#include "hw/registerfields.h" #include "hw/irq.h" #include "hw/misc/tz-mpc.h" +#include "hw/qdev-properties.h" /* Our IOMMU has two IOMMU indexes, one for secure transactions and one for * non-secure transactions.
hw/misc/tz-msc.c +1 -0
@@ -19,6 +19,7 @@#include "hw/registerfields.h" #include "hw/irq.h" #include "hw/misc/tz-msc.h" +#include "hw/qdev-properties.h" static void tz_msc_update_irq (TZMSC *s) {
hw/misc/tz-ppc.c +1 -0
@@ -19,6 +19,7 @@#include "hw/registerfields.h" #include "hw/irq.h" #include "hw/misc/tz-ppc.h" +#include "hw/qdev-properties.h" static void tz_ppc_update_irq (TZPPC *s) {
hw/net/allwinner_emac.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/fifo8.h" #include "hw/irq.h" #include "hw/net/allwinner_emac.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" #include <zlib.h>
hw/net/cadence_gem.c +1 -0
@@ -27,6 +27,7 @@#include "hw/irq.h" #include "hw/net/cadence_gem.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/log.h"
hw/net/can/can_kvaser_pci.c +1 -0
@@ -38,6 +38,7 @@#include "chardev/char.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/can_emu.h"
hw/net/can/can_mioe3680_pci.c +1 -0
@@ -34,6 +34,7 @@#include "chardev/char.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/can_emu.h"
hw/net/can/can_pcm3680_pci.c +1 -0
@@ -34,6 +34,7 @@#include "chardev/char.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/can_emu.h"
hw/net/dp8393x.c +1 -0
@@ -19,6 +19,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "net/net.h"
hw/net/e1000.c +1 -0
@@ -27,6 +27,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/net.h" #include "net/checksum.h"
hw/net/e1000e.c +1 -0
@@ -43,6 +43,7 @@#include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "e1000_regs.h"
hw/net/eepro100.c +1 -0
@@ -43,6 +43,7 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/net.h" #include "net/eth.h"
hw/net/fsl_etsec/etsec.c +1 -0
@@ -31,6 +31,7 @@#include "hw/sysbus.h" #include "hw/irq.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "etsec.h" #include "registers.h" #include "qemu/log.h"
hw/net/ftgmac100.c +1 -0
@@ -20,6 +20,7 @@#include "net/checksum.h" #include "net/eth.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" /* For crc32 */
hw/net/imx_fec.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/net/imx_fec.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/dma.h" #include "qemu/log.h"
hw/net/lan9118.c +1 -0
@@ -20,6 +20,7 @@#include "hw/net/lan9118.h" #include "sysemu/sysemu.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/module.h"
hw/net/lance.c +1 -0
@@ -41,6 +41,7 @@#include "hw/sparc/sparc32_dma.h" #include "migration/vmstate.h" #include "hw/net/lance.h" +#include "hw/qdev-properties.h" #include "trace.h" #include "sysemu/sysemu.h"
hw/net/mcf_fec.c +1 -0
@@ -14,6 +14,7 @@#include "hw/m68k/mcf.h" #include "hw/m68k/mcf_fec.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" /* For crc32 */ #include <zlib.h>
hw/net/milkymist-minimac2.c +1 -0
@@ -26,6 +26,7 @@#include "qapi/error.h" #include "cpu.h" /* FIXME: why does this use TARGET_PAGE_ALIGN? */ #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "trace.h"
hw/net/mipsnet.c +1 -0
@@ -1,5 +1,6 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "net/net.h" #include "qemu/module.h" #include "trace.h"
hw/net/ne2000-isa.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/net/ne2000-isa.h" -#include "hw/qdev.h" #include "migration/vmstate.h" #include "ne2000.h" #include "sysemu/sysemu.h"
hw/net/ne2000-pci.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "ne2000.h" #include "sysemu/sysemu.h"
hw/net/opencores_eth.c +1 -0
@@ -34,6 +34,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "net/net.h" #include "qemu/module.h"
hw/net/pcnet-pci.c +1 -0
@@ -30,6 +30,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/net.h" #include "qemu/module.h"
hw/net/pcnet.c +1 -1
@@ -38,7 +38,7 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "hw/irq.h" -#include "hw/qdev.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "net/net.h" #include "net/eth.h"
hw/net/rocker/rocker.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/pci/msix.h" #include "net/net.h"
hw/net/rtl8139.c +1 -0
@@ -54,6 +54,7 @@#include <zlib.h> #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/dma.h" #include "qemu/module.h"
hw/net/smc91c111.c +1 -0
@@ -13,6 +13,7 @@#include "net/net.h" #include "hw/irq.h" #include "hw/net/smc91c111.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" /* For crc32 */
hw/net/spapr_llan.c +1 -1
@@ -31,10 +31,10 @@#include "qemu/log.h" #include "qemu/module.h" #include "net/net.h" -#include "hw/qdev.h" #include "migration/vmstate.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "trace.h"
hw/net/stellaris_enet.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "net/net.h"
hw/net/sungem.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h"
hw/net/sunhme.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/net/mii.h" #include "net/net.h"
hw/net/virtio-net.c +1 -0
@@ -27,6 +27,7 @@#include "hw/virtio/virtio-bus.h" #include "qapi/error.h" #include "qapi/qapi-events-net.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "migration/misc.h" #include "standard-headers/linux/ethtool.h"
hw/net/vmxnet3.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "net/tap.h" #include "net/checksum.h" #include "sysemu/sysemu.h"
hw/net/xgmac.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/log.h"
hw/net/xilinx_axienet.c +2 -0
@@ -23,6 +23,7 @@*/ #include "qemu/osdep.h" +#include "hw/hw.h" #include "hw/sysbus.h" #include "qapi/error.h" #include "qemu/log.h"
@@ -32,6 +33,7 @@#include "hw/hw.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/stream.h" #define DPHY (x)
hw/net/xilinx_ethlite.c +1 -0
@@ -27,6 +27,7 @@#include "cpu.h" /* FIXME should not use tswap* */ #include "hw/sysbus.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "net/net.h" #define D (x)
hw/nios2/10m50_devboard.c +1 -0
@@ -28,6 +28,7 @@#include "hw/sysbus.h" #include "hw/char/serial.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/memory.h"
hw/nvram/ds1225y.c +1 -0
@@ -23,6 +23,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "trace.h"
hw/nvram/eeprom_at24c.c +1 -0
@@ -12,6 +12,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/i2c/i2c.h" +#include "hw/qdev-properties.h" #include "sysemu/block-backend.h" /* #define DEBUG_AT24C */
hw/nvram/fw_cfg.c +1 -0
@@ -29,6 +29,7 @@#include "sysemu/reset.h" #include "hw/boards.h" #include "hw/nvram/fw_cfg.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/qemu-file-types.h" #include "migration/vmstate.h"
hw/nvram/mac_nvram.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/nvram/chrp_nvram.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/cutils.h" #include "qemu/module.h"
hw/nvram/nrf51_nvm.c +1 -0
@@ -24,6 +24,7 @@#include "exec/address-spaces.h" #include "hw/arm/nrf51.h" #include "hw/nvram/nrf51_nvm.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" /*
hw/nvram/spapr_nvram.c +1 -0
@@ -36,6 +36,7 @@#include "hw/nvram/chrp_nvram.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" typedef struct SpaprNvram { SpaprVioDevice sdev;
hw/openrisc/openrisc_sim.c +1 -0
@@ -28,6 +28,7 @@#include "hw/char/serial.h" #include "net/net.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h"
hw/pci-bridge/gen_pcie_root_port.c +1 -0
@@ -15,6 +15,7 @@#include "qemu/module.h" #include "hw/pci/msix.h" #include "hw/pci/pcie_port.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #define TYPE_GEN_PCIE_ROOT_PORT "pcie-root-port"
hw/pci-bridge/pci_bridge_dev.c +1 -0
@@ -27,6 +27,7 @@#include "hw/pci/msi.h" #include "hw/pci/shpc.h" #include "hw/pci/slotid_cap.h" +#include "hw/qdev-properties.h" #include "exec/memory.h" #include "hw/pci/pci_bus.h" #include "hw/hotplug.h"
hw/pci-bridge/pci_expander_bridge.c +1 -0
@@ -15,6 +15,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "hw/pci/pci_bridge.h" #include "qemu/range.h" #include "qemu/error-report.h"
hw/pci-bridge/pcie_pci_bridge.c +1 -0
@@ -16,6 +16,7 @@#include "hw/pci/msi.h" #include "hw/pci/shpc.h" #include "hw/pci/slotid_cap.h" +#include "hw/qdev-properties.h" typedef struct PCIEPCIBridge { /*< private >*/
hw/pci-bridge/pcie_root_port.c +1 -0
@@ -16,6 +16,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "hw/pci/pcie_port.h" +#include "hw/qdev-properties.h" static void rp_aer_vector_update (PCIDevice *d) {
hw/pci-bridge/xio3130_downstream.c +1 -0
@@ -24,6 +24,7 @@#include "hw/pci/msi.h" #include "hw/pci/pcie.h" #include "hw/pci/pcie_port.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/module.h"
hw/pci-host/designware.c +1 -0
@@ -25,6 +25,7 @@#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_host.h" #include "hw/pci/pcie_port.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/irq.h" #include "hw/pci-host/designware.h"
hw/pci-host/gpex.c +1 -0
@@ -33,6 +33,7 @@#include "qapi/error.h" #include "hw/irq.h" #include "hw/pci-host/gpex.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/module.h"
hw/pci-host/grackle.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "hw/pci/pci_host.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "hw/pci/pci.h" #include "hw/intc/heathrow_pic.h" #include "hw/irq.h"
hw/pci-host/piix.c +1 -0
@@ -27,6 +27,7 @@#include "hw/irq.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "hw/isa/isa.h" #include "hw/sysbus.h" #include "qapi/error.h"
hw/pci-host/ppce500.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/ppc/e500-ccsr.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h"
hw/pci-host/prep.c +1 -0
@@ -30,6 +30,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "hw/i386/pc.h" #include "hw/irq.h"
hw/pci-host/q35.c +1 -0
@@ -30,6 +30,7 @@#include "qemu/osdep.h" #include "hw/pci-host/q35.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qapi/visitor.h"
hw/pci-host/sabre.c +1 -0
@@ -28,6 +28,7 @@#include "hw/sysbus.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" #include "hw/irq.h"
hw/pci-host/uninorth.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/ppc/mac.h" +#include "hw/qdev-properties.h" #include "qemu/module.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h"
hw/pci-host/versatile.c +1 -0
@@ -14,6 +14,7 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h"
hw/pci-host/xilinx-pcie.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/units.h" #include "qapi/error.h" #include "hw/pci/pci_bridge.h" +#include "hw/qdev-properties.h" #include "hw/irq.h" #include "hw/pci-host/xilinx-pcie.h"
hw/pci/pci.c +1 -0
@@ -29,6 +29,7 @@#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_host.h" +#include "hw/qdev-properties.h" #include "migration/qemu-file-types.h" #include "migration/vmstate.h" #include "monitor/monitor.h"
hw/pci/pcie_port.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "hw/pci/pcie_port.h" +#include "hw/qdev-properties.h" #include "qemu/module.h" #include "hw/hotplug.h"
hw/ppc/e500.c +1 -0
@@ -33,6 +33,7 @@#include "hw/ppc/openpic.h" #include "hw/ppc/openpic_kvm.h" #include "hw/ppc/ppc.h" +#include "hw/qdev-properties.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h"
hw/ppc/mac_newworld.c +1 -0
@@ -50,6 +50,7 @@#include "qemu-common.h" #include "qapi/error.h" #include "hw/ppc/ppc.h" +#include "hw/qdev-properties.h" #include "hw/ppc/mac.h" #include "hw/input/adb.h" #include "hw/ppc/mac_dbdma.h"
hw/ppc/mac_oldworld.c +1 -0
@@ -29,6 +29,7 @@#include "qemu/units.h" #include "qapi/error.h" #include "hw/ppc/ppc.h" +#include "hw/qdev-properties.h" #include "mac.h" #include "hw/input/adb.h" #include "sysemu/sysemu.h"
hw/ppc/pnv.c +1 -0
@@ -41,6 +41,7 @@#include "target/ppc/mmu-hash64.h" #include "hw/ppc/xics.h" +#include "hw/qdev-properties.h" #include "hw/ppc/pnv_xscom.h" #include "hw/isa/isa.h"
hw/ppc/pnv_core.c +1 -0
@@ -29,6 +29,7 @@#include "hw/ppc/pnv_core.h" #include "hw/ppc/pnv_xscom.h" #include "hw/ppc/xics.h" +#include "hw/qdev-properties.h" static const char *pnv_core_cpu_typename (PnvCore *pc) {
hw/ppc/pnv_psi.c +1 -0
@@ -31,6 +31,7 @@#include "hw/ppc/fdt.h" #include "hw/ppc/pnv.h" #include "hw/ppc/pnv_xscom.h" +#include "hw/qdev-properties.h" #include "hw/ppc/pnv_psi.h" #include <libfdt.h>
hw/ppc/ppc440_uc.c +1 -0
@@ -20,6 +20,7 @@#include "exec/address-spaces.h" #include "exec/memory.h" #include "hw/ppc/ppc.h" +#include "hw/qdev-properties.h" #include "hw/pci/pci.h" #include "sysemu/block-backend.h" #include "sysemu/reset.h"
hw/ppc/prep_systemio.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" /* for error_report() */
hw/ppc/rs6000_mc.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "hw/isa/isa.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/address-spaces.h" #include "hw/boards.h"
hw/ppc/sam460ex.c +1 -0
@@ -37,6 +37,7 @@#include "hw/i2c/smbus_eeprom.h" #include "hw/usb/hcd-ehci.h" #include "hw/ppc/fdt.h" +#include "hw/qdev-properties.h" #include <libfdt.h>
hw/ppc/spapr.c +1 -0
@@ -56,6 +56,7 @@#include "hw/ppc/fdt.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" #include "hw/pci-host/spapr.h" #include "hw/pci/msi.h"
hw/ppc/spapr_cpu_core.c +1 -0
@@ -10,6 +10,7 @@#include "qemu/osdep.h" #include "hw/cpu/core.h" #include "hw/ppc/spapr_cpu_core.h" +#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "target/ppc/cpu.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_drc.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/cutils.h" #include "hw/ppc/spapr_drc.h" #include "qom/object.h" -#include "hw/qdev.h" #include "migration/vmstate.h" #include "qapi/visitor.h" #include "qemu/error-report.h"
hw/ppc/spapr_events.c +0 -1
@@ -29,7 +29,6 @@#include "qapi/error.h" #include "cpu.h" #include "sysemu/sysemu.h" -#include "hw/qdev.h" #include "sysemu/device_tree.h" #include "hw/ppc/fdt.h"
hw/ppc/spapr_iommu.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/log.h" #include "qemu/module.h" #include "sysemu/kvm.h" -#include "hw/qdev.h" #include "kvm_ppc.h" #include "migration/vmstate.h" #include "sysemu/dma.h"
hw/ppc/spapr_irq.c +1 -0
@@ -17,6 +17,7 @@#include "hw/ppc/spapr_xive.h" #include "hw/ppc/xics.h" #include "hw/ppc/xics_spapr.h" +#include "hw/qdev-properties.h" #include "cpu-models.h" #include "sysemu/kvm.h"
hw/ppc/spapr_pci.c +1 -0
@@ -47,6 +47,7 @@#include "hw/pci/pci_bus.h" #include "hw/pci/pci_ids.h" #include "hw/ppc/spapr_drc.h" +#include "hw/qdev-properties.h" #include "sysemu/device_tree.h" #include "sysemu/kvm.h" #include "sysemu/hostmem.h"
hw/ppc/spapr_rng.c +1 -0
@@ -27,6 +27,7 @@#include "sysemu/device_tree.h" #include "sysemu/rng.h" #include "hw/ppc/spapr.h" +#include "hw/qdev-properties.h" #include "kvm_ppc.h" #define SPAPR_RNG (obj) \
hw/ppc/spapr_rtas.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/log.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h" -#include "hw/qdev.h" #include "sysemu/device_tree.h" #include "sysemu/cpus.h" #include "sysemu/hw_accel.h"
hw/ppc/virtex_ml507.c +1 -0
@@ -43,6 +43,7 @@#include "hw/ppc/ppc.h" #include "hw/ppc/ppc4xx.h" +#include "hw/qdev-properties.h" #include "ppc405.h" #define EPAPR_MAGIC (0x45504150)
hw/rdma/vmw/pvrdma_main.c +0 -1
@@ -20,7 +20,6 @@#include "hw/pci/pci_ids.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "hw/qdev-core.h" #include "hw/qdev-properties.h" #include "cpu.h" #include "trace.h"
hw/riscv/riscv_hart.c +1 -0
@@ -24,6 +24,7 @@#include "sysemu/reset.h" #include "hw/sysbus.h" #include "target/riscv/cpu.h" +#include "hw/qdev-properties.h" #include "hw/riscv/riscv_hart.h" static Property riscv_harts_props[] = {
hw/riscv/sifive_clint.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/module.h" #include "hw/sysbus.h" #include "target/riscv/cpu.h" +#include "hw/qdev-properties.h" #include "hw/riscv/sifive_clint.h" #include "qemu/timer.h"
hw/riscv/sifive_plic.c +1 -0
@@ -25,6 +25,7 @@#include "hw/sysbus.h" #include "hw/pci/msi.h" #include "hw/boards.h" +#include "hw/qdev-properties.h" #include "target/riscv/cpu.h" #include "sysemu/sysemu.h" #include "hw/riscv/sifive_plic.h"
hw/riscv/sifive_prci.c +1 -0
@@ -19,6 +19,7 @@*/ #include "qemu/osdep.h" +#include "hw/hw.h" #include "hw/sysbus.h" #include "qemu/module.h" #include "target/riscv/cpu.h"
hw/riscv/sifive_test.c +1 -0
@@ -19,6 +19,7 @@*/ #include "qemu/osdep.h" +#include "hw/hw.h" #include "hw/sysbus.h" #include "qemu/module.h" #include "target/riscv/cpu.h"
hw/s390x/3270-ccw.c +2 -0
@@ -9,12 +9,14 @@* your option) any later version. See the COPYING file in the top-level * directory. */ +#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" #include "cpu.h" #include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" +#include "hw/qdev-properties.h" #include "hw/s390x/3270-ccw.h" /* Handle READ ccw commands from guest */
hw/s390x/ap-device.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "qemu/module.h" #include "qapi/error.h" -#include "hw/qdev.h" #include "hw/s390x/ap-device.h" static void ap_class_init (ObjectClass *klass,void *data)
hw/s390x/ccw-device.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/osdep.h" #include "ccw-device.h" +#include "hw/qdev-properties.h" #include "qemu/module.h" static void ccw_device_refill_ids (CcwDevice *dev)
hw/s390x/css-bridge.c +1 -0
@@ -13,6 +13,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "hw/hotplug.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "qemu/bitops.h" #include "qemu/module.h"
hw/s390x/css.c +1 -1
@@ -12,12 +12,12 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "hw/qdev.h" #include "qemu/bitops.h" #include "qemu/error-report.h" #include "exec/address-spaces.h" #include "cpu.h" #include "hw/s390x/ioinst.h" +#include "hw/qdev-properties.h" #include "hw/s390x/css.h" #include "trace.h" #include "hw/s390x/s390_flic.h"
hw/s390x/ipl.c +1 -0
@@ -20,6 +20,7 @@#include "cpu.h" #include "elf.h" #include "hw/loader.h" +#include "hw/qdev-properties.h" #include "hw/boards.h" #include "hw/s390x/virtio-ccw.h" #include "hw/s390x/vfio-ccw.h"
hw/s390x/s390-pci-bus.c +1 -0
@@ -18,6 +18,7 @@#include "s390-pci-bus.h" #include "s390-pci-inst.h" #include "hw/pci/pci_bus.h" +#include "hw/qdev-properties.h" #include "hw/pci/pci_bridge.h" #include "hw/pci/msi.h" #include "qemu/error-report.h"
hw/s390x/s390-virtio-ccw.c +1 -0
@@ -38,6 +38,7 @@#include "migration/register.h" #include "cpu_models.h" #include "hw/nmi.h" +#include "hw/qdev-properties.h" #include "hw/s390x/tod.h" S390CPU *s390_cpu_addr2state (uint16_t cpu_addr)
hw/s390x/sclpquiesce.c +0 -1
@@ -13,7 +13,6 @@*/ #include "qemu/osdep.h" -#include "hw/qdev.h" #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "migration/vmstate.h"
hw/s390x/vhost-vsock-ccw.c +1 -0
@@ -7,6 +7,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-9p.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-balloon.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-blk.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-crypto.c +1 -0
@@ -9,6 +9,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-gpu.c +1 -0
@@ -9,6 +9,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-input.c +1 -0
@@ -9,6 +9,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-net.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-rng.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-scsi.c +1 -0
@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio.h" #include "qapi/error.h" #include "qemu/module.h"
hw/s390x/virtio-ccw-serial.c +1 -0
@@ -12,6 +12,7 @@#include "qemu/osdep.h" #include "hw/virtio/virtio.h" #include "qemu/module.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-serial.h" #include "virtio-ccw.h"
hw/scsi/megasas.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "sysemu/dma.h" #include "sysemu/block-backend.h" #include "hw/pci/msi.h"
hw/scsi/mptsas.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "sysemu/dma.h" #include "hw/pci/msi.h" #include "qemu/iov.h"
hw/scsi/scsi-bus.c +1 -1
@@ -3,11 +3,11 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qemu/option.h" +#include "hw/qdev-properties.h" #include "hw/scsi/scsi.h" #include "migration/qemu-file-types.h" #include "migration/vmstate.h" #include "scsi/constants.h" -#include "hw/qdev.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "trace.h"
hw/scsi/scsi-disk.c +1 -0
@@ -34,6 +34,7 @@#include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "hw/block/block.h" +#include "hw/qdev-properties.h" #include "sysemu/dma.h" #include "qemu/cutils.h" #include "trace.h"
hw/scsi/scsi-generic.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/module.h" #include "hw/scsi/scsi.h" #include "migration/qemu-file-types.h" +#include "hw/qdev-properties.h" #include "hw/scsi/emulation.h" #include "sysemu/block-backend.h" #include "trace.h"
hw/scsi/spapr_vscsi.c +1 -1
@@ -39,9 +39,9 @@#include "migration/vmstate.h" #include "scsi/constants.h" #include "srp.h" -#include "hw/qdev.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" #include "viosrp.h" #include "trace.h"
hw/scsi/vhost-scsi.c +1 -0
@@ -28,6 +28,7 @@#include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" #include "hw/fw-path-provider.h" +#include "hw/qdev-properties.h" #include "qemu/cutils.h" /* Features supported by host kernel. */
hw/scsi/vhost-user-scsi.c +1 -0
@@ -21,6 +21,7 @@#include "qom/object.h" #include "hw/fw-path-provider.h" #include "hw/qdev-core.h" +#include "hw/qdev-properties.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-backend.h" #include "hw/virtio/vhost-user-scsi.h"
hw/scsi/virtio-scsi.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/iov.h" #include "qemu/module.h" #include "sysemu/block-backend.h" +#include "hw/qdev-properties.h" #include "hw/scsi/scsi.h" #include "scsi/constants.h" #include "hw/virtio/virtio-bus.h"
hw/scsi/vmw_pvscsi.c +1 -0
@@ -33,6 +33,7 @@#include "migration/vmstate.h" #include "scsi/constants.h" #include "hw/pci/msi.h" +#include "hw/qdev-properties.h" #include "vmw_pvscsi.h" #include "trace.h"
hw/sd/milkymist-memcard.c +1 -0
@@ -31,6 +31,7 @@#include "qapi/error.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" +#include "hw/qdev-properties.h" #include "hw/sd/sd.h" enum {
hw/sd/pxa2xx_mmci.c +0 -1
@@ -17,7 +17,6 @@#include "migration/vmstate.h" #include "hw/arm/pxa.h" #include "hw/sd/sd.h" -#include "hw/qdev.h" #include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/log.h"
hw/sd/sd.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "hw/qdev.h" #include "hw/irq.h" #include "hw/registerfields.h" #include "sysemu/block-backend.h"
hw/sd/sdhci-pci.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" +#include "hw/qdev-properties.h" #include "hw/sd/sdhci.h" #include "sdhci-internal.h"
hw/sd/sdhci.c +1 -0
@@ -27,6 +27,7 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "sysemu/dma.h" #include "qemu/timer.h" #include "qemu/bitops.h"
hw/sd/ssi-sd.c +1 -0
@@ -14,6 +14,7 @@#include "sysemu/blockdev.h" #include "hw/ssi/ssi.h" #include "migration/vmstate.h" +#include "hw/qdev-properties.h" #include "hw/sd/sd.h" #include "qapi/error.h" #include "qemu/module.h"
hw/sh4/r2d.c +1 -0
@@ -33,6 +33,7 @@#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "net/net.h" #include "sh7750_regs.h" #include "hw/ide.h"
hw/sparc/leon3.c +1 -0
@@ -31,6 +31,7 @@#include "hw/irq.h" #include "qemu/timer.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/reset.h"
hw/sparc/sun4m.c +1 -0
@@ -41,6 +41,7 @@#include "hw/boards.h" #include "hw/scsi/esp.h" #include "hw/nvram/sun_nvram.h" +#include "hw/qdev-properties.h" #include "hw/nvram/chrp_nvram.h" #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h"
hw/sparc/sun4m_iommu.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sparc/sun4m_iommu.h" #include "hw/sysbus.h"
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.21.0
Part of the diff is not shown here. View the raw message.
PATCH v4 22/29 Include hw/boards.h a bit less
In reply to Markus Armbrusterhw/boards.h pulls in almost 60 headers. The less we include it into headers, the better. As a first step, drop superfluous inclusions, and downgrade some more to what's actually needed. Gets rid of just one inclusion into a header.
--- include/hw/mem/pc-dimm.h | 1 - backends/cryptodev-builtin.c | 1 - backends/cryptodev-vhost-user.c | 1 - backends/cryptodev.c | 1 - hw/acpi/ich9.c | 1 + hw/alpha/dp264.c | 1 - hw/alpha/typhoon.c | 1 + hw/arm/boot.c | 1 - hw/arm/exynos4210.c | 2 +- hw/arm/fsl-imx25.c | 1 - hw/arm/fsl-imx31.c | 1 - hw/arm/msf2-soc.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/omap1.c | 1 + hw/arm/omap2.c | 1 + hw/arm/smmuv3.c | 1 - hw/arm/virt.c | 1 + hw/core/numa.c | 2 ++ hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - hw/i386/pc_sysfw.c | 1 - hw/ppc/e500plat.c | 1 - hw/ppc/mpc8544ds.c | 1 - hw/ppc/pnv.c | 1 + hw/ppc/ppc405_uc.c | 1 - hw/ppc/spapr_cpu_core.c | 1 - hw/ppc/spapr_vio.c | 1 - hw/riscv/boot.c | 2 +- hw/s390x/s390-stattrib.c | 1 - hw/xtensa/xtensa_memory.c | 1 - monitor/qmp-cmds.c | 1 - target/alpha/machine.c | 1 - target/arm/machine.c | 1 - target/arm/monitor.c | 1 - target/hppa/machine.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_task.c | 1 - target/i386/machine.c | 1 - target/i386/whpx-all.c | 1 - target/lm32/machine.c | 1 - target/moxie/machine.c | 1 - target/openrisc/machine.c | 1 - target/ppc/machine.c | 1 - target/sparc/machine.c | 1 - 44 files changed, 10 insertions(+), 37 deletions(-)
include/hw/mem/pc-dimm.h +0 -1
@@ -19,7 +19,6 @@#include "exec/memory.h" #include "sysemu/hostmem.h" #include "hw/qdev-core.h" -#include "hw/boards.h" #define TYPE_PC_DIMM "pc-dimm"#define PC_DIMM (obj) \
backends/cryptodev-builtin.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "sysemu/cryptodev.h" -#include "hw/boards.h" #include "qapi/error.h" #include "standard-headers/linux/virtio_crypto.h" #include "crypto/cipher.h"
backends/cryptodev-vhost-user.c +0 -1
@@ -22,7 +22,6 @@*/ #include "qemu/osdep.h" -#include "hw/boards.h" #include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h"
backends/cryptodev.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "sysemu/cryptodev.h" -#include "hw/boards.h" #include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/config-file.h"
hw/acpi/ich9.c +1 -0
@@ -31,6 +31,7 @@#include "hw/pci/pci.h" #include "migration/vmstate.h" #include "qemu/timer.h" +#include "qom/cpu.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" #include "hw/acpi/acpi.h"
hw/alpha/dp264.c +0 -1
@@ -11,7 +11,6 @@#include "cpu.h" #include "elf.h" #include "hw/loader.h" -#include "hw/boards.h" #include "alpha_sys.h" #include "qemu/error-report.h" #include "sysemu/sysemu.h"
hw/alpha/typhoon.c +1 -0
@@ -11,6 +11,7 @@#include "qemu/units.h" #include "qapi/error.h" #include "cpu.h" +#include "hw/boards.h" #include "hw/irq.h" #include "sysemu/sysemu.h" #include "alpha_sys.h"
hw/arm/boot.c +0 -1
@@ -18,7 +18,6 @@#include "sysemu/sysemu.h" #include "sysemu/numa.h" #include "sysemu/reset.h" -#include "hw/boards.h" #include "hw/loader.h" #include "elf.h" #include "sysemu/device_tree.h"
hw/arm/exynos4210.c +1 -1
@@ -27,7 +27,7 @@#include "cpu.h" #include "hw/cpu/a9mpcore.h" #include "hw/irq.h" -#include "hw/boards.h" +#include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/arm/boot.h"
hw/arm/fsl-imx25.c +0 -1
@@ -28,7 +28,6 @@#include "hw/arm/fsl-imx25.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "chardev/char.h"
hw/arm/fsl-imx31.c +0 -1
@@ -25,7 +25,6 @@#include "hw/arm/fsl-imx31.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" -#include "hw/boards.h" #include "hw/qdev-properties.h" #include "chardev/char.h"
hw/arm/msf2-soc.c +0 -1
@@ -28,7 +28,6 @@#include "exec/address-spaces.h" #include "hw/char/serial.h" #include "hw/irq.h" -#include "hw/boards.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h"
hw/arm/nrf51_soc.c +0 -1
@@ -12,7 +12,6 @@#include "qapi/error.h" #include "hw/arm/boot.h" #include "hw/sysbus.h" -#include "hw/boards.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/arm/omap1.c +1 -0
@@ -29,6 +29,7 @@#include "hw/qdev-properties.h" #include "hw/arm/boot.h" #include "hw/arm/omap.h" +#include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "hw/arm/soc_dma.h" #include "sysemu/qtest.h"
hw/arm/omap2.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/error-report.h" #include "qapi/error.h" #include "cpu.h" +#include "sysemu/blockdev.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" #include "hw/boards.h"
hw/arm/smmuv3.c +0 -1
@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "hw/boards.h" #include "hw/irq.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h"
hw/arm/virt.c +1 -0
@@ -34,6 +34,7 @@#include "qemu/option.h" #include "qapi/error.h" #include "hw/sysbus.h" +#include "hw/boards.h" #include "hw/arm/boot.h" #include "hw/arm/primecell.h" #include "hw/arm/virt.h"
hw/core/numa.c +2 -0
@@ -32,8 +32,10 @@#include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" #include "sysemu/qtest.h" +#include "qom/cpu.h" #include "hw/mem/pc-dimm.h" #include "migration/vmstate.h" +#include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" #include "qemu/config-file.h"
hw/i386/pc_piix.c +0 -1
@@ -35,7 +35,6 @@#include "hw/pci/pci_ids.h" #include "hw/usb.h" #include "net/net.h" -#include "hw/boards.h" #include "hw/ide.h" #include "hw/irq.h" #include "sysemu/kvm.h"
hw/i386/pc_q35.c +0 -1
@@ -33,7 +33,6 @@#include "hw/loader.h" #include "sysemu/arch_init.h" #include "hw/i2c/smbus_eeprom.h" -#include "hw/boards.h" #include "hw/timer/mc146818rtc.h" #include "hw/xen/xen.h" #include "sysemu/kvm.h"
hw/i386/pc_sysfw.c +0 -1
@@ -32,7 +32,6 @@#include "qemu/units.h" #include "hw/sysbus.h" #include "hw/i386/pc.h" -#include "hw/boards.h" #include "hw/loader.h" #include "hw/qdev-properties.h" #include "sysemu/sysemu.h"
hw/ppc/e500plat.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/units.h" #include "e500.h" #include "hw/net/fsl_etsec/etsec.h" -#include "hw/boards.h" #include "sysemu/device_tree.h" #include "sysemu/kvm.h" #include "hw/sysbus.h"
hw/ppc/mpc8544ds.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "e500.h" -#include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/ppc/openpic.h" #include "qemu/error-report.h"
hw/ppc/pnv.c +1 -0
@@ -45,6 +45,7 @@#include "hw/ppc/pnv_xscom.h" #include "hw/isa/isa.h" +#include "hw/boards.h" #include "hw/char/serial.h" #include "hw/timer/mc146818rtc.h"
hw/ppc/ppc405_uc.c +0 -1
@@ -27,7 +27,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/ppc/ppc.h" -#include "hw/boards.h" #include "hw/i2c/ppc4xx_i2c.h" #include "hw/irq.h" #include "ppc405.h"
hw/ppc/spapr_cpu_core.c +0 -1
@@ -14,7 +14,6 @@#include "migration/vmstate.h" #include "target/ppc/cpu.h" #include "hw/ppc/spapr.h" -#include "hw/boards.h" #include "qapi/error.h" #include "sysemu/cpus.h" #include "sysemu/kvm.h"
hw/ppc/spapr_vio.c +0 -1
@@ -26,7 +26,6 @@#include "hw/irq.h" #include "qemu/log.h" #include "sysemu/sysemu.h" -#include "hw/boards.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h"
hw/riscv/boot.c +1 -1
@@ -22,9 +22,9 @@#include "qemu/units.h" #include "qemu/error-report.h" #include "exec/cpu-defs.h" +#include "hw/boards.h" #include "hw/loader.h" #include "hw/riscv/boot.h" -#include "hw/boards.h" #include "elf.h" #include "sysemu/qtest.h"
hw/s390x/s390-stattrib.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "qemu/units.h" -#include "hw/boards.h" #include "cpu.h" #include "migration/qemu-file.h" #include "migration/register.h"
hw/xtensa/xtensa_memory.c +0 -1
@@ -29,7 +29,6 @@#include "qapi/error.h" #include "cpu.h" #include "sysemu/sysemu.h" -#include "hw/boards.h" #include "exec/memory.h" #include "qemu/error-report.h" #include "xtensa_memory.h"
monitor/qmp-cmds.c +0 -1
@@ -35,7 +35,6 @@#include "qapi/qapi-commands-misc.h" #include "qapi/qapi-commands-ui.h" #include "qapi/qmp/qerror.h" -#include "hw/boards.h" #include "hw/mem/memory-device.h" #include "hw/acpi/acpi_dev_interface.h"
target/alpha/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static int get_fpcr(QEMUFile *f, void *opaque, size_t size,
target/arm/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" #include "kvm_arm.h"
target/arm/monitor.c +0 -1
@@ -21,7 +21,6 @@*/ #include "qemu/osdep.h" -#include "hw/boards.h" #include "kvm_arm.h" #include "qapi/qapi-commands-misc-target.h"
target/hppa/machine.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" #if TARGET_REGISTER_BITS ==64
target/i386/hvf/hvf.c +0 -1
@@ -66,7 +66,6 @@#include "exec/address-spaces.h" #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h"
target/i386/hvf/x86_task.c +0 -1
@@ -27,7 +27,6 @@#include <Hypervisor/hv_vmx.h> #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h"
target/i386/machine.c +0 -1
@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "hw/i386/pc.h" #include "hw/isa/isa.h" #include "migration/cpu.h"
target/i386/whpx-all.c +0 -1
@@ -18,7 +18,6 @@#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "qemu/main-loop.h" -#include "hw/boards.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "migration/blocker.h"
target/lm32/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static const VMStateDescription vmstate_env = {
target/moxie/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "machine.h" #include "migration/cpu.h"
target/openrisc/machine.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "hw/boards.h" #include "migration/cpu.h" static const VMStateDescription vmstate_tlb_entry = {
target/ppc/machine.c +0 -1
@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "sysemu/kvm.h" #include "helper_regs.h" #include "mmu-hash64.h"
target/sparc/machine.c +0 -1
@@ -1,7 +1,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "hw/boards.h" #include "qemu/timer.h" #include "migration/cpu.h"
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH v4 22/29] Include hw/boards.h a bit less
Quoted 9 lines · Markus Armbruster
hw/boards.hpulls in almost 60 headers. The less we include it into headers, the better. As a first step, drop superfluous inclusions, and downgrade some more to what's actually needed. Gets rid of just one inclusion into a header.Cc Eduardo Habkost <[email protected]>Cc Marcel Apfelbaum <[email protected]>Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Alistair Francis <[email protected]>
Quoted 46 lines
--- include/hw/mem/pc-dimm.h | 1 - backends/cryptodev-builtin.c | 1 - backends/cryptodev-vhost-user.c | 1 - backends/cryptodev.c | 1 - hw/acpi/ich9.c | 1 + hw/alpha/dp264.c | 1 - hw/alpha/typhoon.c | 1 + hw/arm/boot.c | 1 - hw/arm/exynos4210.c | 2 +- hw/arm/fsl-imx25.c | 1 - hw/arm/fsl-imx31.c | 1 - hw/arm/msf2-soc.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/omap1.c | 1 + hw/arm/omap2.c | 1 + hw/arm/smmuv3.c | 1 - hw/arm/virt.c | 1 + hw/core/numa.c | 2 ++ hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - hw/i386/pc_sysfw.c | 1 - hw/ppc/e500plat.c | 1 - hw/ppc/mpc8544ds.c | 1 - hw/ppc/pnv.c | 1 + hw/ppc/ppc405_uc.c | 1 - hw/ppc/spapr_cpu_core.c | 1 - hw/ppc/spapr_vio.c | 1 - hw/riscv/boot.c | 2 +- hw/s390x/s390-stattrib.c | 1 - hw/xtensa/xtensa_memory.c | 1 - monitor/qmp-cmds.c | 1 - target/alpha/machine.c | 1 - target/arm/machine.c | 1 - target/arm/monitor.c | 1 - target/hppa/machine.c | 1 - target/i386/hvf/hvf.c | 1 - target/i386/hvf/x86_task.c | 1 - target/i386/machine.c | 1 - target/i386/whpx-all.c | 1 - target/lm32/machine.c | 1 - target/moxie/machine.c | 1 - target/openrisc/machine.c | 1 - target/ppc/machine.c | 1 - target/sparc/machine.c | 1 - 44 files changed, 10 insertions(+), 37 deletions(-)
Re: [Qemu-devel] [PATCH v4 22/29] Include hw/boards.h a bit less
In reply to Markus ArmbrusterQuoted 9 lines · Markus Armbruster
hw/boards.hpulls in almost 60 headers. The less we include it into headers, the better. As a first step, drop superfluous inclusions, and downgrade some more to what's actually needed. Gets rid of just one inclusion into a header.Cc Eduardo Habkost <[email protected]>Cc Marcel Apfelbaum <[email protected]>Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Alistair Francis <[email protected]>
Signature · 1 line
Eduardo
PATCH v4 23/29 numa: Don't include hw/boards.h into sysemu/numa.h
In reply to Markus Armbrustersysemu/numa.h includes hw/boards.h just for the CPUArchId typedef, at the cost of pulling in more than two dozen extra headers indirectly.
I could move the typedef from hw/boards.h to qemu/typedefs.h. But it's used in just two headers: boards.h and numa.h.
I could move it to another header both its users include. exec/cpu-common.h seems to be the least bad fit.
But I'm keeping this simple & stupid: declare the struct tag in numa.h.
--- include/hw/boards.h | 2 +- include/sysemu/numa.h | 9 +++++++-- hw/mem/pc-dimm.c | 1 + 3 files changed, 9 insertions(+), 3 deletions(-)
include/hw/boards.h +1 -1
@@ -86,7 +86,7 @@ void machine_class_allow_dynamic_sysbus_dev(MachineClass *mc, const char *type);* @props - CPU object properties, initialized by board * #vcpus_count - number of threads provided by @cpu object */ -typedef struct { +typedef struct CPUArchId { uint64_t arch_id; int64_t vcpus_count; CpuInstanceProperties props;
include/sysemu/numa.h +7 -2
@@ -4,7 +4,10 @@#include "qemu/bitmap.h" #include "sysemu/sysemu.h" #include "sysemu/hostmem.h" -#include "hw/boards.h" +#include "qapi/qapi-types-machine.h" +#include "exec/cpu-common.h" + +struct CPUArchId ;extern int nb_numa_nodes;/* Number of NUMA nodes */ extern bool have_numa_distance;
@@ -32,5 +35,7 @@ void numa_legacy_auto_assign_ram(MachineClass *mc, NodeInfo *nodes, int nb_nodes, ram_addr_t size);void numa_default_auto_assign_ram (MachineClass *mc,NodeInfo *nodes,int nb_nodes,ram_addr_t size); -void numa_cpu_pre_plug (const CPUArchId *slot,DeviceState *dev,Error **errp); +void numa_cpu_pre_plug (const struct CPUArchId *slot,DeviceState *dev, +Error **errp); +#endif
hw/mem/pc-dimm.c +1 -0
@@ -19,6 +19,7 @@*/ #include "qemu/osdep.h" +#include "hw/boards.h" #include "hw/mem/pc-dimm.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h"
Signature · 1 line
2.21.0
PATCH v4 24/29 Include sysemu/hostmem.h less
In reply to Markus ArmbrusterMove the HostMemoryBackend typedef from sysemu/hostmem.h to qemu/typedefs.h. This renders a few inclusions of sysemu/hostmem.h superfluous; drop them.
--- include/hw/mem/pc-dimm.h | 1 - include/hw/virtio/virtio-pmem.h | 1 - include/qemu/typedefs.h | 1 + include/sysemu/hostmem.h | 1 - hw/mem/nvdimm.c | 1 + hw/virtio/virtio-pmem.c | 1 + 6 files changed, 3 insertions(+), 3 deletions(-)
include/hw/mem/pc-dimm.h +0 -1
@@ -17,7 +17,6 @@#define QEMU_PC_DIMM_H #include "exec/memory.h" -#include "sysemu/hostmem.h" #include "hw/qdev-core.h" #define TYPE_PC_DIMM "pc-dimm"
include/hw/virtio/virtio-pmem.h +0 -1
@@ -16,7 +16,6 @@#include "hw/virtio/virtio.h" #include "qapi/qapi-types-misc.h" -#include "sysemu/hostmem.h" #define TYPE_VIRTIO_PMEM "virtio-pmem"
include/qemu/typedefs.h +1 -0
@@ -33,6 +33,7 @@ typedef struct FWCfgEntry FWCfgEntry;typedef struct FWCfgIoState FWCfgIoState ;typedef struct FWCfgMemState FWCfgMemState ;typedef struct FWCfgState FWCfgState ; +typedef struct HostMemoryBackend HostMemoryBackend ;typedef struct HVFX86EmulatorState HVFX86EmulatorState ;typedef struct I2CBus I2CBus ;typedef struct I2SCodec I2SCodec ;
include/sysemu/hostmem.h +0 -1
@@ -27,7 +27,6 @@#define MEMORY_BACKEND_CLASS (klass) \ OBJECT_CLASS_CHECK(HostMemoryBackendClass, (klass), TYPE_MEMORY_BACKEND) -typedef struct HostMemoryBackend HostMemoryBackend ;typedef struct HostMemoryBackendClass HostMemoryBackendClass ;/**
hw/mem/nvdimm.c +1 -0
@@ -30,6 +30,7 @@#include "hw/mem/nvdimm.h" #include "hw/qdev-properties.h" #include "hw/mem/memory-device.h" +#include "sysemu/hostmem.h" static void nvdimm_get_label_size (Object *obj,Visitor *v,const char *name,void *opaque,Error **errp)
hw/virtio/virtio-pmem.c +1 -0
@@ -21,6 +21,7 @@#include "hw/virtio/virtio-access.h" #include "standard-headers/linux/virtio_ids.h" #include "standard-headers/linux/virtio_pmem.h" +#include "sysemu/hostmem.h" #include "block/aio.h" #include "block/thread-pool.h"
Signature · 1 line
2.21.0
PATCH v4 25/29 numa: Move remaining NUMA declarations from sysemu.h to numa.h
In reply to Markus ArmbrusterCommit e35704ba9c "numa: Move NUMA declarations from sysemu.h to numa.h" left a few NUMA-related macros behind. Move them now.
--- include/sysemu/hostmem.h | 2 +- include/sysemu/numa.h | 9 +++++++-- include/sysemu/sysemu.h | 7 ------- exec.c | 2 +- hw/core/numa.c | 1 + hw/mem/pc-dimm.c | 1 + hw/pci/pci.c | 2 +- hw/ppc/spapr.c | 1 + 8 files changed, 13 insertions(+), 12 deletions(-)
include/sysemu/hostmem.h +1 -1
@@ -13,7 +13,7 @@#ifndef SYSEMU_HOSTMEM_H #define SYSEMU_HOSTMEM_H -#include "sysemu/sysemu.h" /* for MAX_NODES */ +#include "sysemu/numa.h" #include "qapi/qapi-types-machine.h" #include "qom/object.h" #include "exec/memory.h"
include/sysemu/numa.h +7 -2
@@ -2,13 +2,18 @@#define SYSEMU_NUMA_H #include "qemu/bitmap.h" -#include "sysemu/sysemu.h" -#include "sysemu/hostmem.h" #include "qapi/qapi-types-machine.h" #include "exec/cpu-common.h" struct CPUArchId ; +#define MAX_NODES 128 +#define NUMA_NODE_UNASSIGNED MAX_NODES +#define NUMA_DISTANCE_MIN 10 +#define NUMA_DISTANCE_DEFAULT 20 +#define NUMA_DISTANCE_MAX 254 +#define NUMA_DISTANCE_UNREACHABLE 255 +extern int nb_numa_nodes;/* Number of NUMA nodes */ extern bool have_numa_distance;
include/sysemu/sysemu.h +0 -7
@@ -117,13 +117,6 @@ extern QEMUClockType rtc_clock;extern const char *mem_path;extern int mem_prealloc; -#define MAX_NODES 128 -#define NUMA_NODE_UNASSIGNED MAX_NODES -#define NUMA_DISTANCE_MIN 10 -#define NUMA_DISTANCE_DEFAULT 20 -#define NUMA_DISTANCE_MAX 254 -#define NUMA_DISTANCE_UNREACHABLE 255 -#define MAX_OPTION_ROMS 16 typedef struct QEMUOptionRom { const char *name;
exec.c +1 -1
@@ -45,7 +45,7 @@#include "exec/memory.h" #include "exec/ioport.h" #include "sysemu/dma.h" -#include "sysemu/numa.h" +#include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "exec/address-spaces.h" #include "sysemu/xen-mapcache.h"
hw/core/numa.c +1 -0
@@ -23,6 +23,7 @@*/ #include "qemu/osdep.h" +#include "sysemu/hostmem.h" #include "sysemu/numa.h" #include "exec/cpu-common.h" #include "exec/ramlist.h"
hw/mem/pc-dimm.c +1 -0
@@ -28,6 +28,7 @@#include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/module.h" +#include "sysemu/hostmem.h" #include "sysemu/numa.h" #include "trace.h"
hw/pci/pci.c +1 -1
@@ -34,7 +34,7 @@#include "migration/vmstate.h" #include "monitor/monitor.h" #include "net/net.h" -#include "sysemu/sysemu.h" +#include "sysemu/numa.h" #include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/range.h"
hw/ppc/spapr.c +1 -0
@@ -29,6 +29,7 @@#include "qapi/error.h" #include "qapi/visitor.h" #include "sysemu/sysemu.h" +#include "sysemu/hostmem.h" #include "sysemu/numa.h" #include "sysemu/qtest.h" #include "sysemu/reset.h"
Signature · 1 line
2.21.0
PATCH v4 26/29 Clean up inclusion of sysemu/sysemu.h
In reply to Markus ArmbrusterIn my "build everything" tree, changing sysemu/sysemu.h triggers a recompile of some 5400 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h).
Almost a third of its inclusions are actually superfluous. Delete them. Downgrade two more to qapi/qapi-types-run-state.h, and move one from char/serial.h to char/serial.c.
hw/semihosting/config.c, monitor/monitor.c, qdev-monitor.c, and stubs/semihost.c define variables declared in sysemu/sysemu.h without including it. The compiler is cool with that, but include it anyway.
This doesn't reduce actual use much, as it's still included into widely included headers. The next commit will tackle that.
--- hw/usb/hcd-ehci.h | 1 - include/hw/arm/allwinner-a10.h | 1 - include/hw/char/serial.h | 1 - include/hw/i386/pc.h | 1 - include/hw/riscv/riscv_htif.h | 1 - include/hw/timer/stm32f2xx_timer.h | 1 - include/hw/virtio/virtio-bus.h | 1 - include/hw/xen/xen-legacy-backend.h | 1 - include/migration/global_state.h | 2 +- include/sysemu/kvm_int.h | 1 - include/sysemu/replay.h | 2 +- include/ui/spice-display.h | 1 - accel/tcg/tcg-all.c | 1 - block/nfs.c | 1 - blockdev-nbd.c | 1 - dump/win_dump.c | 1 - hw/acpi/pcihp.c | 1 - hw/acpi/vmgenid.c | 1 - hw/alpha/pci.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 1 - hw/arm/sysbus-fdt.c | 1 - hw/arm/z2.c | 1 - hw/char/exynos4210_uart.c | 1 - hw/char/imx_serial.c | 1 - hw/char/serial.c | 1 + hw/core/loader-fit.c | 1 - hw/core/platform-bus.c | 1 - hw/core/qdev.c | 1 - hw/display/ramfb-standalone.c | 1 - hw/display/ramfb.c | 1 - hw/dma/xlnx-zynq-devcfg.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/pci.c | 1 - hw/i2c/smbus_ich9.c | 1 - hw/ide/cmd646.c | 1 - hw/ide/ioport.c | 1 - hw/ide/piix.c | 1 - hw/ide/via.c | 1 - hw/input/adb-kbd.c | 1 - hw/intc/allwinner-a10-pic.c | 1 - hw/intc/mips_gic.c | 1 - hw/intc/xics_pnv.c | 1 - hw/ipmi/ipmi_bmc_extern.c | 1 - hw/isa/vt82c686.c | 1 - hw/misc/armsse-cpuid.c | 1 - hw/misc/armsse-mhu.c | 1 - hw/misc/imx6_src.c | 1 - hw/misc/imx7_gpr.c | 1 - hw/misc/iotkit-sysinfo.c | 1 - hw/misc/mips_cmgcr.c | 1 - hw/misc/mos6522.c | 1 - hw/misc/sga.c | 1 - hw/misc/zynq-xadc.c | 1 - hw/net/fsl_etsec/etsec.c | 1 - hw/net/lan9118.c | 1 - hw/net/ne2000.c | 1 - hw/net/opencores_eth.c | 1 - hw/net/pcnet.c | 1 - hw/nios2/generic_nommu.c | 1 - hw/pci-host/pam.c | 1 - hw/ppc/pnv_bmc.c | 1 - hw/ppc/pnv_core.c | 1 - hw/ppc/pnv_lpc.c | 1 - hw/ppc/pnv_occ.c | 1 - hw/ppc/ppce500_spin.c | 1 - hw/ppc/spapr_rng.c | 1 - hw/ppc/spapr_vio.c | 1 - hw/s390x/event-facility.c | 1 - hw/s390x/sclpcpu.c | 1 - hw/s390x/virtio-ccw.c | 1 - hw/scsi/scsi-disk.c | 1 - hw/sd/milkymist-memcard.c | 1 - hw/semihosting/config.c | 1 + hw/ssi/aspeed_smc.c | 1 - hw/ssi/imx_spi.c | 1 - hw/ssi/xilinx_spi.c | 1 - hw/ssi/xilinx_spips.c | 1 - hw/timer/allwinner-a10-pit.c | 1 - hw/timer/altera_timer.c | 1 - hw/timer/exynos4210_rtc.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/vfio/ap.c | 1 - hw/vfio/platform.c | 1 - hw/xen/xen_pt_load_rom.c | 1 - hw/xtensa/xtensa_memory.c | 1 - monitor/monitor.c | 1 + net/tap-bsd.c | 1 - net/tap-linux.c | 1 - net/tap-solaris.c | 1 - net/tap-win32.c | 1 - qdev-monitor.c | 1 + qemu-img.c | 1 - qom/cpu.c | 1 - replay/replay-audio.c | 1 - replay/replay-char.c | 1 - replay/replay-net.c | 1 - replay/replay-snapshot.c | 1 - stubs/replay.c | 1 - stubs/semihost.c | 1 + target/arm/cpu64.c | 1 - target/arm/helper-a64.c | 1 - target/arm/helper.c | 1 - target/arm/kvm32.c | 1 - target/arm/kvm64.c | 1 - target/arm/m_helper.c | 1 - target/i386/hvf/x86_task.c | 1 - target/lm32/helper.c | 1 - target/m68k/m68k-semi.c | 1 - target/nios2/nios2-semi.c | 1 - target/ppc/kvm.c | 1 - target/sparc/helper.c | 1 - target/xtensa/translate.c | 1 - target/xtensa/xtensa-semi.c | 1 - tests/migration-test.c | 1 - ui/input-keymap.c | 1 - ui/input-legacy.c | 1 - ui/input-linux.c | 1 - ui/keymaps.c | 1 - ui/sdl2-2d.c | 1 - ui/sdl2-gl.c | 1 - ui/sdl2-input.c | 1 - ui/spice-display.c | 1 - util/qemu-timer.c | 1 - 126 files changed, 7 insertions(+), 121 deletions(-)
hw/usb/hcd-ehci.h +0 -1
@@ -21,7 +21,6 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h"
include/hw/arm/allwinner-a10.h +0 -1
@@ -9,7 +9,6 @@#include "hw/net/allwinner_emac.h" #include "hw/ide/ahci.h" -#include "sysemu/sysemu.h" #include "target/arm/cpu.h"
include/hw/char/serial.h +0 -1
@@ -26,7 +26,6 @@#ifndef HW_SERIAL_H #define HW_SERIAL_H -#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "exec/memory.h" #include "qemu/fifo8.h"
include/hw/i386/pc.h +0 -1
@@ -12,7 +12,6 @@#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" #include "hw/mem/nvdimm.h"
include/hw/riscv/riscv_htif.h +0 -1
@@ -22,7 +22,6 @@#include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "target/riscv/cpu.h"
include/hw/timer/stm32f2xx_timer.h +0 -1
@@ -27,7 +27,6 @@#include "hw/sysbus.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #define TIM_CR1 0x00#define TIM_CR2 0x04
include/hw/virtio/virtio-bus.h +0 -1
@@ -25,7 +25,6 @@#ifndef VIRTIO_BUS_H #define VIRTIO_BUS_H -#include "sysemu/sysemu.h" #include "hw/qdev-core.h" #include "hw/virtio/virtio.h"
include/hw/xen/xen-legacy-backend.h +0 -1
@@ -3,7 +3,6 @@#include "hw/xen/xen_common.h" #include "hw/xen/xen_pvdev.h" -#include "sysemu/sysemu.h" #include "net/net.h" #define TYPE_XENSYSDEV "xen-sysdev"
include/migration/global_state.h +1 -1
@@ -13,7 +13,7 @@#ifndef QEMU_MIGRATION_GLOBAL_STATE_H #define QEMU_MIGRATION_GLOBAL_STATE_H -#include "sysemu/sysemu.h" +#include "qapi/qapi-types-run-state.h" void register_global_state (void );int global_state_store (void );
include/sysemu/kvm_int.h +0 -1
@@ -10,7 +10,6 @@#define QEMU_KVM_INT_H #include "exec/memory.h" -#include "sysemu/sysemu.h" #include "sysemu/accel.h" #include "sysemu/kvm.h"
include/sysemu/replay.h +1 -1
@@ -12,8 +12,8 @@* */ -#include "sysemu.h" #include "qapi/qapi-types-misc.h" +#include "qapi/qapi-types-run-state.h" #include "qapi/qapi-types-ui.h" /* replay clock kinds */
include/ui/spice-display.h +0 -1
@@ -26,7 +26,6 @@#include "qemu/thread.h" #include "ui/qemu-pixman.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #if defined(CONFIG_OPENGL_DMABUF )# if SPICE_SERVER_VERSION >=0x000d01 /* release 0.13.1 */
accel/tcg/tcg-all.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "qom/object.h" #include "cpu.h"
block/nfs.c +0 -1
@@ -37,7 +37,6 @@#include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h"
blockdev-nbd.c +0 -1
@@ -15,7 +15,6 @@#include "hw/block/block.h" #include "qapi/error.h" #include "qapi/qapi-commands-block.h" -#include "sysemu/sysemu.h" #include "block/nbd.h" #include "io/channel-socket.h" #include "io/net-listener.h"
dump/win_dump.c +0 -1
@@ -17,7 +17,6 @@#include "monitor/monitor.h" #include "sysemu/kvm.h" #include "sysemu/dump.h" -#include "sysemu/sysemu.h" #include "sysemu/memory_mapping.h" #include "sysemu/cpus.h" #include "qapi/error.h"
hw/acpi/pcihp.c +0 -1
@@ -31,7 +31,6 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/acpi/acpi.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h"
hw/acpi/vmgenid.c +0 -1
@@ -21,7 +21,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" void vmgenid_build_acpi (VmGenIdState *vms,GArray *table_data,GArray *guid,BIOSLinker *linker)
hw/alpha/pci.c +0 -1
@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "alpha_sys.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "trace.h"
hw/alpha/typhoon.c +0 -1
@@ -13,7 +13,6 @@#include "cpu.h" #include "hw/boards.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "alpha_sys.h" #include "exec/address-spaces.h"
hw/arm/nrf51_soc.c +0 -1
@@ -14,7 +14,6 @@#include "hw/sysbus.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "cpu.h"
hw/arm/smmu-common.c +0 -1
@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "trace.h" #include "exec/target_page.h"
hw/arm/smmuv3.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/qdev-core.h"
hw/arm/sysbus-fdt.c +0 -1
@@ -31,7 +31,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "hw/platform-bus.h" -#include "sysemu/sysemu.h" #include "hw/vfio/vfio-platform.h" #include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h"
hw/arm/z2.c +0 -1
@@ -19,7 +19,6 @@#include "hw/ssi/ssi.h" #include "migration/vmstate.h" #include "hw/boards.h" -#include "sysemu/sysemu.h" #include "hw/block/flash.h" #include "ui/console.h" #include "hw/audio/wm8750.h"
hw/char/exynos4210_uart.c +0 -1
@@ -24,7 +24,6 @@#include "migration/vmstate.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "chardev/char-serial.h"
hw/char/imx_serial.c +0 -1
@@ -23,7 +23,6 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h"
hw/char/serial.c +1 -0
@@ -31,6 +31,7 @@#include "qapi/error.h" #include "qemu/timer.h" #include "sysemu/reset.h" +#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "trace.h"
hw/core/loader-fit.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/cutils.h" #include "qemu/error-report.h" #include "sysemu/device_tree.h" -#include "sysemu/sysemu.h" #include <libfdt.h> #include <zlib.h>
hw/core/platform-bus.c +0 -1
@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" /*
hw/core/qdev.c +0 -1
@@ -26,7 +26,6 @@this API directly. */ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qapi/qapi-events-qdev.h" #include "qapi/qmp/qerror.h"
hw/display/ramfb-standalone.c +0 -1
@@ -6,7 +6,6 @@#include "hw/isa/isa.h" #include "hw/display/ramfb.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #define RAMFB (obj) OBJECT_CHECK(RAMFBStandaloneState, (obj), TYPE_RAMFB_DEVICE)
hw/display/ramfb.c +0 -1
@@ -18,7 +18,6 @@#include "hw/display/ramfb.h" #include "ui/console.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" struct QEMU_PACKED RAMFBCfg {uint64_t addr;
hw/dma/xlnx-zynq-devcfg.c +0 -1
@@ -29,7 +29,6 @@#include "hw/irq.h" #include "migration/vmstate.h" #include "qemu/bitops.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "qemu/log.h" #include "qemu/module.h"
hw/hppa/dino.c +0 -1
@@ -16,7 +16,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h"
hw/hppa/pci.c +0 -1
@@ -6,7 +6,6 @@#include "qemu/osdep.h" #include "hppa_sys.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "trace.h"
hw/i2c/smbus_ich9.c +0 -1
@@ -25,7 +25,6 @@#include "hw/pci/pci.h" #include "migration/vmstate.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "hw/i386/ich9.h"
hw/ide/cmd646.c +0 -1
@@ -29,7 +29,6 @@#include "migration/vmstate.h" #include "qemu/module.h" #include "hw/isa/isa.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "sysemu/reset.h"
hw/ide/ioport.c +0 -1
@@ -27,7 +27,6 @@#include "hw/isa/isa.h" #include "qemu/error-report.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "hw/block/block.h"
hw/ide/piix.c +0 -1
@@ -28,7 +28,6 @@#include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "sysemu/reset.h"
hw/ide/via.c +0 -1
@@ -28,7 +28,6 @@#include "hw/pci/pci.h" #include "migration/vmstate.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "sysemu/reset.h"
hw/input/adb-kbd.c +0 -1
@@ -28,7 +28,6 @@#include "qemu/module.h" #include "ui/input.h" #include "hw/input/adb-keys.h" -#include "sysemu/sysemu.h" #include "adb-internal.h" #include "trace.h"
hw/intc/allwinner-a10-pic.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/intc/allwinner-a10-pic.h" #include "hw/irq.h" #include "qemu/log.h"
hw/intc/mips_gic.c +0 -1
@@ -15,7 +15,6 @@#include "qapi/error.h" #include "hw/sysbus.h" #include "exec/memory.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" #include "kvm_mips.h"
hw/intc/xics_pnv.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "hw/ppc/xics.h"
hw/ipmi/ipmi_bmc_extern.c +0 -1
@@ -33,7 +33,6 @@#include "qapi/error.h" #include "qemu/timer.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "hw/ipmi/ipmi.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h"
hw/isa/vt82c686.c +0 -1
@@ -24,7 +24,6 @@#include "hw/acpi/acpi.h" #include "hw/i2c/pm_smbus.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "qemu/module.h" #include "qemu/timer.h" #include "exec/address-spaces.h"
hw/misc/armsse-cpuid.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/armsse-cpuid.h"
hw/misc/armsse-mhu.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/registerfields.h"
hw/misc/imx6_src.c +0 -1
@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "hw/misc/imx6_src.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/main-loop.h"
hw/misc/imx7_gpr.c +0 -1
@@ -16,7 +16,6 @@#include "hw/misc/imx7_gpr.h" #include "qemu/log.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "trace.h"
hw/misc/iotkit-sysinfo.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/iotkit-sysinfo.h"
hw/misc/mips_cmgcr.c +0 -1
@@ -14,7 +14,6 @@#include "qemu/module.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/misc/mips_cmgcr.h" #include "hw/misc/mips_cpc.h" #include "hw/qdev-properties.h"
hw/misc/mos6522.c +0 -1
@@ -31,7 +31,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/module.h"
hw/misc/sga.c +0 -1
@@ -29,7 +29,6 @@#include "hw/isa/isa.h" #include "hw/loader.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #define SGABIOS_FILENAME "sgabios.bin"
hw/misc/zynq-xadc.c +0 -1
@@ -18,7 +18,6 @@#include "hw/misc/zynq-xadc.h" #include "migration/vmstate.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h"
hw/net/fsl_etsec/etsec.c +0 -1
@@ -27,7 +27,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/irq.h" #include "hw/ptimer.h"
hw/net/lan9118.c +0 -1
@@ -18,7 +18,6 @@#include "hw/hw.h" #include "hw/irq.h" #include "hw/net/lan9118.h" -#include "sysemu/sysemu.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h" #include "qemu/log.h"
hw/net/ne2000.c +0 -1
@@ -29,7 +29,6 @@#include "hw/irq.h" #include "migration/vmstate.h" #include "ne2000.h" -#include "sysemu/sysemu.h" #include "trace.h" /* debug NE2000 card */
hw/net/opencores_eth.c +0 -1
@@ -39,7 +39,6 @@#include "net/net.h" #include "qemu/module.h" #include "net/eth.h" -#include "sysemu/sysemu.h" #include "trace.h" /* RECSMALL is not used because it breaks tap networking in linux:
hw/net/pcnet.c +0 -1
@@ -43,7 +43,6 @@#include "net/net.h" #include "net/eth.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "pcnet.h"
hw/nios2/generic_nommu.c +0 -1
@@ -33,7 +33,6 @@#include "hw/sysbus.h" #include "hw/char/serial.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/memory.h" #include "exec/address-spaces.h"
hw/pci-host/pam.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qom/object.h" -#include "sysemu/sysemu.h" #include "hw/pci-host/pam.h" void init_pam(DeviceState *dev, MemoryRegion *ram_memory,
hw/ppc/pnv_bmc.c +0 -1
@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qemu/log.h" #include "hw/ipmi/ipmi.h"
hw/ppc/pnv_core.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h"
hw/ppc/pnv_lpc.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h"
hw/ppc/pnv_occ.c +0 -1
@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h"
hw/ppc/ppce500_spin.c +0 -1
@@ -33,7 +33,6 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/hw_accel.h" -#include "sysemu/sysemu.h" #include "e500.h" #define MAX_CPUS 32
hw/ppc/spapr_rng.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "sysemu/device_tree.h" #include "sysemu/rng.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_vio.c +0 -1
@@ -25,7 +25,6 @@#include "qapi/visitor.h" #include "hw/irq.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h"
hw/s390x/event-facility.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "migration/vmstate.h"
hw/s390x/sclpcpu.c +0 -1
@@ -14,7 +14,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "qemu/module.h" #include "hw/s390x/event-facility.h"
hw/s390x/virtio-ccw.c +0 -1
@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "net/net.h" #include "hw/virtio/virtio.h"
hw/scsi/scsi-disk.c +0 -1
@@ -30,7 +30,6 @@#include "migration/vmstate.h" #include "hw/scsi/emulation.h" #include "scsi/constants.h" -#include "sysemu/sysemu.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "hw/block/block.h"
hw/sd/milkymist-memcard.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/module.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/block-backend.h"
hw/semihosting/config.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/error-report.h" #include "hw/semihosting/semihost.h" #include "chardev/char.h" +#include "sysemu/sysemu.h" QemuOptsList qemu_semihosting_config_opts = { .name ="semihosting-config" ,
hw/ssi/aspeed_smc.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "qemu/error-report.h"
hw/ssi/imx_spi.c +0 -1
@@ -12,7 +12,6 @@#include "hw/irq.h" #include "hw/ssi/imx_spi.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h"
hw/ssi/xilinx_spi.c +0 -1
@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "qemu/fifo8.h"
hw/ssi/xilinx_spips.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h"
hw/timer/allwinner-a10-pit.c +0 -1
@@ -19,7 +19,6 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/timer/allwinner-a10-pit.h" #include "migration/vmstate.h" #include "qemu/log.h"
hw/timer/altera_timer.c +0 -1
@@ -24,7 +24,6 @@#include "qapi/error.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h"
hw/timer/exynos4210_rtc.c +0 -1
@@ -37,7 +37,6 @@#include "hw/ptimer.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/arm/exynos4210.h"
hw/tricore/tricore_testboard.c +0 -1
@@ -23,7 +23,6 @@#include "qapi/error.h" #include "cpu.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "exec/address-spaces.h"
hw/vfio/ap.c +0 -1
@@ -25,7 +25,6 @@#include "cpu.h" #include "kvm_s390x.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/qdev-properties.h" #include "hw/s390x/ap-bridge.h" #include "exec/address-spaces.h"
hw/vfio/platform.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/range.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "qemu/queue.h"
hw/xen/xen_pt_load_rom.c +0 -1
@@ -9,7 +9,6 @@#include "hw/loader.h" #include "monitor/monitor.h" #include "qemu/range.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "xen_pt.h"
hw/xtensa/xtensa_memory.c +0 -1
@@ -28,7 +28,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "qemu/error-report.h" #include "xtensa_memory.h"
monitor/monitor.c +1 -0
@@ -31,6 +31,7 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" #include "trace.h" /*
net/tap-bsd.c +0 -1
@@ -27,7 +27,6 @@#include "qapi/error.h" #include "tap_int.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #if defined(__NetBSD__) || defined(__FreeBSD__)
net/tap-linux.c +0 -1
@@ -32,7 +32,6 @@#include <net/if.h> #include <sys/ioctl.h> -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/cutils.h"
net/tap-solaris.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "tap_int.h" -#include "sysemu/sysemu.h" #include "qemu/ctype.h" #include "qemu/cutils.h"
net/tap-win32.c +0 -1
@@ -33,7 +33,6 @@#include "clients.h" /* net_init_tap */ #include "net/net.h" #include "net/tap.h" /* tap_has_ufo, ... */ -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include <windows.h>
qdev-monitor.c +1 -0
@@ -32,6 +32,7 @@#include "qemu/option.h" #include "qemu/qemu-print.h" #include "sysemu/block-backend.h" +#include "sysemu/sysemu.h" #include "migration/misc.h" /*
qemu-img.c +0 -1
@@ -42,7 +42,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qom/object_interfaces.h" -#include "sysemu/sysemu.h" #include "sysemu/block-backend.h" #include "block/block_int.h" #include "block/blockjob.h"
qom/cpu.c +0 -1
@@ -28,7 +28,6 @@#include "exec/log.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "hw/boards.h" #include "hw/qdev-properties.h"
replay/replay-audio.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "audio/audio.h" void replay_audio_out (int *played)
replay/replay-char.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "chardev/char.h" /* Char drivers that generate qemu_chr_be_write events
replay/replay-net.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "net/net.h" #include "net/filter.h" #include "qemu/iov.h"
replay/replay-snapshot.c +0 -1
@@ -13,7 +13,6 @@#include "qapi/error.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "qapi/qmp/qstring.h" #include "qemu/error-report.h"
stubs/replay.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" ReplayMode replay_mode;
stubs/semihost.c +1 -0
@@ -12,6 +12,7 @@#include "qemu/option.h" #include "qemu/error-report.h" #include "hw/semihosting/semihost.h" +#include "sysemu/sysemu.h" /* Empty config */ QemuOptsList qemu_semihosting_config_opts = {
target/arm/cpu64.c +0 -1
@@ -25,7 +25,6 @@#if !defined(CONFIG_USER_ONLY )#include "hw/loader.h" #endif -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "qapi/visitor.h"
target/arm/helper-a64.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/host-utils.h" #include "qemu/log.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "internals.h" #include "qemu/crc32c.h"
target/arm/helper.c +0 -1
@@ -16,7 +16,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h"
target/arm/kvm32.c +0 -1
@@ -16,7 +16,6 @@#include "qemu-common.h" #include "cpu.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "internals.h"
target/arm/kvm64.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/host-utils.h" #include "qemu/main-loop.h" #include "exec/gdbstub.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "internals.h"
target/arm/m_helper.c +0 -1
@@ -16,7 +16,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h"
target/i386/hvf/x86_task.c +0 -1
@@ -29,7 +29,6 @@#include "hw/i386/apic_internal.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "target/i386/cpu.h" // TODO: taskswitch handling
target/lm32/helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/exec-all.h" #include "qemu/host-utils.h" -#include "sysemu/sysemu.h" #include "hw/semihosting/semihost.h" #include "exec/log.h"
target/m68k/m68k-semi.c +0 -1
@@ -28,7 +28,6 @@#include "exec/softmmu-semi.h" #endif #include "qemu/log.h" -#include "sysemu/sysemu.h" #define HOSTED_EXIT 0#define HOSTED_INIT_SIM 1
target/nios2/nios2-semi.c +0 -1
@@ -32,7 +32,6 @@#include "exec/softmmu-semi.h" #endif #include "qemu/log.h" -#include "sysemu/sysemu.h" #define HOSTED_EXIT 0#define HOSTED_INIT_SIM 1
target/ppc/kvm.c +0 -1
@@ -27,7 +27,6 @@#include "cpu.h" #include "cpu-models.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/hw_accel.h" #include "kvm_ppc.h" #include "sysemu/cpus.h"
target/sparc/helper.c +0 -1
@@ -22,7 +22,6 @@#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "sysemu/sysemu.h" void cpu_raise_exception_ra (CPUSPARCState *env,int tt,uintptr_t ra) {
target/xtensa/translate.c +0 -1
@@ -36,7 +36,6 @@#include "tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h" -#include "sysemu/sysemu.h" #include "exec/cpu_ldst.h" #include "hw/semihosting/semihost.h" #include "exec/translator.h"
target/xtensa/xtensa-semi.c +0 -1
@@ -32,7 +32,6 @@#include "hw/semihosting/semihost.h" #include "qapi/error.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" enum { TARGET_SYS_exit =1 ,
tests/migration-test.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/range.h" #include "qemu/sockets.h" #include "chardev/char.h" -#include "sysemu/sysemu.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h"
ui/input-keymap.c +0 -1
@@ -1,5 +1,4 @@#include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "keymaps.h" #include "ui/input.h"
ui/input-legacy.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/qapi-commands-ui.h" -#include "sysemu/sysemu.h" #include "ui/console.h" #include "keymaps.h" #include "ui/input.h"
ui/input-linux.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/sockets.h" -#include "sysemu/sysemu.h" #include "ui/input.h" #include "qom/object_interfaces.h" #include "sysemu/iothread.h"
ui/keymaps.c +0 -1
@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "keymaps.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "qemu/ctype.h" #include "qemu/error-report.h"
ui/sdl2-2d.c +0 -1
@@ -27,7 +27,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" void sdl2_2d_update (DisplayChangeListener *dcl,int x,int y,int w,int h)
ui/sdl2-gl.c +0 -1
@@ -29,7 +29,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" static void sdl2_set_scanout_mode (struct sdl2_console *scon,bool scanout) {
ui/sdl2-input.c +0 -1
@@ -27,7 +27,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" void sdl2_process_key (struct sdl2_console *scon,SDL_KeyboardEvent *ev)
ui/spice-display.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/option.h" #include "qemu/queue.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "ui/spice-display.h"
util/qemu-timer.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/main-loop.h" #include "qemu/timer.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #ifdef CONFIG_POSIX
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH v4 26/29] Clean up inclusion of sysemu/sysemu.h
Quoted 12 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 5400 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h).Almost a third of its inclusions are actually superfluous. Delete them. Downgrade two more to
qapi/qapi-types-run-state.h, and move one fromchar/serial.htochar/serial.c.
hw/semihosting/config.c,monitor/monitor.c,qdev-monitor.c, andstubs/semihost.cdefine variables declared insysemu/sysemu.hwithout including it. The compiler is cool with that, but include it anyway.
Quoted 5 lines
This doesn't reduce actual use much, as it's still included into widely included headers. The next commit will tackle that.
Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Alistair Francis <[email protected]>
Quoted 1,634 lines
--- hw/usb/hcd-ehci.h | 1 - include/hw/arm/allwinner-a10.h | 1 - include/hw/char/serial.h | 1 - include/hw/i386/pc.h | 1 - include/hw/riscv/riscv_htif.h | 1 - include/hw/timer/stm32f2xx_timer.h | 1 - include/hw/virtio/virtio-bus.h | 1 - include/hw/xen/xen-legacy-backend.h | 1 - include/migration/global_state.h | 2 +- include/sysemu/kvm_int.h | 1 - include/sysemu/replay.h | 2 +- include/ui/spice-display.h | 1 - accel/tcg/tcg-all.c | 1 - block/nfs.c | 1 - blockdev-nbd.c | 1 - dump/win_dump.c | 1 - hw/acpi/pcihp.c | 1 - hw/acpi/vmgenid.c | 1 - hw/alpha/pci.c | 1 - hw/alpha/typhoon.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 1 - hw/arm/sysbus-fdt.c | 1 - hw/arm/z2.c | 1 - hw/char/exynos4210_uart.c | 1 - hw/char/imx_serial.c | 1 - hw/char/serial.c | 1 + hw/core/loader-fit.c | 1 - hw/core/platform-bus.c | 1 - hw/core/qdev.c | 1 - hw/display/ramfb-standalone.c | 1 - hw/display/ramfb.c | 1 - hw/dma/xlnx-zynq-devcfg.c | 1 - hw/hppa/dino.c | 1 - hw/hppa/pci.c | 1 - hw/i2c/smbus_ich9.c | 1 - hw/ide/cmd646.c | 1 - hw/ide/ioport.c | 1 - hw/ide/piix.c | 1 - hw/ide/via.c | 1 - hw/input/adb-kbd.c | 1 - hw/intc/allwinner-a10-pic.c | 1 - hw/intc/mips_gic.c | 1 - hw/intc/xics_pnv.c | 1 - hw/ipmi/ipmi_bmc_extern.c | 1 - hw/isa/vt82c686.c | 1 - hw/misc/armsse-cpuid.c | 1 - hw/misc/armsse-mhu.c | 1 - hw/misc/imx6_src.c | 1 - hw/misc/imx7_gpr.c | 1 - hw/misc/iotkit-sysinfo.c | 1 - hw/misc/mips_cmgcr.c | 1 - hw/misc/mos6522.c | 1 - hw/misc/sga.c | 1 - hw/misc/zynq-xadc.c | 1 - hw/net/fsl_etsec/etsec.c | 1 - hw/net/lan9118.c | 1 - hw/net/ne2000.c | 1 - hw/net/opencores_eth.c | 1 - hw/net/pcnet.c | 1 - hw/nios2/generic_nommu.c | 1 - hw/pci-host/pam.c | 1 - hw/ppc/pnv_bmc.c | 1 - hw/ppc/pnv_core.c | 1 - hw/ppc/pnv_lpc.c | 1 - hw/ppc/pnv_occ.c | 1 - hw/ppc/ppce500_spin.c | 1 - hw/ppc/spapr_rng.c | 1 - hw/ppc/spapr_vio.c | 1 - hw/s390x/event-facility.c | 1 - hw/s390x/sclpcpu.c | 1 - hw/s390x/virtio-ccw.c | 1 - hw/scsi/scsi-disk.c | 1 - hw/sd/milkymist-memcard.c | 1 - hw/semihosting/config.c | 1 + hw/ssi/aspeed_smc.c | 1 - hw/ssi/imx_spi.c | 1 - hw/ssi/xilinx_spi.c | 1 - hw/ssi/xilinx_spips.c | 1 - hw/timer/allwinner-a10-pit.c | 1 - hw/timer/altera_timer.c | 1 - hw/timer/exynos4210_rtc.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/vfio/ap.c | 1 - hw/vfio/platform.c | 1 - hw/xen/xen_pt_load_rom.c | 1 - hw/xtensa/xtensa_memory.c | 1 - monitor/monitor.c | 1 + net/tap-bsd.c | 1 - net/tap-linux.c | 1 - net/tap-solaris.c | 1 - net/tap-win32.c | 1 - qdev-monitor.c | 1 + qemu-img.c | 1 - qom/cpu.c | 1 - replay/replay-audio.c | 1 - replay/replay-char.c | 1 - replay/replay-net.c | 1 - replay/replay-snapshot.c | 1 - stubs/replay.c | 1 - stubs/semihost.c | 1 + target/arm/cpu64.c | 1 - target/arm/helper-a64.c | 1 - target/arm/helper.c | 1 - target/arm/kvm32.c | 1 - target/arm/kvm64.c | 1 - target/arm/m_helper.c | 1 - target/i386/hvf/x86_task.c | 1 - target/lm32/helper.c | 1 - target/m68k/m68k-semi.c | 1 - target/nios2/nios2-semi.c | 1 - target/ppc/kvm.c | 1 - target/sparc/helper.c | 1 - target/xtensa/translate.c | 1 - target/xtensa/xtensa-semi.c | 1 - tests/migration-test.c | 1 - ui/input-keymap.c | 1 - ui/input-legacy.c | 1 - ui/input-linux.c | 1 - ui/keymaps.c | 1 - ui/sdl2-2d.c | 1 - ui/sdl2-gl.c | 1 - ui/sdl2-input.c | 1 - ui/spice-display.c | 1 - util/qemu-timer.c | 1 - 126 files changed, 7 insertions(+), 121 deletions(-)hw/usb/hcd-ehci.h +0
-1@@ -21,7 +21,6 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h" include/hw/arm/allwinner-a10.h +0
-1@@ -9,7 +9,6 @@#include "hw/net/allwinner_emac.h" #include "hw/ide/ahci.h" -#include "sysemu/sysemu.h" #include "target/arm/cpu.h" include/hw/char/serial.h +0
-1@@ -26,7 +26,6 @@#ifndef HW_SERIAL_H #define HW_SERIAL_H -#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "exec/memory.h" #include "qemu/fifo8.h" include/hw/i386/pc.h +0
-1@@ -12,7 +12,6 @@#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" #include "hw/mem/nvdimm.h" include/hw/riscv/riscv_htif.h +0
-1@@ -22,7 +22,6 @@#include "chardev/char.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "target/riscv/cpu.h" include/hw/timer/stm32f2xx_timer.h +0
-1@@ -27,7 +27,6 @@#include "hw/sysbus.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #define TIM_CR1 0x00#define TIM_CR2 0x04include/hw/virtio/virtio-bus.h +0
-1@@ -25,7 +25,6 @@#ifndef VIRTIO_BUS_H #define VIRTIO_BUS_H -#include "sysemu/sysemu.h" #include "hw/qdev-core.h" #include "hw/virtio/virtio.h" include/hw/xen/xen-legacy-backend.h +0
-1@@ -3,7 +3,6 @@#include "hw/xen/xen_common.h" #include "hw/xen/xen_pvdev.h" -#include "sysemu/sysemu.h" #include "net/net.h" #define TYPE_XENSYSDEV "xen-sysdev"include/migration/global_state.h +1
-1@@ -13,7 +13,7 @@#ifndef QEMU_MIGRATION_GLOBAL_STATE_H #define QEMU_MIGRATION_GLOBAL_STATE_H -#include "sysemu/sysemu.h" +#include "qapi/qapi-types-run-state.h" void register_global_state (void );int global_state_store (void );include/sysemu/kvm_int.h +0
-1@@ -10,7 +10,6 @@#define QEMU_KVM_INT_H #include "exec/memory.h" -#include "sysemu/sysemu.h" #include "sysemu/accel.h" #include "sysemu/kvm.h" include/sysemu/replay.h +1
-1@@ -12,8 +12,8 @@* */ -#include "sysemu.h" #include "qapi/qapi-types-misc.h" +#include "qapi/qapi-types-run-state.h" #include "qapi/qapi-types-ui.h" /* replay clock kinds */ include/ui/spice-display.h +0
-1@@ -26,7 +26,6 @@#include "qemu/thread.h" #include "ui/qemu-pixman.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #if defined(CONFIG_OPENGL_DMABUF )# if SPICE_SERVER_VERSION >=0x000d01 /* release 0.13.1 */ accel/tcg/tcg-all.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "qom/object.h" #include "cpu.h" block/nfs.c +0
-1@@ -37,7 +37,6 @@#include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "qapi/qapi-visit-block-core.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" blockdev-nbd.c +0
-1@@ -15,7 +15,6 @@#include "hw/block/block.h" #include "qapi/error.h" #include "qapi/qapi-commands-block.h" -#include "sysemu/sysemu.h" #include "block/nbd.h" #include "io/channel-socket.h" #include "io/net-listener.h" dump/win_dump.c +0
-1@@ -17,7 +17,6 @@#include "monitor/monitor.h" #include "sysemu/kvm.h" #include "sysemu/dump.h" -#include "sysemu/sysemu.h" #include "sysemu/memory_mapping.h" #include "sysemu/cpus.h" #include "qapi/error.h" hw/acpi/pcihp.c +0
-1@@ -31,7 +31,6 @@#include "hw/pci/pci.h" #include "hw/pci/pci_bridge.h" #include "hw/acpi/acpi.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h" hw/acpi/vmgenid.c +0
-1@@ -21,7 +21,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" void vmgenid_build_acpi (VmGenIdState *vms,GArray *table_data,GArray *guid,BIOSLinker *linker)hw/alpha/pci.c +0
-1@@ -9,7 +9,6 @@#include "qemu/osdep.h" #include "alpha_sys.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "trace.h" hw/alpha/typhoon.c +0
-1@@ -13,7 +13,6 @@#include "cpu.h" #include "hw/boards.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "alpha_sys.h" #include "exec/address-spaces.h" hw/arm/nrf51_soc.c +0
-1@@ -14,7 +14,6 @@#include "hw/sysbus.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "cpu.h" hw/arm/smmu-common.c +0
-1@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "trace.h" #include "exec/target_page.h" hw/arm/smmuv3.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/qdev-core.h" hw/arm/sysbus-fdt.c +0
-1@@ -31,7 +31,6 @@#include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "hw/platform-bus.h" -#include "sysemu/sysemu.h" #include "hw/vfio/vfio-platform.h" #include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h" hw/arm/z2.c +0
-1@@ -19,7 +19,6 @@#include "hw/ssi/ssi.h" #include "migration/vmstate.h" #include "hw/boards.h" -#include "sysemu/sysemu.h" #include "hw/block/flash.h" #include "ui/console.h" #include "hw/audio/wm8750.h" hw/char/exynos4210_uart.c +0
-1@@ -24,7 +24,6 @@#include "migration/vmstate.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "chardev/char-serial.h" hw/char/imx_serial.c +0
-1@@ -23,7 +23,6 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" hw/char/serial.c +1
-0@@ -31,6 +31,7 @@#include "qapi/error.h" #include "qemu/timer.h" #include "sysemu/reset.h" +#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "trace.h" hw/core/loader-fit.c +0
-1@@ -26,7 +26,6 @@#include "qemu/cutils.h" #include "qemu/error-report.h" #include "sysemu/device_tree.h" -#include "sysemu/sysemu.h" #include <libfdt.h> #include <zlib.h> hw/core/platform-bus.c +0
-1@@ -24,7 +24,6 @@#include "hw/qdev-properties.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" /* hw/core/qdev.c +0
-1@@ -26,7 +26,6 @@this API directly. */ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qapi/qapi-events-qdev.h" #include "qapi/qmp/qerror.h" hw/display/ramfb-standalone.c +0
-1@@ -6,7 +6,6 @@#include "hw/isa/isa.h" #include "hw/display/ramfb.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #define RAMFB (obj) OBJECT_CHECK(RAMFBStandaloneState, (obj), TYPE_RAMFB_DEVICE)hw/display/ramfb.c +0
-1@@ -18,7 +18,6 @@#include "hw/display/ramfb.h" #include "ui/console.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" struct QEMU_PACKED RAMFBCfg {uint64_t addr;hw/dma/xlnx-zynq-devcfg.c +0
-1@@ -29,7 +29,6 @@#include "hw/irq.h" #include "migration/vmstate.h" #include "qemu/bitops.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "qemu/log.h" #include "qemu/module.h" hw/hppa/dino.c +0
-1@@ -16,7 +16,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h" #include "migration/vmstate.h" hw/hppa/pci.c +0
-1@@ -6,7 +6,6 @@#include "qemu/osdep.h" #include "hppa_sys.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "trace.h" hw/i2c/smbus_ich9.c +0
-1@@ -25,7 +25,6 @@#include "hw/pci/pci.h" #include "migration/vmstate.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "hw/i386/ich9.h" hw/ide/cmd646.c +0
-1@@ -29,7 +29,6 @@#include "migration/vmstate.h" #include "qemu/module.h" #include "hw/isa/isa.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "sysemu/reset.h" hw/ide/ioport.c +0
-1@@ -27,7 +27,6 @@#include "hw/isa/isa.h" #include "qemu/error-report.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "hw/block/block.h" hw/ide/piix.c +0
-1@@ -28,7 +28,6 @@#include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" #include "sysemu/blockdev.h" #include "sysemu/dma.h" #include "sysemu/reset.h" hw/ide/via.c +0
-1@@ -28,7 +28,6 @@#include "hw/pci/pci.h" #include "migration/vmstate.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "sysemu/dma.h" #include "sysemu/reset.h" hw/input/adb-kbd.c +0
-1@@ -28,7 +28,6 @@#include "qemu/module.h" #include "ui/input.h" #include "hw/input/adb-keys.h" -#include "sysemu/sysemu.h" #include "adb-internal.h" #include "trace.h" hw/intc/allwinner-a10-pic.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/intc/allwinner-a10-pic.h" #include "hw/irq.h" #include "qemu/log.h" hw/intc/mips_gic.c +0
-1@@ -15,7 +15,6 @@#include "qapi/error.h" #include "hw/sysbus.h" #include "exec/memory.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" #include "kvm_mips.h" hw/intc/xics_pnv.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "hw/ppc/xics.h" hw/ipmi/ipmi_bmc_extern.c +0
-1@@ -33,7 +33,6 @@#include "qapi/error.h" #include "qemu/timer.h" #include "chardev/char-fe.h" -#include "sysemu/sysemu.h" #include "hw/ipmi/ipmi.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" hw/isa/vt82c686.c +0
-1@@ -24,7 +24,6 @@#include "hw/acpi/acpi.h" #include "hw/i2c/pm_smbus.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "qemu/module.h" #include "qemu/timer.h" #include "exec/address-spaces.h" hw/misc/armsse-cpuid.c +0
-1@@ -23,7 +23,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/armsse-cpuid.h" hw/misc/armsse-mhu.c +0
-1@@ -20,7 +20,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/registerfields.h" hw/misc/imx6_src.c +0
-1@@ -11,7 +11,6 @@#include "qemu/osdep.h" #include "hw/misc/imx6_src.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/main-loop.h" hw/misc/imx7_gpr.c +0
-1@@ -16,7 +16,6 @@#include "hw/misc/imx7_gpr.h" #include "qemu/log.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "trace.h" hw/misc/iotkit-sysinfo.c +0
-1@@ -22,7 +22,6 @@#include "qemu/module.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/registerfields.h" #include "hw/misc/iotkit-sysinfo.h" hw/misc/mips_cmgcr.c +0
-1@@ -14,7 +14,6 @@#include "qemu/module.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/misc/mips_cmgcr.h" #include "hw/misc/mips_cpc.h" #include "hw/qdev-properties.h" hw/misc/mos6522.c +0
-1@@ -31,7 +31,6 @@#include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/module.h" hw/misc/sga.c +0
-1@@ -29,7 +29,6 @@#include "hw/isa/isa.h" #include "hw/loader.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #define SGABIOS_FILENAME "sgabios.bin"hw/misc/zynq-xadc.c +0
-1@@ -18,7 +18,6 @@#include "hw/misc/zynq-xadc.h" #include "migration/vmstate.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" hw/net/fsl_etsec/etsec.c +0
-1@@ -27,7 +27,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "hw/irq.h" #include "hw/ptimer.h" hw/net/lan9118.c +0
-1@@ -18,7 +18,6 @@#include "hw/hw.h" #include "hw/irq.h" #include "hw/net/lan9118.h" -#include "sysemu/sysemu.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h" #include "qemu/log.h" hw/net/ne2000.c +0
-1@@ -29,7 +29,6 @@#include "hw/irq.h" #include "migration/vmstate.h" #include "ne2000.h" -#include "sysemu/sysemu.h" #include "trace.h" /* debug NE2000 card */ hw/net/opencores_eth.c +0
-1@@ -39,7 +39,6 @@#include "net/net.h" #include "qemu/module.h" #include "net/eth.h" -#include "sysemu/sysemu.h" #include "trace.h" /* RECSMALL is not used because it breaks tap networking in linux: hw/net/pcnet.c +0
-1@@ -43,7 +43,6 @@#include "net/net.h" #include "net/eth.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "pcnet.h" hw/nios2/generic_nommu.c +0
-1@@ -33,7 +33,6 @@#include "hw/sysbus.h" #include "hw/char/serial.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/memory.h" #include "exec/address-spaces.h" hw/pci-host/pam.c +0
-1@@ -29,7 +29,6 @@#include "qemu/osdep.h" #include "qom/object.h" -#include "sysemu/sysemu.h" #include "hw/pci-host/pam.h" void init_pam(DeviceState *dev, MemoryRegion *ram_memory,hw/ppc/pnv_bmc.c +0
-1@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qemu/log.h" #include "hw/ipmi/ipmi.h" hw/ppc/pnv_core.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" hw/ppc/pnv_lpc.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h" hw/ppc/pnv_occ.c +0
-1@@ -17,7 +17,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "target/ppc/cpu.h" #include "qapi/error.h" #include "qemu/log.h" hw/ppc/ppce500_spin.c +0
-1@@ -33,7 +33,6 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/hw_accel.h" -#include "sysemu/sysemu.h" #include "e500.h" #define MAX_CPUS 32hw/ppc/spapr_rng.c +0
-1@@ -23,7 +23,6 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "sysemu/device_tree.h" #include "sysemu/rng.h" #include "hw/ppc/spapr.h" hw/ppc/spapr_vio.c +0
-1@@ -25,7 +25,6 @@#include "qapi/visitor.h" #include "hw/irq.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" #include "hw/loader.h" #include "elf.h" #include "hw/sysbus.h" hw/s390x/event-facility.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "migration/vmstate.h" hw/s390x/sclpcpu.c +0
-1@@ -14,7 +14,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "qemu/module.h" #include "hw/s390x/event-facility.h" hw/s390x/virtio-ccw.c +0
-1@@ -12,7 +12,6 @@#include "qemu/osdep.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "net/net.h" #include "hw/virtio/virtio.h" hw/scsi/scsi-disk.c +0
-1@@ -30,7 +30,6 @@#include "migration/vmstate.h" #include "hw/scsi/emulation.h" #include "scsi/constants.h" -#include "sysemu/sysemu.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "hw/block/block.h" hw/sd/milkymist-memcard.c +0
-1@@ -26,7 +26,6 @@#include "qemu/module.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "qapi/error.h" #include "sysemu/block-backend.h" hw/semihosting/config.c +1
-0@@ -24,6 +24,7 @@#include "qemu/error-report.h" #include "hw/semihosting/semihost.h" #include "chardev/char.h" +#include "sysemu/sysemu.h" QemuOptsList qemu_semihosting_config_opts = { .name ="semihosting-config" ,hw/ssi/aspeed_smc.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "qemu/error-report.h" hw/ssi/imx_spi.c +0
-1@@ -12,7 +12,6 @@#include "hw/irq.h" #include "hw/ssi/imx_spi.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" hw/ssi/xilinx_spi.c +0
-1@@ -27,7 +27,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" #include "qemu/fifo8.h" hw/ssi/xilinx_spips.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h" hw/timer/allwinner-a10-pit.c +0
-1@@ -19,7 +19,6 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/timer/allwinner-a10-pit.h" #include "migration/vmstate.h" #include "qemu/log.h" hw/timer/altera_timer.c +0
-1@@ -24,7 +24,6 @@#include "qapi/error.h" #include "hw/sysbus.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h" hw/timer/exynos4210_rtc.c +0
-1@@ -37,7 +37,6 @@#include "hw/ptimer.h" #include "hw/irq.h" -#include "sysemu/sysemu.h" #include "hw/arm/exynos4210.h" hw/tricore/tricore_testboard.c +0
-1@@ -23,7 +23,6 @@#include "qapi/error.h" #include "cpu.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/loader.h" #include "exec/address-spaces.h" hw/vfio/ap.c +0
-1@@ -25,7 +25,6 @@#include "cpu.h" #include "kvm_s390x.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "hw/qdev-properties.h" #include "hw/s390x/ap-bridge.h" #include "exec/address-spaces.h" hw/vfio/platform.c +0
-1@@ -25,7 +25,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/range.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "qemu/queue.h" hw/xen/xen_pt_load_rom.c +0
-1@@ -9,7 +9,6 @@#include "hw/loader.h" #include "monitor/monitor.h" #include "qemu/range.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "xen_pt.h" hw/xtensa/xtensa_memory.c +0
-1@@ -28,7 +28,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "exec/memory.h" #include "qemu/error-report.h" #include "xtensa_memory.h" monitor/monitor.c +1
-0@@ -31,6 +31,7 @@#include "qemu/error-report.h" #include "qemu/option.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" #include "trace.h" /* net/tap-bsd.c +0
-1@@ -27,7 +27,6 @@#include "qapi/error.h" #include "tap_int.h" #include "qemu/cutils.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #if defined(__NetBSD__) || defined(__FreeBSD__)net/tap-linux.c +0
-1@@ -32,7 +32,6 @@#include <net/if.h> #include <sys/ioctl.h> -#include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "qemu/cutils.h" net/tap-solaris.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "tap_int.h" -#include "sysemu/sysemu.h" #include "qemu/ctype.h" #include "qemu/cutils.h" net/tap-win32.c +0
-1@@ -33,7 +33,6 @@#include "clients.h" /* net_init_tap */ #include "net/net.h" #include "net/tap.h" /* tap_has_ufo, ... */ -#include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include <windows.h> qdev-monitor.c +1
-0@@ -32,6 +32,7 @@#include "qemu/option.h" #include "qemu/qemu-print.h" #include "sysemu/block-backend.h" +#include "sysemu/sysemu.h" #include "migration/misc.h" /* qemu-img.c +0
-1@@ -42,7 +42,6 @@#include "qemu/module.h" #include "qemu/units.h" #include "qom/object_interfaces.h" -#include "sysemu/sysemu.h" #include "sysemu/block-backend.h" #include "block/block_int.h" #include "block/blockjob.h" qom/cpu.c +0
-1@@ -28,7 +28,6 @@#include "exec/log.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "hw/boards.h" #include "hw/qdev-properties.h" replay/replay-audio.c +0
-1@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "audio/audio.h" void replay_audio_out (int *played)replay/replay-char.c +0
-1@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "chardev/char.h" /* Char drivers that generate qemu_chr_be_write events replay/replay-net.c +0
-1@@ -13,7 +13,6 @@#include "qemu/error-report.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "net/net.h" #include "net/filter.h" #include "qemu/iov.h" replay/replay-snapshot.c +0
-1@@ -13,7 +13,6 @@#include "qapi/error.h" #include "sysemu/replay.h" #include "replay-internal.h" -#include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "qapi/qmp/qstring.h" #include "qemu/error-report.h" stubs/replay.c +0
-1@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" ReplayMode replay_mode;stubs/semihost.c +1
-0@@ -12,6 +12,7 @@#include "qemu/option.h" #include "qemu/error-report.h" #include "hw/semihosting/semihost.h" +#include "sysemu/sysemu.h" /* Empty config */ QemuOptsList qemu_semihosting_config_opts = {target/arm/cpu64.c +0
-1@@ -25,7 +25,6 @@#if !defined(CONFIG_USER_ONLY )#include "hw/loader.h" #endif -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "qapi/visitor.h" target/arm/helper-a64.c +0
-1@@ -24,7 +24,6 @@#include "qemu/host-utils.h" #include "qemu/log.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "internals.h" #include "qemu/crc32c.h" target/arm/helper.c +0
-1@@ -16,7 +16,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h" target/arm/kvm32.c +0
-1@@ -16,7 +16,6 @@#include "qemu-common.h" #include "cpu.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "internals.h" target/arm/kvm64.c +0
-1@@ -23,7 +23,6 @@#include "qemu/host-utils.h" #include "qemu/main-loop.h" #include "exec/gdbstub.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "internals.h" target/arm/m_helper.c +0
-1@@ -16,7 +16,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h" target/i386/hvf/x86_task.c +0
-1@@ -29,7 +29,6 @@#include "hw/i386/apic_internal.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "target/i386/cpu.h" // TODO: taskswitch handling target/lm32/helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/exec-all.h" #include "qemu/host-utils.h" -#include "sysemu/sysemu.h" #include "hw/semihosting/semihost.h" #include "exec/log.h" target/m68k/m68k-semi.c +0
-1@@ -28,7 +28,6 @@#include "exec/softmmu-semi.h" #endif #include "qemu/log.h" -#include "sysemu/sysemu.h" #define HOSTED_EXIT 0#define HOSTED_INIT_SIM 1target/nios2/nios2-semi.c +0
-1@@ -32,7 +32,6 @@#include "exec/softmmu-semi.h" #endif #include "qemu/log.h" -#include "sysemu/sysemu.h" #define HOSTED_EXIT 0#define HOSTED_INIT_SIM 1target/ppc/kvm.c +0
-1@@ -27,7 +27,6 @@#include "cpu.h" #include "cpu-models.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/hw_accel.h" #include "kvm_ppc.h" #include "sysemu/cpus.h" target/sparc/helper.c +0
-1@@ -22,7 +22,6 @@#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "sysemu/sysemu.h" void cpu_raise_exception_ra (CPUSPARCState *env,int tt,uintptr_t ra) {target/xtensa/translate.c +0
-1@@ -36,7 +36,6 @@#include "tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h" -#include "sysemu/sysemu.h" #include "exec/cpu_ldst.h" #include "hw/semihosting/semihost.h" #include "exec/translator.h" target/xtensa/xtensa-semi.c +0
-1@@ -32,7 +32,6 @@#include "hw/semihosting/semihost.h" #include "qapi/error.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" enum { TARGET_SYS_exit =1 ,tests/migration-test.c +0
-1@@ -20,7 +20,6 @@#include "qemu/range.h" #include "qemu/sockets.h" #include "chardev/char.h" -#include "sysemu/sysemu.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qobject-output-visitor.h" ui/input-keymap.c +0
-1@@ -1,5 +1,4 @@#include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "keymaps.h" #include "ui/input.h" ui/input-legacy.c +0
-1@@ -24,7 +24,6 @@#include "qemu/osdep.h" #include "qapi/qapi-commands-ui.h" -#include "sysemu/sysemu.h" #include "ui/console.h" #include "keymaps.h" #include "ui/input.h" ui/input-linux.c +0
-1@@ -10,7 +10,6 @@#include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/sockets.h" -#include "sysemu/sysemu.h" #include "ui/input.h" #include "qom/object_interfaces.h" #include "sysemu/iothread.h" ui/keymaps.c +0
-1@@ -25,7 +25,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "keymaps.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "qemu/ctype.h" #include "qemu/error-report.h" ui/sdl2-2d.c +0
-1@@ -27,7 +27,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" void sdl2_2d_update (DisplayChangeListener *dcl,int x,int y,int w,int h)ui/sdl2-gl.c +0
-1@@ -29,7 +29,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" static void sdl2_set_scanout_mode (struct sdl2_console *scon,bool scanout) {ui/sdl2-input.c +0
-1@@ -27,7 +27,6 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" -#include "sysemu/sysemu.h" void sdl2_process_key (struct sdl2_console *scon,SDL_KeyboardEvent *ev)ui/spice-display.c +0
-1@@ -22,7 +22,6 @@#include "qemu/option.h" #include "qemu/queue.h" #include "ui/console.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "ui/spice-display.h" util/qemu-timer.c +0
-0
util/qemu-timer.c line 31
Quoted 7 lines
util/qemu-timer.c +0
-1@@ -26,7 +26,6 @@#include "qemu/main-loop.h" #include "qemu/timer.h" #include "sysemu/replay.h" -#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #ifdef CONFIG_POSIX
--
Alex Bennée
PATCH v4 27/29 Include sysemu/sysemu.h a lot less
In reply to Markus ArmbrusterIn my "build everything" tree, changing sysemu/sysemu.h triggers a recompile of some 5400 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h).
hw/qdev-core.h includes sysemu/sysemu.h since recent commit e965ffa70a "qdev: add qdev_add_vm_change_state_handler()". This is a bad idea:hw/qdev-core.h is widely included.
Move the declaration of qdev_add_vm_change_state_handler() to sysemu/sysemu.h, and drop the problematic include from hw/qdev-core.h.
Touching sysemu/sysemu.h now recompiles some 1800 objects. qemu/uuid.h also drops from 5400 to 1800. A few more headers show smaller improvement: qemu/notify.h drops from 5600 to 5200, qemu/timer.h from 5600 to 4500, and qapi/qapi-types-run-state.h from 5500 to 5000.
--- hw/usb/hcd-ehci.h | 1 + include/hw/qdev-core.h | 5 ----- include/sysemu/sysemu.h | 3 +++ accel/kvm/kvm-all.c | 1 + backends/hostmem.c | 1 + cpus.c | 1 + hw/arm/allwinner-a10.c | 1 + hw/arm/aspeed_soc.c | 1 + hw/arm/kzm.c | 1 + hw/arm/msf2-soc.c | 1 + hw/arm/stm32f205_soc.c | 1 + hw/char/serial-isa.c | 1 + hw/char/xen_console.c | 1 + hw/core/numa.c | 1 + hw/core/vm-change-state-handler.c | 1 + hw/display/qxl-render.c | 1 + hw/i386/xen/xen-hvm.c | 1 + hw/i386/xen/xen-mapcache.c | 1 + hw/intc/ioapic.c | 1 + hw/pci/pci.c | 1 + hw/riscv/sifive_e.c | 1 + hw/riscv/sifive_u.c | 1 + hw/riscv/spike.c | 1 + hw/riscv/virt.c | 1 + hw/sparc64/niagara.c | 2 +- hw/xen/xen-common.c | 1 + hw/xen/xen_devconfig.c | 1 + hw/xenpv/xen_machine_pv.c | 1 + migration/global_state.c | 1 + migration/migration.c | 1 + migration/savevm.c | 1 + 31 files changed, 32 insertions(+), 6 deletions(-)
hw/usb/hcd-ehci.h +1 -0
@@ -21,6 +21,7 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h"
include/hw/qdev-core.h +0 -5
@@ -5,7 +5,6 @@#include "qemu/bitmap.h" #include "qom/object.h" #include "hw/hotplug.h" -#include "sysemu/sysemu.h" enum {DEV_NVECTORS_UNSPECIFIED =-1 ,
@@ -451,8 +450,4 @@ static inline bool qbus_is_hotpluggable(BusState *bus)void device_listener_register (DeviceListener *listener);void device_listener_unregister (DeviceListener *listener); -VMChangeStateEntry *qdev_add_vm_change_state_handler (DeviceState *dev, -VMChangeStateHandler *cb, -void *opaque); -#endif
include/sysemu/sysemu.h +3 -0
@@ -29,6 +29,9 @@ VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb, void *opaque);VMChangeStateEntry *qemu_add_vm_change_state_handler_prio (VMChangeStateHandler *cb,void *opaque,int priority); +VMChangeStateEntry *qdev_add_vm_change_state_handler (DeviceState *dev, +VMChangeStateHandler *cb, +void *opaque);void qemu_del_vm_change_state_handler (VMChangeStateEntry *e);void vm_state_notify (int running,RunState state);
accel/kvm/kvm-all.c +1 -0
@@ -29,6 +29,7 @@#include "exec/gdbstub.h" #include "sysemu/kvm_int.h" #include "sysemu/cpus.h" +#include "sysemu/sysemu.h" #include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h"
backends/hostmem.c +1 -0
@@ -12,6 +12,7 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" +#include "sysemu/sysemu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h"
cpus.c +1 -0
@@ -41,6 +41,7 @@#include "sysemu/kvm.h" #include "sysemu/hax.h" #include "sysemu/hvf.h" +#include "sysemu/sysemu.h" #include "sysemu/whpx.h" #include "exec/exec-all.h"
hw/arm/allwinner-a10.c +1 -0
@@ -23,6 +23,7 @@#include "hw/sysbus.h" #include "hw/arm/allwinner-a10.h" #include "hw/misc/unimp.h" +#include "sysemu/sysemu.h" static void aw_a10_init (Object *obj) {
hw/arm/aspeed_soc.c +1 -0
@@ -22,6 +22,7 @@#include "qemu/error-report.h" #include "hw/i2c/aspeed_i2c.h" #include "net/net.h" +#include "sysemu/sysemu.h" #define ASPEED_SOC_IOMEM_SIZE 0x00200000
hw/arm/kzm.c +1 -0
@@ -24,6 +24,7 @@#include "hw/net/lan9118.h" #include "hw/char/serial.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" /* Memory map for Kzm Emulation Baseboard: * 0x00000000-0x7fffffff See i.MX31 SOC for support
hw/arm/msf2-soc.c +1 -0
@@ -30,6 +30,7 @@#include "hw/irq.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h" +#include "sysemu/sysemu.h" #define MSF2_TIMER_BASE 0x40004000#define MSF2_SYSREG_BASE 0x40038000
hw/arm/stm32f205_soc.c +1 -0
@@ -29,6 +29,7 @@#include "exec/address-spaces.h" #include "hw/arm/stm32f205_soc.h" #include "hw/qdev-properties.h" +#include "sysemu/sysemu.h" /* At the moment only Timer 2 to 5 are modelled */ static const uint32_t timer_addr[STM_NUM_TIMERS ] = {0x40000000 ,0x40000400 ,
hw/char/serial-isa.c +1 -0
@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" +#include "sysemu/sysemu.h" #include "hw/char/serial.h" #include "hw/isa/isa.h" #include "hw/qdev-properties.h"
hw/char/xen_console.c +1 -0
@@ -24,6 +24,7 @@#include <termios.h> #include "qapi/error.h" +#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "hw/xen/xen-legacy-backend.h"
hw/core/numa.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" #include "sysemu/numa.h" +#include "sysemu/sysemu.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" #include "qemu/bitmap.h"
hw/core/vm-change-state-handler.c +1 -0
@@ -17,6 +17,7 @@#include "qemu/osdep.h" #include "hw/qdev-core.h" +#include "sysemu/sysemu.h" static int qdev_get_dev_tree_depth (DeviceState *dev) {
hw/display/qxl-render.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/osdep.h" #include "qxl.h" +#include "sysemu/sysemu.h" #include "trace.h" static void qxl_blit (PCIQXLDevice *qxl,QXLRect *rect)
hw/i386/xen/xen-hvm.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/range.h" +#include "sysemu/sysemu.h" #include "sysemu/xen-mapcache.h" #include "trace.h" #include "exec/address-spaces.h"
hw/i386/xen/xen-mapcache.c +1 -0
@@ -17,6 +17,7 @@#include "hw/xen/xen-legacy-backend.h" #include "qemu/bitmap.h" +#include "sysemu/sysemu.h" #include "sysemu/xen-mapcache.h" #include "trace.h"
hw/intc/ioapic.c +1 -0
@@ -30,6 +30,7 @@#include "hw/pci/msi.h" #include "hw/qdev-properties.h" #include "sysemu/kvm.h" +#include "sysemu/sysemu.h" #include "hw/i386/apic-msidef.h" #include "hw/i386/x86-iommu.h" #include "trace.h"
hw/pci/pci.c +1 -0
@@ -35,6 +35,7 @@#include "monitor/monitor.h" #include "net/net.h" #include "sysemu/numa.h" +#include "sysemu/sysemu.h" #include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/range.h"
hw/riscv/sifive_e.c +1 -0
@@ -46,6 +46,7 @@#include "hw/riscv/boot.h" #include "chardev/char.h" #include "sysemu/arch_init.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" static const struct MemmapEntry {
hw/riscv/sifive_u.c +1 -0
@@ -44,6 +44,7 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/device_tree.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include <libfdt.h>
hw/riscv/spike.c +1 -0
@@ -40,6 +40,7 @@#include "sysemu/arch_init.h" #include "sysemu/device_tree.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include <libfdt.h>
hw/riscv/virt.c +1 -0
@@ -37,6 +37,7 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/device_tree.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/pci/pci.h" #include "hw/pci-host/gpex.h"
hw/sparc64/niagara.c +1 -1
@@ -35,7 +35,7 @@#include "sysemu/block-backend.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" - +#include "sysemu/sysemu.h" typedef struct NiagaraBoardState { MemoryRegion hv_ram;
hw/xen/xen-common.c +1 -0
@@ -14,6 +14,7 @@#include "hw/xen/xen-legacy-backend.h" #include "chardev/char.h" #include "sysemu/accel.h" +#include "sysemu/sysemu.h" #include "migration/misc.h" #include "migration/global_state.h"
hw/xen/xen_devconfig.c +1 -0
@@ -2,6 +2,7 @@#include "hw/xen/xen-legacy-backend.h" #include "qemu/option.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" /* ------------------------------------------------------------- */
hw/xenpv/xen_machine_pv.c +1 -0
@@ -28,6 +28,7 @@#include "hw/xen/xen-legacy-backend.h" #include "hw/xen/xen-bus.h" #include "sysemu/block-backend.h" +#include "sysemu/sysemu.h" static void xen_init_pv (MachineState *machine) {
migration/global_state.c +1 -0
@@ -13,6 +13,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qemu/error-report.h" +#include "sysemu/sysemu.h" #include "qapi/error.h" #include "migration.h" #include "migration/global_state.h"
migration/migration.c +1 -0
@@ -21,6 +21,7 @@#include "exec.h" #include "fd.h" #include "socket.h" +#include "sysemu/sysemu.h" #include "rdma.h" #include "ram.h" #include "migration/global_state.h"
migration/savevm.c +1 -0
@@ -57,6 +57,7 @@#include "io/channel-buffer.h" #include "io/channel-file.h" #include "sysemu/replay.h" +#include "sysemu/sysemu.h" #include "qjson.h" #include "migration/colo.h" #include "qemu/bitmap.h"
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH v4 27/29] Include sysemu/sysemu.h a lot less
Quoted 17 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 5400 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h).
hw/qdev-core.hincludessysemu/sysemu.hsince recent commite965ffa70a"qdev: addqdev_add_vm_change_state_handler()". This is a bad idea:hw/qdev-core.his widely included.Move the declaration of
qdev_add_vm_change_state_handler()tosysemu/sysemu.h, and drop the problematic include fromhw/qdev-core.h.Touching
sysemu/sysemu.hnow recompiles some 1800 objects.qemu/uuid.halso drops from 5400 to 1800. A few more headers show smaller improvement:qemu/notify.hdrops from 5600 to 5200,qemu/timer.hfrom 5600 to 4500, andqapi/qapi-types-run-state.hfrom 5500 to 5000.
Quoted 4 lines
Cc Stefan Hajnoczi <[email protected]>Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Alistair Francis <[email protected]>Reviewed-by Stefan Hajnoczi <[email protected]>
Quoted 411 lines
--- hw/usb/hcd-ehci.h | 1 + include/hw/qdev-core.h | 5 ----- include/sysemu/sysemu.h | 3 +++ accel/kvm/kvm-all.c | 1 + backends/hostmem.c | 1 + cpus.c | 1 + hw/arm/allwinner-a10.c | 1 + hw/arm/aspeed_soc.c | 1 + hw/arm/kzm.c | 1 + hw/arm/msf2-soc.c | 1 + hw/arm/stm32f205_soc.c | 1 + hw/char/serial-isa.c | 1 + hw/char/xen_console.c | 1 + hw/core/numa.c | 1 + hw/core/vm-change-state-handler.c | 1 + hw/display/qxl-render.c | 1 + hw/i386/xen/xen-hvm.c | 1 + hw/i386/xen/xen-mapcache.c | 1 + hw/intc/ioapic.c | 1 + hw/pci/pci.c | 1 + hw/riscv/sifive_e.c | 1 + hw/riscv/sifive_u.c | 1 + hw/riscv/spike.c | 1 + hw/riscv/virt.c | 1 + hw/sparc64/niagara.c | 2 +- hw/xen/xen-common.c | 1 + hw/xen/xen_devconfig.c | 1 + hw/xenpv/xen_machine_pv.c | 1 + migration/global_state.c | 1 + migration/migration.c | 1 + migration/savevm.c | 1 + 31 files changed, 32 insertions(+), 6 deletions(-)hw/usb/hcd-ehci.h +1
-0@@ -21,6 +21,7 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h" include/hw/qdev-core.h +0
-5@@ -5,7 +5,6 @@#include "qemu/bitmap.h" #include "qom/object.h" #include "hw/hotplug.h" -#include "sysemu/sysemu.h" enum {DEV_NVECTORS_UNSPECIFIED =-1 ,@@ -451,8 +450,4 @@ static inline bool qbus_is_hotpluggable(BusState *bus)void device_listener_register (DeviceListener *listener);void device_listener_unregister (DeviceListener *listener); -VMChangeStateEntry *qdev_add_vm_change_state_handler (DeviceState *dev, -VMChangeStateHandler *cb, -void *opaque); -#endif include/sysemu/sysemu.h +3
-0@@ -29,6 +29,9 @@ VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb, void *opaque);VMChangeStateEntry *qemu_add_vm_change_state_handler_prio (VMChangeStateHandler *cb,void *opaque,int priority); +VMChangeStateEntry *qdev_add_vm_change_state_handler (DeviceState *dev, +VMChangeStateHandler *cb, +void *opaque);void qemu_del_vm_change_state_handler (VMChangeStateEntry *e);void vm_state_notify (int running,RunState state);accel/kvm/kvm-all.c +1
-0@@ -29,6 +29,7 @@#include "exec/gdbstub.h" #include "sysemu/kvm_int.h" #include "sysemu/cpus.h" +#include "sysemu/sysemu.h" #include "qemu/bswap.h" #include "exec/memory.h" #include "exec/ram_addr.h" backends/hostmem.c +1
-0@@ -12,6 +12,7 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" +#include "sysemu/sysemu.h" #include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-builtin-visit.h" cpus.c +1
-0@@ -41,6 +41,7 @@#include "sysemu/kvm.h" #include "sysemu/hax.h" #include "sysemu/hvf.h" +#include "sysemu/sysemu.h" #include "sysemu/whpx.h" #include "exec/exec-all.h" hw/arm/allwinner-a10.c +1
-0@@ -23,6 +23,7 @@#include "hw/sysbus.h" #include "hw/arm/allwinner-a10.h" #include "hw/misc/unimp.h" +#include "sysemu/sysemu.h" static void aw_a10_init (Object *obj) {hw/arm/aspeed_soc.c +1
-0@@ -22,6 +22,7 @@#include "qemu/error-report.h" #include "hw/i2c/aspeed_i2c.h" #include "net/net.h" +#include "sysemu/sysemu.h" #define ASPEED_SOC_IOMEM_SIZE 0x00200000hw/arm/kzm.c +1
-0@@ -24,6 +24,7 @@#include "hw/net/lan9118.h" #include "hw/char/serial.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" /* Memory map for Kzm Emulation Baseboard: * 0x00000000-0x7fffffff See i.MX31 SOC for support hw/arm/msf2-soc.c +1
-0@@ -30,6 +30,7 @@#include "hw/irq.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h" +#include "sysemu/sysemu.h" #define MSF2_TIMER_BASE 0x40004000#define MSF2_SYSREG_BASE 0x40038000hw/arm/stm32f205_soc.c +1
-0@@ -29,6 +29,7 @@#include "exec/address-spaces.h" #include "hw/arm/stm32f205_soc.h" #include "hw/qdev-properties.h" +#include "sysemu/sysemu.h" /* At the moment only Timer 2 to 5 are modelled */ static const uint32_t timer_addr[STM_NUM_TIMERS ] = {0x40000000 ,0x40000400 ,hw/char/serial-isa.c +1
-0@@ -26,6 +26,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" +#include "sysemu/sysemu.h" #include "hw/char/serial.h" #include "hw/isa/isa.h" #include "hw/qdev-properties.h" hw/char/xen_console.c +1
-0@@ -24,6 +24,7 @@#include <termios.h> #include "qapi/error.h" +#include "sysemu/sysemu.h" #include "chardev/char-fe.h" #include "hw/xen/xen-legacy-backend.h" hw/core/numa.c +1
-0@@ -25,6 +25,7 @@#include "qemu/osdep.h" #include "sysemu/hostmem.h" #include "sysemu/numa.h" +#include "sysemu/sysemu.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" #include "qemu/bitmap.h" hw/core/vm-change-state-handler.c +1
-0@@ -17,6 +17,7 @@#include "qemu/osdep.h" #include "hw/qdev-core.h" +#include "sysemu/sysemu.h" static int qdev_get_dev_tree_depth (DeviceState *dev) {hw/display/qxl-render.c +1
-0@@ -21,6 +21,7 @@#include "qemu/osdep.h" #include "qxl.h" +#include "sysemu/sysemu.h" #include "trace.h" static void qxl_blit (PCIQXLDevice *qxl,QXLRect *rect)hw/i386/xen/xen-hvm.c +1
-0@@ -25,6 +25,7 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/range.h" +#include "sysemu/sysemu.h" #include "sysemu/xen-mapcache.h" #include "trace.h" #include "exec/address-spaces.h" hw/i386/xen/xen-mapcache.c +1
-0@@ -17,6 +17,7 @@#include "hw/xen/xen-legacy-backend.h" #include "qemu/bitmap.h" +#include "sysemu/sysemu.h" #include "sysemu/xen-mapcache.h" #include "trace.h" hw/intc/ioapic.c +1
-0@@ -30,6 +30,7 @@#include "hw/pci/msi.h" #include "hw/qdev-properties.h" #include "sysemu/kvm.h" +#include "sysemu/sysemu.h" #include "hw/i386/apic-msidef.h" #include "hw/i386/x86-iommu.h" #include "trace.h" hw/pci/pci.c +1
-0@@ -35,6 +35,7 @@#include "monitor/monitor.h" #include "net/net.h" #include "sysemu/numa.h" +#include "sysemu/sysemu.h" #include "hw/loader.h" #include "qemu/error-report.h" #include "qemu/range.h" hw/riscv/sifive_e.c +1
-0@@ -46,6 +46,7 @@#include "hw/riscv/boot.h" #include "chardev/char.h" #include "sysemu/arch_init.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" static const struct MemmapEntry {hw/riscv/sifive_u.c +1
-0@@ -44,6 +44,7 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/device_tree.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include <libfdt.h> hw/riscv/spike.c +1
-0@@ -40,6 +40,7 @@#include "sysemu/arch_init.h" #include "sysemu/device_tree.h" #include "sysemu/qtest.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include <libfdt.h> hw/riscv/virt.c +1
-0@@ -37,6 +37,7 @@#include "chardev/char.h" #include "sysemu/arch_init.h" #include "sysemu/device_tree.h" +#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "hw/pci/pci.h" #include "hw/pci-host/gpex.h" hw/sparc64/niagara.c +1
-1@@ -35,7 +35,7 @@#include "sysemu/block-backend.h" #include "qemu/error-report.h" #include "sysemu/qtest.h" - +#include "sysemu/sysemu.h" typedef struct NiagaraBoardState { MemoryRegion hv_ram;hw/xen/xen-common.c +1
-0@@ -14,6 +14,7 @@#include "hw/xen/xen-legacy-backend.h" #include "chardev/char.h" #include "sysemu/accel.h" +#include "sysemu/sysemu.h" #include "migration/misc.h" #include "migration/global_state.h" hw/xen/xen_devconfig.c +1
-0@@ -2,6 +2,7 @@#include "hw/xen/xen-legacy-backend.h" #include "qemu/option.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" /* ------------------------------------------------------------- */ hw/xenpv/xen_machine_pv.c +1
-0@@ -28,6 +28,7 @@#include "hw/xen/xen-legacy-backend.h" #include "hw/xen/xen-bus.h" #include "sysemu/block-backend.h" +#include "sysemu/sysemu.h" static void xen_init_pv (MachineState *machine) {migration/global_state.c +1
-0@@ -13,6 +13,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qemu/error-report.h" +#include "sysemu/sysemu.h" #include "qapi/error.h" #include "migration.h" #include "migration/global_state.h" migration/migration.c +1
-0@@ -21,6 +21,7 @@#include "exec.h" #include "fd.h" #include "socket.h" +#include "sysemu/sysemu.h" #include "rdma.h" #include "ram.h" #include "migration/global_state.h" migration/savevm.c +0
-0
migration/savevm.c line 63
Quoted 7 lines
migration/savevm.c +1
-0@@ -57,6 +57,7 @@#include "io/channel-buffer.h" #include "io/channel-file.h" #include "sysemu/replay.h" +#include "sysemu/sysemu.h" #include "qjson.h" #include "migration/colo.h" #include "qemu/bitmap.h"
--
Alex Bennée
PATCH v4 28/29 sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
In reply to Markus ArmbrusterIn my "build everything" tree, changing sysemu/sysemu.h triggers a recompile of some 1800 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h, down from 5400 due to the previous commit).
Several headers include sysemu/sysemu.h just to get typedef VMChangeStateEntry. Move it from sysemu/sysemu.h to qemu/typedefs.h. Spell its structure tag the same while there. Drop the now superfluous includes of sysemu/sysemu.h from headers.
Touching sysemu/sysemu.h now recompiles some 1100 objects. qemu/uuid.h also drops from 1800 to 1100, and qapi/qapi-types-run-state.h from 5000 to 4400.
--- hw/usb/hcd-ehci.h | 1 - include/hw/ide/internal.h | 3 ++- include/hw/ppc/spapr_xive.h | 1 - include/hw/scsi/scsi.h | 1 - include/hw/virtio/virtio.h | 1 - include/qemu/typedefs.h | 1 + include/sysemu/sysemu.h | 1 - hw/block/vhost-user-blk.c | 1 + hw/block/virtio-blk.c | 1 + hw/display/virtio-gpu.c | 1 + hw/misc/macio/macio.c | 1 + hw/net/virtio-net.c | 1 + hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-virtio-ccw.c | 1 + hw/scsi/scsi-bus.c | 1 + hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/usb/hcd-ehci.c | 1 + hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio.c | 1 + vl.c | 6 +++--- 21 files changed, 19 insertions(+), 9 deletions(-)
hw/usb/hcd-ehci.h +0 -1
@@ -21,7 +21,6 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h"
include/hw/ide/internal.h +2 -1
@@ -6,11 +6,12 @@* only files in hw/ide/ are supposed to include this file. * non-internal declarations are in hw/ide.h */ + +#include "qapi/qapi-types-run-state.h" #include "hw/ide.h" #include "hw/irq.h" #include "hw/isa/isa.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/block/block.h" #include "scsi/constants.h"
include/hw/ppc/spapr_xive.h +0 -1
@@ -12,7 +12,6 @@#include "hw/ppc/spapr_irq.h" #include "hw/ppc/xive.h" -#include "sysemu/sysemu.h" #define TYPE_SPAPR_XIVE "spapr-xive"#define SPAPR_XIVE (obj) OBJECT_CHECK(SpaprXive, (obj), TYPE_SPAPR_XIVE)
include/hw/scsi/scsi.h +0 -1
@@ -4,7 +4,6 @@#include "block/aio.h" #include "hw/block/block.h" #include "hw/qdev-core.h" -#include "sysemu/sysemu.h" #include "scsi/utils.h" #include "qemu/notify.h"
include/hw/virtio/virtio.h +0 -1
@@ -17,7 +17,6 @@#include "exec/memory.h" #include "hw/qdev-core.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "qemu/event_notifier.h" #include "standard-headers/linux/virtio_config.h"
include/qemu/typedefs.h +1 -0
@@ -102,6 +102,7 @@ typedef struct SHPCDevice SHPCDevice;typedef struct SSIBus SSIBus ;typedef struct VirtIODevice VirtIODevice ;typedef struct Visitor Visitor ; +typedef struct VMChangeStateEntry VMChangeStateEntry ;typedef struct VMStateDescription VMStateDescription ;/*
include/sysemu/sysemu.h +0 -1
@@ -22,7 +22,6 @@ void runstate_set(RunState new_state);int runstate_is_running (void );bool runstate_needs_reset (void );bool runstate_store (char *str,size_t size); -typedef struct vm_change_state_entry VMChangeStateEntry ;typedef void VMChangeStateHandler (void *opaque,int running,RunState state); VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb,
hw/block/vhost-user-blk.c +1 -0
@@ -28,6 +28,7 @@#include "hw/virtio/virtio.h" #include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" +#include "sysemu/sysemu.h" static const int user_feature_bits[] = {VIRTIO_BLK_F_SIZE_MAX ,
hw/block/virtio-blk.c +1 -0
@@ -20,6 +20,7 @@#include "hw/block/block.h" #include "hw/qdev-properties.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" #include "hw/virtio/virtio-blk.h" #include "dataplane/virtio-blk.h" #include "scsi/constants.h"
hw/display/virtio-gpu.c +1 -0
@@ -17,6 +17,7 @@#include "ui/console.h" #include "trace.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" #include "hw/virtio/virtio.h" #include "migration/qemu-file-types.h" #include "hw/virtio/virtio-gpu.h"
hw/misc/macio/macio.c +1 -0
@@ -35,6 +35,7 @@#include "hw/char/escc.h" #include "hw/misc/macio/macio.h" #include "hw/intc/heathrow_pic.h" +#include "sysemu/sysemu.h" #include "trace.h" /* Note: this code is strongly inspirated from the corresponding code
hw/net/virtio-net.c +1 -0
@@ -31,6 +31,7 @@#include "hw/virtio/virtio-access.h" #include "migration/misc.h" #include "standard-headers/linux/ethtool.h" +#include "sysemu/sysemu.h" #include "trace.h" #define VIRTIO_NET_VM_VERSION 11
hw/s390x/s390-ccw.c +1 -0
@@ -19,6 +19,7 @@#include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" #include "hw/s390x/s390-ccw.h" +#include "sysemu/sysemu.h" IOInstEnding s390_ccw_cmd_request (SubchDev *sch) {
hw/s390x/s390-virtio-ccw.c +1 -0
@@ -40,6 +40,7 @@#include "hw/nmi.h" #include "hw/qdev-properties.h" #include "hw/s390x/tod.h" +#include "sysemu/sysemu.h" S390CPU *s390_cpu_addr2state (uint16_t cpu_addr) {
hw/scsi/scsi-bus.c +1 -0
@@ -10,6 +10,7 @@#include "scsi/constants.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" #include "trace.h" #include "sysemu/dma.h" #include "qemu/cutils.h"
hw/scsi/vhost-scsi.c +1 -0
@@ -30,6 +30,7 @@#include "hw/fw-path-provider.h" #include "hw/qdev-properties.h" #include "qemu/cutils.h" +#include "sysemu/sysemu.h" /* Features supported by host kernel. */ static const int kernel_feature_bits[] = {
hw/scsi/vhost-user-scsi.c +1 -0
@@ -28,6 +28,7 @@#include "hw/virtio/virtio.h" #include "hw/virtio/virtio-access.h" #include "chardev/char-fe.h" +#include "sysemu/sysemu.h" /* Features supported by the host application */ static const int user_feature_bits[] = {
hw/usb/hcd-ehci.c +1 -0
@@ -35,6 +35,7 @@#include "trace.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "sysemu/sysemu.h" #define FRAME_TIMER_FREQ 1000#define FRAME_TIMER_NS (NANOSECONDS_PER_SECOND / FRAME_TIMER_FREQ)
hw/virtio/virtio-rng.c +1 -0
@@ -17,6 +17,7 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-rng.h" #include "sysemu/rng.h" +#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "trace.h"
hw/virtio/virtio.c +1 -0
@@ -26,6 +26,7 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" /* * The alignment to use between consumer and producer parts of vring.
vl.c +3 -3
@@ -1362,14 +1362,14 @@ static int machine_help_func(QemuOpts *opts, MachineState *machine)return 1 ; } -struct vm_change_state_entry { +struct VMChangeStateEntry {VMChangeStateHandler *cb;void *opaque; -QTAILQ_ENTRY (vm_change_state_entry) entries; +QTAILQ_ENTRY (VMChangeStateEntry) entries;int priority; }; -static QTAILQ_HEAD(, vm_change_state_entry) vm_change_state_head; +static QTAILQ_HEAD(, VMChangeStateEntry) vm_change_state_head;/** * qemu_add_vm_change_state_handler_prio:
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH v4 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
Quoted 9 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 1800 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h, down from 5400 due to the previous commit).Several headers include
sysemu/sysemu.hjust to get typedef VMChangeStateEntry. Move it fromsysemu/sysemu.htoqemu/typedefs.h. Spell its structure tag the same while there. Drop the now superfluous includes ofsysemu/sysemu.hfrom headers.
You should probably mention you also fix the struct definition to meet our coding style. Otherwise:
Quoted 288 lines
Touching
sysemu/sysemu.hnow recompiles some 1100 objects.qemu/uuid.halso drops from 1800 to 1100, andqapi/qapi-types-run-state.hfrom 5000 to 4400.Signed-off-by Markus Armbruster <[email protected]>--- hw/usb/hcd-ehci.h | 1 - include/hw/ide/internal.h | 3 ++- include/hw/ppc/spapr_xive.h | 1 - include/hw/scsi/scsi.h | 1 - include/hw/virtio/virtio.h | 1 - include/qemu/typedefs.h | 1 + include/sysemu/sysemu.h | 1 - hw/block/vhost-user-blk.c | 1 + hw/block/virtio-blk.c | 1 + hw/display/virtio-gpu.c | 1 + hw/misc/macio/macio.c | 1 + hw/net/virtio-net.c | 1 + hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-virtio-ccw.c | 1 + hw/scsi/scsi-bus.c | 1 + hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/usb/hcd-ehci.c | 1 + hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio.c | 1 + vl.c | 6 +++--- 21 files changed, 19 insertions(+), 9 deletions(-)hw/usb/hcd-ehci.h +0
-1@@ -21,7 +21,6 @@#include "qemu/timer.h" #include "hw/usb.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/sysbus.h" include/hw/ide/internal.h +2
-1@@ -6,11 +6,12 @@* only files in hw/ide/ are supposed to include this file. * non-internal declarations are in hw/ide.h */ + +#include "qapi/qapi-types-run-state.h" #include "hw/ide.h" #include "hw/irq.h" #include "hw/isa/isa.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" #include "hw/block/block.h" #include "scsi/constants.h" include/hw/ppc/spapr_xive.h +0
-1@@ -12,7 +12,6 @@#include "hw/ppc/spapr_irq.h" #include "hw/ppc/xive.h" -#include "sysemu/sysemu.h" #define TYPE_SPAPR_XIVE "spapr-xive"#define SPAPR_XIVE (obj) OBJECT_CHECK(SpaprXive, (obj), TYPE_SPAPR_XIVE)include/hw/scsi/scsi.h +0
-1@@ -4,7 +4,6 @@#include "block/aio.h" #include "hw/block/block.h" #include "hw/qdev-core.h" -#include "sysemu/sysemu.h" #include "scsi/utils.h" #include "qemu/notify.h" include/hw/virtio/virtio.h +0
-1@@ -17,7 +17,6 @@#include "exec/memory.h" #include "hw/qdev-core.h" #include "net/net.h" -#include "sysemu/sysemu.h" #include "migration/vmstate.h" #include "qemu/event_notifier.h" #include "standard-headers/linux/virtio_config.h" include/qemu/typedefs.h +1
-0@@ -102,6 +102,7 @@ typedef struct SHPCDevice SHPCDevice;typedef struct SSIBus SSIBus ;typedef struct VirtIODevice VirtIODevice ;typedef struct Visitor Visitor ; +typedef struct VMChangeStateEntry VMChangeStateEntry ;typedef struct VMStateDescription VMStateDescription ;/* include/sysemu/sysemu.h +0
-1@@ -22,7 +22,6 @@ void runstate_set(RunState new_state);int runstate_is_running (void );bool runstate_needs_reset (void );bool runstate_store (char *str,size_t size); -typedef struct vm_change_state_entry VMChangeStateEntry ;typedef void VMChangeStateHandler (void *opaque,int running,RunState state); VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb,hw/block/vhost-user-blk.c +1
-0@@ -28,6 +28,7 @@#include "hw/virtio/virtio.h" #include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" +#include "sysemu/sysemu.h" static const int user_feature_bits[] = {VIRTIO_BLK_F_SIZE_MAX ,hw/block/virtio-blk.c +1
-0@@ -20,6 +20,7 @@#include "hw/block/block.h" #include "hw/qdev-properties.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" #include "hw/virtio/virtio-blk.h" #include "dataplane/virtio-blk.h" #include "scsi/constants.h" hw/display/virtio-gpu.c +1
-0@@ -17,6 +17,7 @@#include "ui/console.h" #include "trace.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" #include "hw/virtio/virtio.h" #include "migration/qemu-file-types.h" #include "hw/virtio/virtio-gpu.h" hw/misc/macio/macio.c +1
-0@@ -35,6 +35,7 @@#include "hw/char/escc.h" #include "hw/misc/macio/macio.h" #include "hw/intc/heathrow_pic.h" +#include "sysemu/sysemu.h" #include "trace.h" /* Note: this code is strongly inspirated from the corresponding code hw/net/virtio-net.c +1
-0@@ -31,6 +31,7 @@#include "hw/virtio/virtio-access.h" #include "migration/misc.h" #include "standard-headers/linux/ethtool.h" +#include "sysemu/sysemu.h" #include "trace.h" #define VIRTIO_NET_VM_VERSION 11hw/s390x/s390-ccw.c +1
-0@@ -19,6 +19,7 @@#include "hw/s390x/css.h" #include "hw/s390x/css-bridge.h" #include "hw/s390x/s390-ccw.h" +#include "sysemu/sysemu.h" IOInstEnding s390_ccw_cmd_request (SubchDev *sch) {hw/s390x/s390-virtio-ccw.c +1
-0@@ -40,6 +40,7 @@#include "hw/nmi.h" #include "hw/qdev-properties.h" #include "hw/s390x/tod.h" +#include "sysemu/sysemu.h" S390CPU *s390_cpu_addr2state (uint16_t cpu_addr) {hw/scsi/scsi-bus.c +1
-0@@ -10,6 +10,7 @@#include "scsi/constants.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" +#include "sysemu/sysemu.h" #include "trace.h" #include "sysemu/dma.h" #include "qemu/cutils.h" hw/scsi/vhost-scsi.c +1
-0@@ -30,6 +30,7 @@#include "hw/fw-path-provider.h" #include "hw/qdev-properties.h" #include "qemu/cutils.h" +#include "sysemu/sysemu.h" /* Features supported by host kernel. */ static const int kernel_feature_bits[] = {hw/scsi/vhost-user-scsi.c +1
-0@@ -28,6 +28,7 @@#include "hw/virtio/virtio.h" #include "hw/virtio/virtio-access.h" #include "chardev/char-fe.h" +#include "sysemu/sysemu.h" /* Features supported by the host application */ static const int user_feature_bits[] = {hw/usb/hcd-ehci.c +1
-0@@ -35,6 +35,7 @@#include "trace.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" +#include "sysemu/sysemu.h" #define FRAME_TIMER_FREQ 1000#define FRAME_TIMER_NS (NANOSECONDS_PER_SECOND / FRAME_TIMER_FREQ)hw/virtio/virtio-rng.c +1
-0@@ -17,6 +17,7 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-rng.h" #include "sysemu/rng.h" +#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" #include "trace.h" hw/virtio/virtio.c +1
-0@@ -26,6 +26,7 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "sysemu/dma.h" +#include "sysemu/sysemu.h" /* * The alignment to use between consumer and producer parts of vring. vl.c +1
-1@@ -1362,14 +1362,14 @@ static int machine_help_func(QemuOpts *opts, MachineState *machine)return 1 ; } -struct vm_change_state_entry { +struct VMChangeStateEntry {VMChangeStateHandler *cb;void *opaque;
vl.c static int machine_help_func(QemuOpts *opts, MachineState *machine) · line 1375
Quoted 10 lines
vl.c +2
-2-QTAILQ_ENTRY (vm_change_state_entry) entries; +QTAILQ_ENTRY (VMChangeStateEntry) entries;int priority; }; -static QTAILQ_HEAD(, vm_change_state_entry) vm_change_state_head; +static QTAILQ_HEAD(, VMChangeStateEntry) vm_change_state_head;/** * qemu_add_vm_change_state_handler_prio:
--
Alex Bennée
Re: [Qemu-devel] [PATCH v4 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
Quoted 7 lines · Alex Bennée
Quoted 5 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 1800 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h, down from 5400 due to the previous commit).
Quoted 7 lines
Quoted 4 lines
Several headers include
sysemu/sysemu.hjust to get typedef VMChangeStateEntry. Move it fromsysemu/sysemu.htoqemu/typedefs.h. Spell its structure tag the same while there. Drop the now superfluous includes ofsysemu/sysemu.hfrom headers.You should probably mention you also fix the struct definition to meet our coding style. Otherwise:
I did: "Spell its structure tag the same while there." Would you like to suggest a better wording?
Quoted 1 line
Reviewed-by Alex Bennée <[email protected]>
Thanks!
Re: [Qemu-devel] [PATCH v4 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
Quoted 14 lines · Markus Armbruster
Quoted 12 lines · Alex Bennée
Quoted 9 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 1800 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h, down from 5400 due to the previous commit).Several headers include
sysemu/sysemu.hjust to get typedef VMChangeStateEntry. Move it fromsysemu/sysemu.htoqemu/typedefs.h. Spell its structure tag the same while there. Drop the now superfluous includes ofsysemu/sysemu.hfrom headers.
Quoted 5 lines
Quoted 2 lines
You should probably mention you also fix the struct definition to meet our coding style. Otherwise:
I did: "Spell its structure tag the same while there." Would you like to suggest a better wording?
Apologies - my eyes obviously glazed over that part...
Quoted 4 lines
Quoted 2 lines
Reviewed-by Alex Bennée <[email protected]>Thanks!
--
Alex Bennée
Re: [Qemu-devel] [PATCH v4 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
In reply to Markus ArmbrusterQuoted 5 lines · Markus Armbruster
In my "build everything" tree, changing
sysemu/sysemu.htriggers a recompile of some 1800 out of 6600 objects (not counting tests and objects that don't depend onqemu/osdep.h, down from 5400 due to the previous commit).
Quoted 8 lines
Several headers include
sysemu/sysemu.hjust to get typedef VMChangeStateEntry. Move it fromsysemu/sysemu.htoqemu/typedefs.h. Spell its structure tag the same while there. Drop the now superfluous includes ofsysemu/sysemu.hfrom headers.Touching
sysemu/sysemu.hnow recompiles some 1100 objects.qemu/uuid.halso drops from 1800 to 1100, andqapi/qapi-types-run-state.hfrom 5000 to 4400.
Nice :)
Quoted 2 lines
Signed-off-by Markus Armbruster <[email protected]>
Quoted 23 lines
--- hw/usb/hcd-ehci.h | 1 - include/hw/ide/internal.h | 3 ++- include/hw/ppc/spapr_xive.h | 1 - include/hw/scsi/scsi.h | 1 - include/hw/virtio/virtio.h | 1 - include/qemu/typedefs.h | 1 + include/sysemu/sysemu.h | 1 - hw/block/vhost-user-blk.c | 1 + hw/block/virtio-blk.c | 1 + hw/display/virtio-gpu.c | 1 + hw/misc/macio/macio.c | 1 + hw/net/virtio-net.c | 1 + hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-virtio-ccw.c | 1 + hw/scsi/scsi-bus.c | 1 + hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/usb/hcd-ehci.c | 1 + hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio.c | 1 + vl.c | 6 +++--- 21 files changed, 19 insertions(+), 9 deletions(-)
PATCH v4 29/29 sysemu: Split sysemu/runstate.h off sysemu/sysemu.h
In reply to Markus Armbrustersysemu/sysemu.h is a rather unfocused dumping ground for stuff related to the system-emulator. Evidence:
* It's included widely: in my "build everything" tree, changing sysemu/sysemu.h still triggers a recompile of some 1100 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h, down from 5400 due to the previous two commits).
* It pulls in more than a dozen additional headers.
Split stuff related to run state management into its own header sysemu/runstate.h.
Touching sysemu/sysemu.h now recompiles some 850 objects. qemu/uuid.h also drops from 1100 to 850, and qapi/qapi-types-run-state.h from 4400 to 4200. Touching new sysemu/runstate.h recompiles some 500 objects.
Since I'm touching MAINTAINERS to add sysemu/runstate.h anyway, also add qemu/main-loop.h.
--- include/hw/ppc/spapr_drc.h | 2 +- include/sysemu/runstate.h | 68 +++++++++++++++++++++++++++++++ include/sysemu/sysemu.h | 61 --------------------------- accel/kvm/kvm-all.c | 1 + audio/audio.c | 2 +- block/block-backend.c | 2 +- blockdev.c | 1 + cpus.c | 2 +- dump/dump.c | 2 +- gdbstub.c | 1 + hw/acpi/core.c | 2 +- hw/acpi/ich9.c | 2 +- hw/acpi/piix4.c | 1 + hw/arm/highbank.c | 1 + hw/arm/integratorcp.c | 1 + hw/arm/msf2-soc.c | 1 + hw/arm/musicpal.c | 1 + hw/arm/nseries.c | 1 + hw/arm/omap1.c | 1 + hw/arm/omap2.c | 1 + hw/arm/sbsa-ref.c | 1 + hw/arm/spitz.c | 1 + hw/arm/stellaris.c | 1 + hw/arm/tosa.c | 2 +- hw/arm/virt.c | 1 + hw/block/pflash_cfi01.c | 2 +- hw/block/vhost-user-blk.c | 1 + hw/block/virtio-blk.c | 1 + hw/char/serial.c | 2 +- hw/core/machine-qmp-cmds.c | 1 + hw/core/vm-change-state-handler.c | 2 +- hw/display/qxl-render.c | 2 +- hw/display/qxl.c | 2 +- hw/dma/etraxfs_dma.c | 2 +- hw/i386/kvm/clock.c | 2 +- hw/i386/kvm/i8254.c | 2 +- hw/i386/kvmvapic.c | 1 + hw/i386/pc.c | 1 + hw/i386/xen/xen-hvm.c | 1 + hw/i386/xen/xen-mapcache.c | 2 +- hw/ide/core.c | 2 +- hw/ide/qdev.c | 1 + hw/input/pckbd.c | 2 +- hw/input/ps2.c | 2 +- hw/intc/arm_gicv3_its_kvm.c | 2 +- hw/intc/arm_gicv3_kvm.c | 2 +- hw/intc/spapr_xive_kvm.c | 1 + hw/ipmi/ipmi.c | 2 +- hw/isa/lpc_ich9.c | 1 + hw/mips/boston.c | 1 + hw/mips/mips_malta.c | 1 + hw/mips/mips_r4k.c | 1 + hw/misc/arm_sysctl.c | 2 +- hw/misc/cbus.c | 2 +- hw/misc/exynos4210_pmu.c | 2 +- hw/misc/imx7_snvs.c | 2 +- hw/misc/iotkit-sysctl.c | 2 +- hw/misc/macio/cuda.c | 2 +- hw/misc/macio/pmu.c | 2 +- hw/misc/pvpanic.c | 2 +- hw/misc/slavio_misc.c | 2 +- hw/misc/zynq_slcr.c | 2 +- hw/net/e1000e_core.c | 2 +- hw/nvram/spapr_nvram.c | 2 + hw/pci-host/bonito.c | 2 +- hw/pci-host/piix.c | 2 +- hw/pci-host/sabre.c | 2 +- hw/ppc/e500.c | 1 + hw/ppc/mpc8544_guts.c | 2 +- hw/ppc/pnv.c | 1 + hw/ppc/ppc.c | 2 +- hw/ppc/ppc_booke.c | 2 +- hw/ppc/prep_systemio.c | 2 +- hw/ppc/spapr.c | 1 + hw/ppc/spapr_events.c | 2 +- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_rtas.c | 2 + hw/rdma/vmw/pvrdma_main.c | 2 +- hw/s390x/ipl.c | 1 + hw/s390x/sclpquiesce.c | 2 +- hw/s390x/tod-kvm.c | 2 +- hw/scsi/scsi-bus.c | 1 + hw/sh4/r2d.c | 1 + hw/sparc/sun4m.c | 1 + hw/sparc64/sun4u.c | 1 + hw/timer/etraxfs_timer.c | 2 +- hw/timer/m48t59.c | 1 + hw/timer/mc146818rtc.c | 1 + hw/timer/milkymist-sysctl.c | 2 +- hw/timer/pxa2xx_timer.c | 2 +- hw/usb/hcd-ehci.c | 2 +- hw/usb/host-libusb.c | 1 + hw/usb/redirect.c | 1 + hw/vfio/pci.c | 1 + hw/virtio/virtio-rng.c | 3 +- hw/virtio/virtio.c | 2 +- hw/watchdog/watchdog.c | 2 +- hw/xen/xen-common.c | 2 +- hw/xtensa/xtfpga.c | 1 + memory.c | 2 +- migration/block-dirty-bitmap.c | 2 +- migration/colo.c | 1 + migration/global_state.c | 2 +- migration/migration.c | 1 + migration/savevm.c | 1 + monitor/hmp-cmds.c | 2 +- monitor/hmp.c | 2 +- monitor/misc.c | 1 + monitor/qmp-cmds.c | 1 + net/net.c | 2 + os-posix.c | 2 +- os-win32.c | 2 +- qapi/qmp-dispatch.c | 2 +- qtest.c | 2 +- replay/replay-internal.c | 2 +- replay/replay.c | 2 +- stubs/change-state-handler.c | 2 +- stubs/runstate-check.c | 2 +- stubs/vm-stop.c | 2 +- target/alpha/sys_helper.c | 1 + target/arm/psci.c | 2 +- target/hppa/op_helper.c | 2 +- target/i386/excp_helper.c | 2 +- target/i386/hax-all.c | 2 +- target/i386/helper.c | 2 +- target/i386/hvf/hvf.c | 3 +- target/i386/kvm.c | 1 + target/i386/sev.c | 1 + target/i386/whpx-all.c | 2 +- target/lm32/op_helper.c | 2 +- target/mips/kvm.c | 2 +- target/s390x/helper.c | 2 +- target/s390x/kvm.c | 1 + target/s390x/sigp.c | 2 +- target/sh4/helper.c | 3 +- target/sparc/int32_helper.c | 2 +- ui/gtk.c | 1 + ui/input.c | 1 + ui/sdl2.c | 1 + ui/spice-core.c | 2 +- vl.c | 1 + MAINTAINERS | 2 + 142 files changed, 215 insertions(+), 143 deletions(-) create mode 100644 include/sysemu/runstate.h
include/hw/ppc/spapr_drc.h +1 -1
@@ -15,7 +15,7 @@#include <libfdt.h> #include "qom/object.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/qdev-core.h" #include "qapi/error.h"
include/sysemu/runstate.h new file +68 -0
68 lines not on this page · raw message
include/sysemu/sysemu.h +0 -61
75 lines not on this page · raw message
accel/kvm/kvm-all.c +1 -0
@@ -28,6 +28,7 @@#include "hw/s390x/adapter.h" #include "exec/gdbstub.h" #include "sysemu/kvm_int.h" +#include "sysemu/runstate.h" #include "sysemu/cpus.h" #include "sysemu/sysemu.h" #include "qemu/bswap.h"
audio/audio.c +1 -1
@@ -30,10 +30,10 @@#include "qapi/error.h" #include "qapi/qobject-input-visitor.h" #include "qapi/qapi-visit-audio.h" -#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qemu/module.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" #include "trace.h" #define AUDIO_CAP "audio"
block/block-backend.c +1 -1
@@ -17,7 +17,7 @@#include "block/throttle-groups.h" #include "hw/qdev-core.h" #include "sysemu/blockdev.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qapi/error.h" #include "qapi/qapi-events-block.h" #include "qemu/id.h"
blockdev.c +1 -0
@@ -58,6 +58,7 @@#include "block/trace.h" #include "sysemu/arch_init.h" #include "sysemu/qtest.h" +#include "sysemu/runstate.h" #include "qemu/cutils.h" #include "qemu/help_option.h" #include "qemu/main-loop.h"
cpus.c +1 -1
@@ -41,7 +41,6 @@#include "sysemu/kvm.h" #include "sysemu/hax.h" #include "sysemu/hvf.h" -#include "sysemu/sysemu.h" #include "sysemu/whpx.h" #include "exec/exec-all.h"
@@ -56,6 +55,7 @@#include "tcg.h" #include "hw/nmi.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" #include "hw/boards.h" #include "hw/hw.h"
dump/dump.c +1 -1
@@ -20,8 +20,8 @@#include "monitor/monitor.h" #include "sysemu/kvm.h" #include "sysemu/dump.h" -#include "sysemu/sysemu.h" #include "sysemu/memory_mapping.h" +#include "sysemu/runstate.h" #include "sysemu/cpus.h" #include "qapi/error.h" #include "qapi/qapi-commands-dump.h"
gdbstub.c +1 -0
@@ -48,6 +48,7 @@#include "qemu/sockets.h" #include "sysemu/hw_accel.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "hw/semihosting/semihost.h" #include "exec/exec-all.h"
hw/acpi/core.c +1 -1
@@ -20,7 +20,6 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h"
@@ -32,6 +31,7 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "qemu/option.h" +#include "sysemu/runstate.h" struct acpi_table_header {uint16_t _length;/* our length, not actual part of the hdr */
hw/acpi/ich9.c +1 -1
@@ -33,7 +33,7 @@#include "qemu/timer.h" #include "qom/cpu.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/acpi/acpi.h" #include "hw/acpi/tco.h" #include "exec/address-spaces.h"
hw/acpi/piix4.c +1 -0
@@ -28,6 +28,7 @@#include "hw/qdev-properties.h" #include "hw/acpi/acpi.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qapi/error.h" #include "qemu/range.h"
hw/arm/highbank.c +1 -0
@@ -26,6 +26,7 @@#include "hw/loader.h" #include "net/net.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/address-spaces.h"
hw/arm/integratorcp.c +1 -0
@@ -18,6 +18,7 @@#include "hw/net/smc91c111.h" #include "net/net.h" #include "exec/address-spaces.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "hw/char/pl011.h"
hw/arm/msf2-soc.c +1 -0
@@ -30,6 +30,7 @@#include "hw/irq.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #define MSF2_TIMER_BASE 0x40004000
hw/arm/musicpal.c +1 -0
@@ -29,6 +29,7 @@#include "hw/irq.h" #include "hw/audio/wm8750.h" #include "sysemu/block-backend.h" +#include "sysemu/runstate.h" #include "exec/address-spaces.h" #include "ui/pixel_ops.h"
hw/arm/nseries.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/cutils.h" #include "qemu/bswap.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/arm/omap.h" #include "hw/arm/boot.h"
hw/arm/omap1.c +1 -0
@@ -34,6 +34,7 @@#include "hw/arm/soc_dma.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qemu/range.h" #include "hw/sysbus.h" #include "qemu/cutils.h"
hw/arm/omap2.c +1 -0
@@ -25,6 +25,7 @@#include "sysemu/blockdev.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h"
hw/arm/sbsa-ref.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/units.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "exec/hwaddr.h"
hw/arm/spitz.c +1 -0
@@ -14,6 +14,7 @@#include "qapi/error.h" #include "hw/arm/pxa.h" #include "hw/arm/boot.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/pcmcia.h" #include "hw/qdev-properties.h"
hw/arm/stellaris.c +1 -0
@@ -18,6 +18,7 @@#include "hw/boards.h" #include "qemu/log.h" #include "exec/address-spaces.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/arm/armv7m.h" #include "hw/char/pl011.h"
hw/arm/tosa.c +1 -1
@@ -13,6 +13,7 @@#include "qemu/osdep.h" #include "qapi/error.h" +#include "sysemu/runstate.h" #include "hw/arm/pxa.h" #include "hw/arm/boot.h" #include "hw/arm/sharpsl.h"
@@ -24,7 +25,6 @@#include "hw/ssi/ssi.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #define TOSA_RAM 0x04000000#define TOSA_ROM 0x00800000
hw/arm/virt.c +1 -0
@@ -45,6 +45,7 @@#include "net/net.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "hw/loader.h"
hw/block/pflash_cfi01.c +1 -1
@@ -52,7 +52,7 @@#include "hw/sysbus.h" #include "migration/vmstate.h" #include "sysemu/blockdev.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h" /* #define PFLASH_DEBUG */
hw/block/vhost-user-blk.c +1 -0
@@ -29,6 +29,7 @@#include "hw/virtio/virtio-bus.h" #include "hw/virtio/virtio-access.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" static const int user_feature_bits[] = {VIRTIO_BLK_F_SIZE_MAX ,
hw/block/virtio-blk.c +1 -0
@@ -21,6 +21,7 @@#include "hw/qdev-properties.h" #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/virtio/virtio-blk.h" #include "dataplane/virtio-blk.h" #include "scsi/constants.h"
hw/char/serial.c +1 -1
@@ -31,7 +31,7 @@#include "qapi/error.h" #include "qemu/timer.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/error-report.h" #include "trace.h"
hw/core/machine-qmp-cmds.c +1 -0
@@ -17,6 +17,7 @@#include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "sysemu/numa.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" CpuInfoList *qmp_query_cpus (Error **errp)
hw/core/vm-change-state-handler.c +1 -1
@@ -17,7 +17,7 @@#include "qemu/osdep.h" #include "hw/qdev-core.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" static int qdev_get_dev_tree_depth (DeviceState *dev) {
hw/display/qxl-render.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "qxl.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h" static void qxl_blit (PCIQXLDevice *qxl,QXLRect *rect)
hw/display/qxl.c +1 -1
@@ -28,8 +28,8 @@#include "qemu/atomic.h" #include "qemu/main-loop.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "hw/qdev-properties.h" +#include "sysemu/runstate.h" #include "migration/blocker.h" #include "migration/vmstate.h" #include "trace.h"
hw/dma/etraxfs_dma.c +1 -1
@@ -26,8 +26,8 @@#include "hw/hw.h" #include "hw/irq.h" #include "qemu/main-loop.h" +#include "sysemu/runstate.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #include "hw/cris/etraxfs_dma.h"
hw/i386/kvm/clock.c +1 -1
@@ -17,8 +17,8 @@#include "cpu.h" #include "qemu/host-utils.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/hw_accel.h" #include "kvm_i386.h" #include "migration/vmstate.h"
hw/i386/kvm/i8254.c +1 -1
@@ -29,7 +29,7 @@#include "qapi/error.h" #include "qemu/module.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/timer/i8254.h" #include "hw/timer/i8254_internal.h" #include "sysemu/kvm.h"
hw/i386/kvmvapic.c +1 -0
@@ -16,6 +16,7 @@#include "sysemu/cpus.h" #include "sysemu/hw_accel.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "hw/i386/apic_internal.h" #include "hw/sysbus.h" #include "hw/boards.h"
hw/i386/pc.c +1 -0
@@ -56,6 +56,7 @@#include "sysemu/kvm.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "kvm_i386.h" #include "hw/xen/xen.h" #include "hw/xen/start_info.h"
hw/i386/xen/xen-hvm.c +1 -0
@@ -25,6 +25,7 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/range.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "sysemu/xen-mapcache.h" #include "trace.h"
hw/i386/xen/xen-mapcache.c +1 -1
@@ -17,7 +17,7 @@#include "hw/xen/xen-legacy-backend.h" #include "qemu/bitmap.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "sysemu/xen-mapcache.h" #include "trace.h"
hw/ide/core.c +1 -1
@@ -37,7 +37,7 @@#include "qapi/error.h" #include "qemu/cutils.h" #include "sysemu/replay.h" - +#include "sysemu/runstate.h" #include "hw/ide/internal.h" #include "trace.h"
hw/ide/qdev.c +1 -0
@@ -30,6 +30,7 @@#include "sysemu/blockdev.h" #include "hw/block/block.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qapi/visitor.h" /* --------------------------------- */
hw/input/pckbd.c +1 -1
@@ -31,7 +31,7 @@#include "hw/irq.h" #include "hw/input/i8042.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h"
hw/input/ps2.c +1 -1
@@ -29,7 +29,7 @@#include "ui/console.h" #include "ui/input.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h"
hw/intc/arm_gicv3_its_kvm.c +1 -1
@@ -23,7 +23,7 @@#include "qemu/module.h" #include "hw/intc/arm_gicv3_its_common.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "sysemu/kvm.h" #include "kvm_arm.h" #include "migration/blocker.h"
hw/intc/arm_gicv3_kvm.c +1 -1
@@ -26,7 +26,7 @@#include "qemu/error-report.h" #include "qemu/module.h" #include "sysemu/kvm.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "kvm_arm.h" #include "gicv3_internal.h" #include "vgic_common.h"
hw/intc/spapr_xive_kvm.c +1 -0
@@ -14,6 +14,7 @@#include "target/ppc/cpu.h" #include "sysemu/cpus.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_cpu_core.h" #include "hw/ppc/spapr_xive.h"
hw/ipmi/ipmi.c +1 -1
@@ -25,8 +25,8 @@#include "qemu/osdep.h" #include "hw/ipmi/ipmi.h" #include "hw/qdev-properties.h" -#include "sysemu/sysemu.h" #include "qom/object_interfaces.h" +#include "sysemu/runstate.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc.h" #include "qapi/visitor.h"
hw/isa/lpc_ich9.c +1 -0
@@ -47,6 +47,7 @@#include "hw/pci/pci_bus.h" #include "hw/qdev-properties.h" #include "exec/address-spaces.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qom/cpu.h" #include "hw/nvram/fw_cfg.h"
hw/mips/boston.c +1 -0
@@ -38,6 +38,7 @@#include "sysemu/device_tree.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" +#include "sysemu/runstate.h" #include <libfdt.h>
hw/mips/mips_malta.c +1 -0
@@ -52,6 +52,7 @@#include "qemu/host-utils.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "hw/empty_slot.h"
hw/mips/mips_r4k.c +1 -0
@@ -34,6 +34,7 @@#include "exec/address-spaces.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qemu/error-report.h" #define MAX_IDE_BUS 2
hw/misc/arm_sysctl.c +1 -1
@@ -11,11 +11,11 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "qemu/bitops.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/arm/primecell.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h"
hw/misc/cbus.c +1 -1
@@ -24,7 +24,7 @@#include "hw/hw.h" #include "hw/irq.h" #include "hw/misc/cbus.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" //#define DEBUG
hw/misc/exynos4210_pmu.c +1 -1
@@ -28,7 +28,7 @@#include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #ifndef DEBUG_PMU #define DEBUG_PMU 0
hw/misc/imx7_snvs.c +1 -1
@@ -16,7 +16,7 @@#include "hw/misc/imx7_snvs.h" #include "qemu/log.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" static uint64_t imx7_snvs_read (void *opaque,hwaddr offset,unsigned size) {
hw/misc/iotkit-sysctl.c +1 -1
@@ -20,9 +20,9 @@#include "qemu/bitops.h" #include "qemu/log.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "trace.h" #include "qapi/error.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/registerfields.h"
hw/misc/macio/cuda.c +1 -1
@@ -32,7 +32,7 @@#include "hw/misc/mos6522.h" #include "hw/misc/macio/cuda.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/module.h"
hw/misc/macio/pmu.c +1 -1
@@ -39,7 +39,7 @@#include "hw/misc/macio/gpio.h" #include "hw/misc/macio/pmu.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/cutils.h" #include "qemu/log.h" #include "qemu/module.h"
hw/misc/pvpanic.c +1 -1
@@ -13,9 +13,9 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "hw/nvram/fw_cfg.h" #include "hw/qdev-properties.h"
hw/misc/slavio_misc.c +1 -1
@@ -23,11 +23,11 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/irq.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "trace.h" /*
hw/misc/zynq_slcr.c +1 -1
@@ -16,9 +16,9 @@#include "qemu/osdep.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "qemu/log.h" #include "qemu/module.h"
hw/net/e1000e_core.c +1 -1
@@ -34,12 +34,12 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "net/net.h" #include "net/tap.h" #include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" +#include "sysemu/runstate.h" #include "net_tx_pkt.h" #include "net_rx_pkt.h"
hw/nvram/spapr_nvram.c +2 -0
@@ -31,6 +31,8 @@#include "sysemu/block-backend.h" #include "sysemu/device_tree.h" +#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/nvram/chrp_nvram.h"
hw/pci-host/bonito.c +1 -1
@@ -46,7 +46,7 @@#include "hw/pci/pci_host.h" #include "migration/vmstate.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "exec/address-spaces.h" //#define DEBUG_BONITO
hw/pci-host/piix.c +1 -1
@@ -37,7 +37,7 @@#include "migration/vmstate.h" #include "hw/pci-host/pam.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/i386/ioapic.h" #include "qapi/visitor.h" #include "qemu/error-report.h"
hw/pci-host/sabre.c +1 -1
@@ -34,10 +34,10 @@#include "hw/irq.h" #include "hw/pci-bridge/simba.h" #include "hw/pci-host/sabre.h" -#include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "qemu/log.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "trace.h" /*
hw/ppc/e500.c +1 -0
@@ -28,6 +28,7 @@#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "kvm_ppc.h" #include "sysemu/device_tree.h" #include "hw/ppc/openpic.h"
hw/ppc/mpc8544_guts.c +1 -1
@@ -19,8 +19,8 @@#include "qemu/osdep.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" #define MPC8544_GUTS_MMIO_SIZE 0x1000
hw/ppc/pnv.c +1 -0
@@ -24,6 +24,7 @@#include "sysemu/sysemu.h" #include "sysemu/numa.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/cpus.h" #include "sysemu/device_tree.h" #include "target/ppc/cpu.h"
hw/ppc/ppc.c +1 -1
@@ -28,12 +28,12 @@#include "hw/ppc/ppc.h" #include "hw/ppc/ppc_e500.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "kvm_ppc.h" #include "migration/vmstate.h" #include "trace.h"
hw/ppc/ppc_booke.c +1 -1
@@ -27,7 +27,7 @@#include "hw/ppc/ppc.h" #include "qemu/timer.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/log.h" #include "hw/loader.h" #include "kvm_ppc.h"
hw/ppc/prep_systemio.c +1 -1
@@ -30,7 +30,7 @@#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 "sysemu/runstate.h" #include "cpu.h" #include "trace.h"
hw/ppc/spapr.c +1 -0
@@ -33,6 +33,7 @@#include "sysemu/numa.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qemu/log.h" #include "hw/fw-path-provider.h" #include "elf.h"
hw/ppc/spapr_events.c +1 -1
@@ -28,8 +28,8 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "sysemu/sysemu.h" #include "sysemu/device_tree.h" +#include "sysemu/runstate.h" #include "hw/ppc/fdt.h" #include "hw/ppc/spapr.h"
hw/ppc/spapr_hcall.c +1 -1
@@ -1,7 +1,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "sysemu/hw_accel.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/module.h"
hw/ppc/spapr_rtas.c +2 -0
@@ -24,6 +24,7 @@* THE SOFTWARE. * */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/log.h"
@@ -32,6 +33,7 @@#include "sysemu/device_tree.h" #include "sysemu/cpus.h" #include "sysemu/hw_accel.h" +#include "sysemu/runstate.h" #include "kvm_ppc.h" #include "hw/ppc/spapr.h"
hw/rdma/vmw/pvrdma_main.c +1 -1
@@ -23,7 +23,6 @@#include "hw/qdev-properties.h" #include "cpu.h" #include "trace.h" -#include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "hw/rdma/rdma.h"
@@ -34,6 +33,7 @@#include <infiniband/verbs.h> #include "pvrdma.h" #include "standard-headers/rdma/vmw_pvrdma-abi.h" +#include "sysemu/runstate.h" #include "standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h" #include "pvrdma_qp_ops.h"
hw/s390x/ipl.c +1 -0
@@ -15,6 +15,7 @@#include "qemu-common.h" #include "qapi/error.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "cpu.h"
hw/s390x/sclpquiesce.c +1 -1
@@ -13,10 +13,10 @@*/ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #include "migration/vmstate.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "hw/s390x/event-facility.h" typedef struct SignalQuiesce {
hw/s390x/tod-kvm.c +1 -1
@@ -11,7 +11,7 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/s390x/tod.h" #include "kvm_s390x.h"
hw/scsi/scsi-bus.c +1 -0
@@ -11,6 +11,7 @@#include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h" #include "sysemu/dma.h" #include "qemu/cutils.h"
hw/sh4/r2d.c +1 -0
@@ -30,6 +30,7 @@#include "hw/sysbus.h" #include "hw/sh4/sh.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/pci/pci.h"
hw/sparc/sun4m.c +1 -0
@@ -36,6 +36,7 @@#include "hw/sparc/sparc32_dma.h" #include "hw/block/fdc.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "net/net.h" #include "hw/boards.h"
hw/sparc64/sun4u.c +1 -0
@@ -42,6 +42,7 @@#include "hw/block/fdc.h" #include "net/net.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/nvram/sun_nvram.h"
hw/timer/etraxfs_timer.c +1 -1
@@ -25,7 +25,7 @@#include "qemu/osdep.h" #include "hw/sysbus.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/main-loop.h" #include "qemu/module.h" #include "qemu/timer.h"
hw/timer/m48t59.c +1 -0
@@ -29,6 +29,7 @@#include "hw/qdev-properties.h" #include "hw/timer/m48t59.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "exec/address-spaces.h"
hw/timer/mc146818rtc.c +1 -0
@@ -33,6 +33,7 @@#include "sysemu/sysemu.h" #include "sysemu/replay.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "hw/timer/mc146818rtc.h" #include "migration/vmstate.h" #include "qapi/error.h"
hw/timer/milkymist-sysctl.c +1 -1
@@ -25,9 +25,9 @@#include "hw/irq.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "hw/ptimer.h" #include "hw/qdev-properties.h" #include "qemu/error-report.h"
hw/timer/pxa2xx_timer.c +1 -1
@@ -11,7 +11,7 @@#include "hw/irq.h" #include "hw/qdev-properties.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "hw/arm/pxa.h" #include "hw/sysbus.h" #include "migration/vmstate.h"
hw/usb/hcd-ehci.c +1 -1
@@ -35,7 +35,7 @@#include "trace.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #define FRAME_TIMER_FREQ 1000#define FRAME_TIMER_NS (NANOSECONDS_PER_SECOND / FRAME_TIMER_FREQ)
hw/usb/host-libusb.c +1 -0
@@ -45,6 +45,7 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/module.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "trace.h"
hw/usb/redirect.c +1 -0
@@ -30,6 +30,7 @@#include "qemu/units.h" #include "qapi/error.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qapi/qmp/qerror.h" #include "qemu/error-report.h"
hw/vfio/pci.c +1 -0
@@ -35,6 +35,7 @@#include "qemu/range.h" #include "qemu/units.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "pci.h" #include "trace.h"
hw/virtio/virtio-rng.c +2 -1
@@ -13,11 +13,12 @@#include "qapi/error.h" #include "qemu/iov.h" #include "qemu/module.h" +#include "qemu/timer.h" #include "hw/virtio/virtio.h" #include "hw/qdev-properties.h" #include "hw/virtio/virtio-rng.h" #include "sysemu/rng.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qom/object_interfaces.h" #include "trace.h"
hw/virtio/virtio.c +1 -1
@@ -26,7 +26,7 @@#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "sysemu/dma.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" /* * The alignment to use between consumer and producer parts of vring.
hw/watchdog/watchdog.c +1 -1
@@ -26,7 +26,7 @@#include "qapi/error.h" #include "qapi/qapi-commands-run-state.h" #include "qapi/qapi-events-run-state.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "sysemu/watchdog.h" #include "hw/nmi.h" #include "qemu/help_option.h"
hw/xen/xen-common.c +1 -1
@@ -14,7 +14,7 @@#include "hw/xen/xen-legacy-backend.h" #include "chardev/char.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "migration/misc.h" #include "migration/global_state.h"
hw/xtensa/xtfpga.c +1 -0
@@ -43,6 +43,7 @@#include "chardev/char.h" #include "sysemu/device_tree.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qemu/error-report.h" #include "qemu/option.h" #include "bootparam.h"
memory.c +1 -1
@@ -29,7 +29,7 @@#include "exec/memory-internal.h" #include "exec/ram_addr.h" #include "sysemu/kvm.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "sysemu/tcg.h" #include "sysemu/accel.h" #include "hw/boards.h"
migration/block-dirty-bitmap.c +1 -1
@@ -62,6 +62,7 @@#include "block/block.h" #include "block/block_int.h" #include "sysemu/block-backend.h" +#include "sysemu/runstate.h" #include "qemu/main-loop.h" #include "qemu/error-report.h" #include "migration/misc.h"
@@ -70,7 +71,6 @@#include "migration/vmstate.h" #include "migration/register.h" #include "qemu/hbitmap.h" -#include "sysemu/sysemu.h" #include "qemu/cutils.h" #include "qapi/error.h" #include "trace.h"
migration/colo.c +1 -0
@@ -35,6 +35,7 @@#include "qapi/qapi-events-migration.h" #include "qapi/qmp/qerror.h" #include "sysemu/cpus.h" +#include "sysemu/runstate.h" #include "net/filter.h" static bool vmstate_loading;
migration/global_state.c +1 -1
@@ -13,7 +13,7 @@#include "qemu/osdep.h" #include "qemu/cutils.h" #include "qemu/error-report.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qapi/error.h" #include "migration.h" #include "migration/global_state.h"
migration/migration.c +1 -0
@@ -21,6 +21,7 @@#include "exec.h" #include "fd.h" #include "socket.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "rdma.h" #include "ram.h"
migration/savevm.c +1 -0
@@ -57,6 +57,7 @@#include "io/channel-buffer.h" #include "io/channel-file.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qjson.h" #include "migration/colo.h"
monitor/hmp-cmds.c +1 -1
@@ -19,7 +19,7 @@#include "net/eth.h" #include "chardev/char.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/config-file.h" #include "qemu/option.h" #include "qemu/timer.h"
monitor/hmp.c +1 -1
@@ -35,7 +35,7 @@#include "qemu/option.h" #include "qemu/units.h" #include "sysemu/block-backend.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h" static void monitor_command_cb(void *opaque, const char *cmdline,
monitor/misc.c +1 -0
@@ -44,6 +44,7 @@#include "sysemu/balloon.h" #include "qemu/timer.h" #include "sysemu/hw_accel.h" +#include "sysemu/runstate.h" #include "authz/list.h" #include "qapi/util.h" #include "sysemu/blockdev.h"
monitor/qmp-cmds.c +1 -0
@@ -26,6 +26,7 @@#include "ui/qemu-spice.h" #include "ui/vnc.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/arch_init.h" #include "sysemu/blockdev.h" #include "sysemu/block-backend.h"
net/net.c +2 -0
@@ -50,6 +50,8 @@#include "qapi/opts-visitor.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" +#include "sysemu/runstate.h" +#include "sysemu/sysemu.h" #include "net/filter.h" #include "qapi/string-output-visitor.h"
os-posix.c +1 -1
@@ -31,11 +31,11 @@#include "qemu-common.h" /* Needed early for CONFIG_BSD etc. */ -#include "sysemu/sysemu.h" #include "net/slirp.h" #include "qemu-options.h" #include "qemu/error-report.h" #include "qemu/log.h" +#include "sysemu/runstate.h" #include "qemu/cutils.h" #ifdef CONFIG_LINUX
os-win32.c +1 -1
@@ -27,8 +27,8 @@#include <windows.h> #include <mmsystem.h> #include "qemu-common.h" -#include "sysemu/sysemu.h" #include "qemu-options.h" +#include "sysemu/runstate.h" /***********************************************************/ /* Functions missing in mingw */
qapi/qmp-dispatch.c +1 -1
@@ -16,8 +16,8 @@#include "qapi/qmp/dispatch.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qjson.h" +#include "sysemu/runstate.h" #include "qapi/qmp/qbool.h" -#include "sysemu/sysemu.h" static QDict *qmp_dispatch_check_obj (const QObject *request,bool allow_oob,Error **errp)
qtest.c +1 -1
@@ -15,12 +15,12 @@#include "qapi/error.h" #include "cpu.h" #include "sysemu/qtest.h" +#include "sysemu/runstate.h" #include "chardev/char-fe.h" #include "exec/ioport.h" #include "exec/memory.h" #include "hw/irq.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "sysemu/cpus.h" #include "qemu/config-file.h" #include "qemu/option.h"
replay/replay-internal.c +1 -1
@@ -11,10 +11,10 @@#include "qemu/osdep.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" #include "replay-internal.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" /* Mutex to protect reading and writing events to the log. data_kind and has_unread_data are also protected
replay/replay.c +1 -1
@@ -12,12 +12,12 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" #include "replay-internal.h" #include "qemu/timer.h" #include "qemu/main-loop.h" #include "qemu/option.h" #include "sysemu/cpus.h" -#include "sysemu/sysemu.h" #include "qemu/error-report.h" /* Current version of the replay mechanism.
stubs/change-state-handler.c +1 -1
@@ -1,5 +1,5 @@#include "qemu/osdep.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" VMChangeStateEntry *qemu_add_vm_change_state_handler (VMChangeStateHandler *cb,void *opaque)
stubs/runstate-check.c +1 -1
@@ -1,6 +1,6 @@#include "qemu/osdep.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" bool runstate_check (RunState state) {return state ==RUN_STATE_PRELAUNCH ;
stubs/vm-stop.c +1 -1
@@ -1,6 +1,6 @@#include "qemu/osdep.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" void qemu_system_vmstop_request_prepare (void ) {abort ();
target/alpha/sys_helper.c +1 -0
@@ -21,6 +21,7 @@#include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qemu/timer.h"
target/arm/psci.c +1 -1
@@ -21,7 +21,7 @@#include "exec/helper-proto.h" #include "kvm-consts.h" #include "qemu/main-loop.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "internals.h" #include "arm-powerctl.h"
target/hppa/op_helper.c +1 -1
@@ -22,8 +22,8 @@#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" -#include "sysemu/sysemu.h" #include "qemu/timer.h" +#include "sysemu/runstate.h" #include "fpu/softfloat.h" #include "trace.h"
target/i386/excp_helper.c +1 -1
@@ -21,7 +21,7 @@#include "cpu.h" #include "exec/exec-all.h" #include "qemu/log.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "exec/helper-proto.h" void helper_raise_interrupt (CPUX86State *env,int intno,int next_eip_addend)
target/i386/hax-all.c +1 -1
@@ -31,7 +31,7 @@#include "hax-i386.h" #include "sysemu/accel.h" #include "sysemu/reset.h" -#include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qemu/main-loop.h" #include "hw/boards.h"
target/i386/helper.c +1 -1
@@ -22,9 +22,9 @@#include "exec/exec-all.h" #include "qemu/qemu-print.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "kvm_i386.h" #ifndef CONFIG_USER_ONLY -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "sysemu/hw_accel.h" #include "monitor/monitor.h"
target/i386/hvf/hvf.c +2 -1
@@ -45,11 +45,13 @@* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/error-report.h" #include "sysemu/hvf.h" +#include "sysemu/runstate.h" #include "hvf-i386.h" #include "vmcs.h" #include "vmx.h"
@@ -68,7 +70,6 @@#include "hw/i386/apic_internal.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" -#include "sysemu/sysemu.h" #include "target/i386/cpu.h" HVFState *hvf_state;
target/i386/kvm.c +1 -0
@@ -25,6 +25,7 @@#include "sysemu/hw_accel.h" #include "sysemu/kvm_int.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "kvm_i386.h" #include "hyperv.h" #include "hyperv-proto.h"
target/i386/sev.c +1 -0
@@ -25,6 +25,7 @@#include "sysemu/kvm.h" #include "sev_i386.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "trace.h" #include "migration/blocker.h"
target/i386/whpx-all.c +1 -1
@@ -15,8 +15,8 @@#include "qemu-common.h" #include "sysemu/accel.h" #include "sysemu/whpx.h" -#include "sysemu/sysemu.h" #include "sysemu/cpus.h" +#include "sysemu/runstate.h" #include "qemu/main-loop.h" #include "qemu/error-report.h" #include "qapi/error.h"
target/lm32/op_helper.c +1 -1
@@ -3,6 +3,7 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" +#include "sysemu/runstate.h" #include "hw/lm32/lm32_pic.h" #include "hw/char/lm32_juart.h"
@@ -11,7 +12,6 @@#include "exec/cpu_ldst.h" #ifndef CONFIG_USER_ONLY -#include "sysemu/sysemu.h" #endif #if !defined(CONFIG_USER_ONLY )
target/mips/kvm.c +1 -1
@@ -20,8 +20,8 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/cpus.h" #include "kvm_mips.h" #include "exec/memattrs.h"
target/s390x/helper.c +1 -1
@@ -26,8 +26,8 @@#include "qemu/qemu-print.h" #include "hw/s390x/ioinst.h" #include "sysemu/hw_accel.h" +#include "sysemu/runstate.h" #ifndef CONFIG_USER_ONLY -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #endif
target/s390x/kvm.c +1 -0
@@ -37,6 +37,7 @@#include "qemu/log.h" #include "sysemu/sysemu.h" #include "sysemu/hw_accel.h" +#include "sysemu/runstate.h" #include "sysemu/device_tree.h" #include "exec/gdbstub.h" #include "exec/ram_addr.h"
target/s390x/sigp.c +1 -1
@@ -12,9 +12,9 @@#include "cpu.h" #include "internal.h" #include "sysemu/hw_accel.h" +#include "sysemu/runstate.h" #include "exec/address-spaces.h" #include "exec/exec-all.h" -#include "sysemu/sysemu.h" #include "sysemu/tcg.h" #include "trace.h" #include "qapi/qapi-types-machine.h"
target/sh4/helper.c +2 -1
@@ -16,15 +16,16 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/log.h" -#include "sysemu/sysemu.h" #if !defined(CONFIG_USER_ONLY )#include "hw/sh4/sh_intc.h" +#include "sysemu/runstate.h" #endif #define MMU_OK 0
target/sparc/int32_helper.c +1 -1
@@ -20,8 +20,8 @@#include "qemu/osdep.h" #include "cpu.h" #include "trace.h" -#include "sysemu/sysemu.h" #include "exec/log.h" +#include "sysemu/runstate.h" #define DEBUG_PCALL
ui/gtk.c +1 -0
@@ -47,6 +47,7 @@#include "trace.h" #include "ui/input.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "keymaps.h" #include "chardev/char.h"
ui/input.c +1 -0
@@ -8,6 +8,7 @@#include "ui/input.h" #include "ui/console.h" #include "sysemu/replay.h" +#include "sysemu/runstate.h" struct QemuInputHandlerState {DeviceState *dev;
ui/sdl2.c +1 -0
@@ -28,6 +28,7 @@#include "ui/console.h" #include "ui/input.h" #include "ui/sdl2.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" static int sdl2_num_outputs;
ui/spice-core.c +1 -1
@@ -19,7 +19,7 @@#include <spice.h> #include "sysemu/sysemu.h" - +#include "sysemu/runstate.h" #include "ui/qemu-spice.h" #include "qemu/error-report.h" #include "qemu/main-loop.h"
vl.c +1 -0
@@ -32,6 +32,7 @@#include "qemu/help_option.h" #include "qemu/uuid.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/seccomp.h" #include "sysemu/tcg.h"
MAINTAINERS +2 -0
@@ -1924,6 +1924,8 @@ Main loop M: Paolo Bonzini <[email protected]> S: Maintained F: cpus.c +F: include/qemu/main-loop.h +F: include/sysemu/runstate.h F: util/main-loop.c F: util/qemu-timer.c F: vl.c
Signature · 1 line
2.21.0