Header cleanup patches for 2019-08-13
Subsystems (5)
[Qemu-devel] [PULL v2 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.
Message-Id: <[email protected]>
--- 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 + ui/cocoa.m | 1 + 143 files changed, 216 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
ui/cocoa.m +1 -0
@@ -31,6 +31,7 @@ #include "ui/console.h" #include "ui/input.h" #include "sysemu/sysemu.h" +#include "sysemu/runstate.h" #include "qapi/error.h" #include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-misc.h"
Signature · 1 line
2.21.0
The following changes since commit f8f2eac4e5de8ce8ef17591ee1b84904437be25b:
Open 4.2 development tree (2019-08-15 17:20:55 +0100)
are available in the Git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-include-2019-08-13-v2
for you to fetch changes up to 54d31236b906c8f03eb011717de7bc47000720c3:
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h (2019-08-16 13:37:36 +0200)
----------------------------------------------------------------
Header cleanup patches for 2019-08-13
----------------------------------------------------------------
Markus Armbruster (29):
include: Make headers more self-contained
Include generated QAPI headers less
qapi: Split error.json off common.json
memory: Fix type of IOMMUMemoryRegionClass member @parent_class
queue: Drop superfluous #include qemu/atomic.h
trace: Eliminate use of TARGET_FMT_plx
trace: Do not include qom/cpu.h into generated trace.h Include sysemu/reset.h a lot less
Include migration/qemu-file-types.h a lot less
ide: Include hw/ide/internal a bit less outside hw/ide/
typedefs: Separate incomplete types and function types Include hw/irq.h a lot less
Clean up inclusion of exec/cpu-common.h
migration: Move the VMStateDescription typedef to typedefs.h Include migration/vmstate.h less
Include exec/memory.h slightly less
Include qom/object.h slightly less
Include hw/hw.h exactly where needed
Include qemu/queue.h slightly less
Include qemu/main-loop.h less
Include hw/qdev-properties.h less
Include hw/boards.h a bit less
numa: Don't include hw/boards.h into sysemu/numa.h Include sysemu/hostmem.h less
numa: Move remaining NUMA declarations from sysemu.h to numa.h Clean up inclusion of sysemu/sysemu.h
Include sysemu/sysemu.h a lot less
sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h
qapi/common.json | 24 ----------- qapi/error.json | 29 ++++++++++++++ qapi/qapi-schema.json | 1 + fsdev/qemu-fsdev-throttle.h | 1 - hw/9pfs/coth.h | 1 - hw/alpha/alpha_sys.h | 1 - hw/audio/intel-hda.h | 2 +- hw/audio/lm4549.h | 1 + hw/display/qxl.h | 1 - hw/hppa/hppa_sys.h | 1 - hw/i386/amd_iommu.h | 1 - hw/ide/ahci_internal.h | 1 + hw/lm32/lm32.h | 1 + hw/lm32/milkymist-hw.h | 2 +- hw/microblaze/boot.h | 1 - hw/net/can/can_sja1000.h | 1 + hw/net/fsl_etsec/etsec.h | 1 - hw/net/ne2000.h | 1 - hw/net/pcnet.h | 1 + hw/nios2/boot.h | 1 - hw/ppc/mac.h | 1 - hw/s390x/ipl.h | 2 +- hw/usb/ccid.h | 2 +- hw/usb/hcd-ehci.h | 2 - hw/xtensa/xtensa_memory.h | 1 - include/authz/listfile.h | 1 - include/block/block.h | 1 - include/block/block_int.h | 1 - include/block/raw-aio.h | 2 + include/block/write-threshold.h | 2 + include/chardev/char-fe.h | 1 + include/chardev/char-io.h | 1 + include/chardev/char.h | 2 +- include/disas/disas.h | 1 + include/exec/cpu-defs.h | 1 - include/exec/cputlb.h | 3 ++ include/exec/exec-all.h | 1 + include/exec/ioport.h | 2 + include/exec/memory-internal.h | 2 + include/exec/memory.h | 10 ++++- include/exec/ram_addr.h | 1 + include/exec/softmmu-semi.h | 2 + include/exec/tb-hash.h | 2 + include/exec/user/thunk.h | 2 + include/fpu/softfloat-macros.h | 2 + include/hw/acpi/acpi.h | 1 - include/hw/acpi/acpi_dev_interface.h | 2 + include/hw/acpi/pci.h | 3 ++ include/hw/acpi/tco.h | 2 + include/hw/acpi/vmgenid.h | 2 +- include/hw/adc/stm32f2xx_adc.h | 2 + include/hw/arm/allwinner-a10.h | 3 +- include/hw/arm/aspeed_soc.h | 1 + include/hw/arm/bcm2836.h | 1 + include/hw/arm/boot.h | 2 - include/hw/arm/exynos4210.h | 3 +- include/hw/arm/fsl-imx25.h | 1 + include/hw/arm/fsl-imx31.h | 1 + include/hw/arm/fsl-imx7.h | 1 - include/hw/arm/omap.h | 1 - include/hw/arm/sharpsl.h | 3 ++ include/hw/arm/soc_dma.h | 3 +- include/hw/arm/xlnx-zynqmp.h | 2 +- include/hw/audio/pcspk.h | 2 +- include/hw/audio/wm8750.h | 1 - include/hw/block/fdc.h | 1 + include/hw/block/flash.h | 2 +- include/hw/boards.h | 4 +- include/hw/bt.h | 1 - include/hw/char/cadence_uart.h | 1 + include/hw/char/cmsdk-apb-uart.h | 1 + include/hw/char/escc.h | 1 + include/hw/char/lm32_juart.h | 2 +- include/hw/char/parallel.h | 1 - include/hw/char/pl011.h | 1 + include/hw/char/serial.h | 2 - include/hw/char/stm32f2xx_usart.h | 1 - include/hw/char/xilinx_uartlite.h | 3 ++ include/hw/core/generic-loader.h | 1 + include/hw/core/split-irq.h | 1 - include/hw/cpu/cluster.h | 2 +- include/hw/cpu/core.h | 2 +- include/hw/cris/etraxfs.h | 2 + include/hw/cris/etraxfs_dma.h | 2 + include/hw/display/blizzard.h | 1 - include/hw/display/edid.h | 2 +- include/hw/display/i2c-ddc.h | 1 + include/hw/display/milkymist_tmu2.h | 3 +- include/hw/display/tc6393xb.h | 3 -- include/hw/display/vga.h | 2 +- include/hw/dma/i8257.h | 1 - include/hw/empty_slot.h | 2 + include/hw/gpio/bcm2835_gpio.h | 1 + include/hw/hw.h | 9 ----- include/hw/i2c/aspeed_i2c.h | 2 + include/hw/i2c/i2c.h | 2 +- include/hw/i2c/pm_smbus.h | 1 + include/hw/i2c/smbus_eeprom.h | 1 + include/hw/i386/apic_internal.h | 1 + include/hw/i386/ich9.h | 1 - include/hw/i386/intel_iommu.h | 2 +- include/hw/i386/ioapic_internal.h | 2 +- include/hw/i386/pc.h | 1 - include/hw/ide/internal.h | 4 +- include/hw/input/adb.h | 2 +- include/hw/input/gamepad.h | 1 - include/hw/input/hid.h | 1 - include/hw/input/i8042.h | 1 - include/hw/input/tsc2xxx.h | 1 - include/hw/intc/allwinner-a10-pic.h | 2 + include/hw/intc/heathrow_pic.h | 2 + include/hw/intc/mips_gic.h | 1 + include/hw/ipack/ipack.h | 2 +- include/hw/ipmi/ipmi.h | 2 +- include/hw/irq.h | 4 -- include/hw/isa/apm.h | 1 - include/hw/isa/i8259_internal.h | 1 - include/hw/isa/isa.h | 2 +- include/hw/isa/vt82c686.h | 1 + include/hw/mem/memory-device.h | 3 +- include/hw/mem/pc-dimm.h | 4 +- include/hw/mips/cps.h | 1 + include/hw/mips/mips.h | 1 - include/hw/misc/auxbus.h | 3 +- include/hw/misc/cbus.h | 1 - include/hw/misc/macio/cuda.h | 2 + include/hw/misc/macio/gpio.h | 3 ++ include/hw/misc/macio/macio.h | 2 + include/hw/misc/macio/pmu.h | 3 ++ include/hw/misc/mips_cmgcr.h | 2 + include/hw/misc/mips_cpc.h | 2 + include/hw/misc/mos6522.h | 1 - include/hw/misc/pvpanic.h | 3 ++ include/hw/misc/stm32f2xx_syscfg.h | 1 - include/hw/misc/unimp.h | 1 + include/hw/misc/vmcoreinfo.h | 2 +- include/hw/net/allwinner_emac.h | 1 + include/hw/net/lan9118.h | 1 - include/hw/net/lance.h | 1 + include/hw/net/ne2000-isa.h | 3 +- include/hw/net/smc91c111.h | 1 - include/hw/nvram/chrp_nvram.h | 2 + include/hw/or-irq.h | 1 - include/hw/pci-host/designware.h | 1 - include/hw/pci-host/gpex.h | 1 - include/hw/pci-host/q35.h | 1 - include/hw/pci-host/sabre.h | 2 + include/hw/pci-host/uninorth.h | 3 +- include/hw/pci-host/xilinx-pcie.h | 1 - include/hw/pci/pci.h | 1 - include/hw/pci/pcie.h | 1 - include/hw/pci/pcie_aer.h | 2 +- include/hw/pci/shpc.h | 1 + include/hw/pcmcia.h | 2 +- include/hw/ppc/openpic.h | 1 - include/hw/ppc/pnv_core.h | 1 + include/hw/ppc/ppc4xx.h | 3 ++ include/hw/ppc/spapr_cpu_core.h | 2 +- include/hw/ppc/spapr_drc.h | 5 +-- include/hw/ppc/spapr_irq.h | 2 + include/hw/ppc/spapr_ovec.h | 1 - include/hw/ppc/spapr_vio.h | 1 + include/hw/ppc/spapr_xive.h | 1 + include/hw/ppc/xics.h | 3 +- include/hw/ppc/xive.h | 1 - include/hw/ppc/xive_regs.h | 3 ++ include/hw/ptimer.h | 1 - include/hw/qdev-core.h | 12 +----- include/hw/qdev-properties.h | 2 - include/hw/qdev.h | 8 ---- include/hw/riscv/boot.h | 2 + include/hw/riscv/riscv_hart.h | 3 ++ include/hw/riscv/riscv_htif.h | 2 - include/hw/riscv/sifive_clint.h | 2 + include/hw/riscv/sifive_e.h | 1 + include/hw/riscv/sifive_plic.h | 2 +- include/hw/riscv/sifive_prci.h | 2 + include/hw/riscv/sifive_test.h | 2 + include/hw/riscv/sifive_u.h | 1 + include/hw/riscv/sifive_uart.h | 3 ++ include/hw/riscv/spike.h | 3 ++ include/hw/riscv/virt.h | 3 ++ include/hw/s390x/ap-device.h | 3 ++ include/hw/s390x/css-bridge.h | 3 +- include/hw/s390x/css.h | 1 + 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 | 4 +- include/hw/scsi/scsi.h | 4 +- include/hw/sd/sd.h | 2 +- include/hw/semihosting/console.h | 2 + include/hw/sh4/sh_intc.h | 2 +- include/hw/sparc/grlib.h | 1 - include/hw/sparc/sparc64.h | 2 + include/hw/ssi/aspeed_smc.h | 1 + include/hw/ssi/ssi.h | 2 +- include/hw/ssi/stm32f2xx_spi.h | 1 - include/hw/ssi/xilinx_spips.h | 1 + include/hw/sysbus.h | 2 +- include/hw/timer/allwinner-a10-pit.h | 1 + include/hw/timer/aspeed_rtc.h | 1 - include/hw/timer/cmsdk-apb-timer.h | 1 + include/hw/timer/i8254.h | 3 +- include/hw/timer/i8254_internal.h | 2 +- include/hw/timer/m48t59.h | 1 + include/hw/timer/mc146818rtc_regs.h | 2 + include/hw/timer/stm32f2xx_timer.h | 1 - include/hw/timer/xlnx-zynqmp-rtc.h | 1 + include/hw/tricore/tricore.h | 1 - include/hw/usb.h | 3 +- include/hw/vfio/vfio-platform.h | 1 - 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/vhost.h | 1 - include/hw/virtio/virtio-access.h | 1 + include/hw/virtio/virtio-bus.h | 3 +- include/hw/virtio/virtio-gpu-bswap.h | 1 + include/hw/virtio/virtio-pmem.h | 2 +- include/hw/virtio/virtio-rng.h | 1 + include/hw/virtio/virtio-serial.h | 1 - include/hw/virtio/virtio.h | 6 +-- include/hw/watchdog/wdt_aspeed.h | 1 + include/hw/watchdog/wdt_diag288.h | 2 +- include/hw/xen/xen-legacy-backend.h | 1 - include/hw/xen/xen.h | 1 - include/hw/xen/xen_common.h | 2 - include/hw/xtensa/mx_pic.h | 1 - include/libdecnumber/decNumberLocal.h | 1 + include/migration/cpu.h | 5 +++ include/migration/global_state.h | 1 - include/migration/misc.h | 1 - include/migration/vmstate.h | 1 - include/monitor/hmp-target.h | 2 + include/monitor/qdev.h | 2 - include/net/can_emu.h | 1 + include/net/filter.h | 1 + include/net/net.h | 1 - include/qapi/error.h | 2 +- include/qemu/atomic128.h | 2 + include/qemu/fifo8.h | 1 - include/qemu/job.h | 2 +- include/qemu/queue.h | 2 - include/qemu/range.h | 2 - include/qemu/ratelimit.h | 2 + include/qemu/thread-win32.h | 2 +- include/qemu/typedefs.h | 38 ++++++++++++++++-- include/qom/cpu.h | 4 +- include/qom/object.h | 1 - include/sysemu/accel.h | 1 - include/sysemu/arch_init.h | 1 - include/sysemu/balloon.h | 1 + include/sysemu/cryptodev-vhost-user.h | 3 ++ include/sysemu/cryptodev.h | 1 + include/sysemu/dma.h | 1 - include/sysemu/hax.h | 1 - include/sysemu/hostmem.h | 3 +- include/sysemu/hvf.h | 2 +- include/sysemu/iothread.h | 1 + include/sysemu/kvm.h | 1 - include/sysemu/kvm_int.h | 2 +- include/sysemu/memory_mapping.h | 1 + include/sysemu/numa.h | 18 +++++++-- include/sysemu/replay.h | 2 +- include/sysemu/rng.h | 1 + include/sysemu/runstate.h | 68 ++++++++++++++++++++++++++++++++ include/sysemu/sysemu.h | 68 -------------------------------- include/sysemu/xen-mapcache.h | 2 + include/ui/egl-helpers.h | 2 + include/ui/input.h | 1 + include/ui/spice-display.h | 2 +- linux-user/qemu.h | 1 - migration/migration.h | 4 +- migration/qemu-file.h | 1 + monitor/monitor-internal.h | 1 - nbd/nbd-internal.h | 2 - target/alpha/cpu.h | 2 +- target/arm/cpu.h | 2 +- target/cris/cpu.h | 2 +- target/hppa/cpu.h | 4 +- target/i386/cpu.h | 2 +- target/i386/sev_i386.h | 2 +- target/lm32/cpu.h | 2 +- target/mips/internal.h | 2 +- target/openrisc/cpu.h | 2 +- target/ppc/cpu-qom.h | 2 +- target/ppc/cpu.h | 2 +- target/s390x/cpu.h | 2 +- target/sparc/cpu.h | 2 +- trace/control-internal.h | 25 ------------ trace/control-vcpu.h | 63 +++++++++++++++++++++++++++++ trace/control.h | 24 ----------- ui/vnc-auth-sasl.h | 1 - ui/vnc.h | 1 - accel/kvm/kvm-all.c | 4 +- accel/stubs/tcg-stub.c | 1 - accel/tcg/tcg-all.c | 1 - audio/audio.c | 4 +- audio/spiceaudio.c | 1 - audio/wavcapture.c | 1 - backends/cryptodev-builtin.c | 1 - backends/cryptodev-vhost-user.c | 1 - backends/cryptodev.c | 1 - backends/hostmem.c | 1 + backends/vhost-user.c | 1 - balloon.c | 1 - block.c | 1 + block/block-backend.c | 4 +- block/create.c | 1 + block/io.c | 1 + block/nbd.c | 1 + block/nfs.c | 2 +- block/nvme.c | 1 + block/qcow2.c | 1 + block/qed.c | 1 + block/sheepdog.c | 1 + block/throttle-groups.c | 1 + blockdev-nbd.c | 1 - blockdev.c | 2 + blockjob.c | 1 + chardev/baum.c | 1 + chardev/char-pipe.c | 1 + chardev/char-win-stdio.c | 1 + chardev/char-win.c | 1 + cpus.c | 3 ++ device-hotplug.c | 1 - dump/dump.c | 3 +- dump/win_dump.c | 1 - exec.c | 3 +- fsdev/qemu-fsdev-throttle.c | 1 + gdbstub.c | 1 + hw/9pfs/9p.c | 1 + hw/9pfs/codir.c | 1 + hw/9pfs/cofile.c | 1 + hw/9pfs/cofs.c | 1 + hw/9pfs/coth.c | 1 + hw/9pfs/coxattr.c | 1 + hw/9pfs/virtio-9p-device.c | 1 + hw/9pfs/xen-9p-backend.c | 2 +- hw/acpi/core.c | 4 +- hw/acpi/cpu.c | 1 + hw/acpi/cpu_hotplug.c | 1 - hw/acpi/ich9.c | 7 +++- hw/acpi/memory_hotplug.c | 1 + hw/acpi/pcihp.c | 3 +- hw/acpi/piix4.c | 8 +++- hw/acpi/tco.c | 2 + hw/acpi/vmgenid.c | 4 +- hw/adc/stm32f2xx_adc.c | 2 +- hw/alpha/dp264.c | 2 - hw/alpha/pci.c | 1 - hw/alpha/typhoon.c | 4 +- hw/arm/allwinner-a10.c | 2 + hw/arm/armsse.c | 2 + hw/arm/armv7m.c | 2 + hw/arm/aspeed.c | 1 + hw/arm/aspeed_soc.c | 1 + hw/arm/boot.c | 3 +- hw/arm/collie.c | 1 - hw/arm/cubieboard.c | 1 + hw/arm/digic.c | 1 + hw/arm/exynos4210.c | 4 +- hw/arm/exynos4_boards.c | 2 + hw/arm/fsl-imx25.c | 2 +- hw/arm/fsl-imx31.c | 2 +- hw/arm/fsl-imx6.c | 1 + hw/arm/gumstix.c | 1 - hw/arm/highbank.c | 2 + hw/arm/integratorcp.c | 4 ++ hw/arm/kzm.c | 1 + hw/arm/mainstone.c | 1 - hw/arm/mcimx6ul-evk.c | 1 + hw/arm/mcimx7d-sabre.c | 1 + hw/arm/microbit.c | 1 + hw/arm/msf2-soc.c | 4 +- hw/arm/msf2-som.c | 1 + hw/arm/musicpal.c | 5 +++ hw/arm/netduino2.c | 1 + hw/arm/nrf51_soc.c | 2 - hw/arm/nseries.c | 3 ++ hw/arm/omap1.c | 6 +++ hw/arm/omap2.c | 6 ++- hw/arm/omap_sx1.c | 1 - hw/arm/palm.c | 3 +- hw/arm/pxa2xx.c | 3 ++ hw/arm/pxa2xx_gpio.c | 3 ++ hw/arm/pxa2xx_pic.c | 2 +- hw/arm/realview.c | 1 + hw/arm/sabrelite.c | 1 + hw/arm/sbsa-ref.c | 2 + hw/arm/smmu-common.c | 1 - hw/arm/smmuv3.c | 4 +- hw/arm/spitz.c | 5 ++- hw/arm/stellaris.c | 3 ++ hw/arm/stm32f205_soc.c | 2 + hw/arm/strongarm.c | 3 ++ hw/arm/sysbus-fdt.c | 1 - hw/arm/tosa.c | 4 +- hw/arm/versatilepb.c | 2 + hw/arm/virt-acpi-build.c | 3 +- hw/arm/virt.c | 4 ++ hw/arm/xlnx-zynqmp.c | 1 + hw/arm/z2.c | 4 +- hw/audio/ac97.c | 3 +- hw/audio/adlib.c | 2 +- hw/audio/cs4231.c | 1 + hw/audio/cs4231a.c | 5 ++- hw/audio/es1370.c | 2 +- hw/audio/gus.c | 4 +- hw/audio/hda-codec.c | 3 +- hw/audio/intel-hda.c | 3 +- hw/audio/lm4549.c | 1 + hw/audio/marvell_88w8618.c | 4 +- hw/audio/milkymist-ac97.c | 3 +- hw/audio/pcspk.c | 2 +- hw/audio/pl041.c | 3 ++ hw/audio/sb16.c | 5 ++- hw/audio/wm8750.c | 1 + hw/block/dataplane/virtio-blk.c | 1 + hw/block/dataplane/xen-block.c | 2 +- hw/block/ecc.c | 2 +- hw/block/fdc.c | 5 ++- hw/block/m25p80.c | 3 +- hw/block/nand.c | 3 +- hw/block/nvme.c | 3 +- hw/block/onenand.c | 2 + hw/block/pflash_cfi01.c | 5 ++- hw/block/pflash_cfi02.c | 3 +- hw/block/tc58128.c | 1 - hw/block/vhost-user-blk.c | 3 ++ hw/block/virtio-blk.c | 4 ++ hw/block/xen-block.c | 3 +- hw/char/bcm2835_aux.c | 3 ++ hw/char/cadence_uart.c | 2 + hw/char/cmsdk-apb-uart.c | 2 + hw/char/debugcon.c | 2 +- hw/char/digic-uart.c | 3 +- hw/char/escc.c | 4 +- hw/char/etraxfs_ser.c | 2 + hw/char/exynos4210_uart.c | 4 +- hw/char/grlib_apbuart.c | 2 + hw/char/imx_serial.c | 4 +- hw/char/ipoctal232.c | 3 ++ hw/char/lm32_juart.c | 3 +- hw/char/lm32_uart.c | 4 +- hw/char/mcf_uart.c | 3 +- hw/char/milkymist-uart.c | 4 +- hw/char/nrf51_uart.c | 3 ++ hw/char/omap_uart.c | 1 - hw/char/parallel-isa.c | 2 + hw/char/parallel.c | 5 ++- hw/char/pl011.c | 2 + hw/char/sclpconsole-lm.c | 3 +- hw/char/sclpconsole.c | 3 +- hw/char/serial-isa.c | 3 ++ hw/char/serial-pci-multi.c | 3 ++ hw/char/serial-pci.c | 3 ++ hw/char/serial.c | 4 ++ hw/char/sh_serial.c | 3 +- hw/char/spapr_vty.c | 4 +- hw/char/stm32f2xx_usart.c | 2 + hw/char/terminal3270.c | 1 + hw/char/virtio-console.c | 1 + hw/char/virtio-serial-bus.c | 3 ++ hw/char/xen_console.c | 2 +- hw/char/xilinx_uartlite.c | 3 ++ hw/core/bus.c | 2 +- hw/core/empty_slot.c | 1 - hw/core/generic-loader.c | 2 + hw/core/loader-fit.c | 1 - hw/core/loader.c | 2 + hw/core/machine-qmp-cmds.c | 2 + hw/core/null-machine.c | 1 - hw/core/numa.c | 5 +++ hw/core/or-irq.c | 3 ++ hw/core/platform-bus.c | 2 +- hw/core/ptimer.c | 3 +- hw/core/qdev-fw.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/core/qdev-properties.c | 4 +- hw/core/qdev.c | 5 ++- hw/core/register.c | 1 - hw/core/split-irq.c | 2 + hw/core/vm-change-state-handler.c | 3 +- hw/cpu/a15mpcore.c | 2 + hw/cpu/a9mpcore.c | 2 + hw/cpu/arm11mpcore.c | 2 + hw/cpu/cluster.c | 1 + hw/cpu/realview_mpcore.c | 2 + hw/cris/boot.c | 2 +- hw/display/ads7846.c | 2 + hw/display/ati.c | 2 +- hw/display/bcm2835_fb.c | 4 ++ hw/display/bochs-display.c | 3 +- hw/display/cg3.c | 3 ++ hw/display/cirrus_vga.c | 4 +- hw/display/cirrus_vga_isa.c | 2 +- hw/display/dpcd.c | 1 + hw/display/edid-region.c | 1 + hw/display/exynos4210_fimd.c | 3 ++ hw/display/framebuffer.c | 1 - hw/display/g364fb.c | 3 ++ hw/display/i2c-ddc.c | 2 + hw/display/jazz_led.c | 1 + hw/display/milkymist-tmu2.c | 3 +- hw/display/milkymist-vgafb.c | 2 + hw/display/omap_dss.c | 2 + hw/display/omap_lcdc.c | 3 +- hw/display/pl110.c | 2 + hw/display/pxa2xx_lcd.c | 2 + hw/display/qxl-render.c | 1 + hw/display/qxl.c | 5 ++- hw/display/ramfb-standalone.c | 2 +- hw/display/ramfb.c | 3 +- hw/display/sii9022.c | 1 + hw/display/sm501.c | 3 +- hw/display/ssd0303.c | 1 + hw/display/ssd0323.c | 1 + hw/display/tc6393xb.c | 4 +- hw/display/tcx.c | 2 + hw/display/vga-isa-mm.c | 4 +- hw/display/vga-isa.c | 2 +- hw/display/vga-pci.c | 3 +- hw/display/vga.c | 4 +- hw/display/vhost-user-gpu.c | 1 + hw/display/virtio-gpu-pci.c | 1 + hw/display/virtio-gpu.c | 3 ++ hw/display/virtio-vga.c | 2 +- hw/display/vmware_vga.c | 3 +- hw/display/xenfb.c | 1 - hw/display/xlnx_dp.c | 2 + hw/dma/bcm2835_dma.c | 2 + hw/dma/etraxfs_dma.c | 5 ++- hw/dma/i82374.c | 2 + hw/dma/i8257.c | 3 +- hw/dma/pl080.c | 4 ++ hw/dma/pl330.c | 3 ++ hw/dma/puv3_dma.c | 1 - hw/dma/pxa2xx_dma.c | 3 ++ hw/dma/rc4030.c | 3 +- hw/dma/sparc32_dma.c | 4 +- hw/dma/xilinx_axidma.c | 3 ++ hw/dma/xlnx-zdma.c | 3 ++ hw/dma/xlnx-zynq-devcfg.c | 3 +- hw/dma/xlnx_dpdma.c | 2 + hw/gpio/bcm2835_gpio.c | 2 + hw/gpio/gpio_key.c | 2 + hw/gpio/imx_gpio.c | 3 ++ hw/gpio/max7310.c | 4 ++ hw/gpio/mpc8xxx.c | 2 + hw/gpio/nrf51_gpio.c | 2 + hw/gpio/omap_gpio.c | 3 +- hw/gpio/pl061.c | 2 + hw/gpio/puv3_gpio.c | 1 - hw/gpio/zaurus.c | 3 +- hw/hppa/dino.c | 4 +- hw/hppa/machine.c | 2 +- hw/hppa/pci.c | 1 - hw/hyperv/hyperv_testdev.c | 1 - hw/i2c/aspeed_i2c.c | 2 + hw/i2c/bitbang_i2c.c | 2 +- hw/i2c/core.c | 2 + hw/i2c/exynos4210_i2c.c | 2 + hw/i2c/imx_i2c.c | 2 + hw/i2c/microbit_i2c.c | 1 + hw/i2c/mpc_i2c.c | 2 + hw/i2c/omap_i2c.c | 3 +- hw/i2c/pm_smbus.c | 3 +- hw/i2c/ppc4xx_i2c.c | 2 +- hw/i2c/smbus_eeprom.c | 3 +- hw/i2c/smbus_ich9.c | 3 +- hw/i2c/smbus_master.c | 1 - hw/i2c/smbus_slave.c | 2 +- hw/i386/acpi-build.c | 2 + hw/i386/amd_iommu.c | 2 + hw/i386/intel_iommu.c | 3 ++ hw/i386/kvm/clock.c | 4 +- hw/i386/kvm/i8254.c | 3 +- hw/i386/kvm/i8259.c | 1 + hw/i386/kvm/ioapic.c | 2 + hw/i386/kvmvapic.c | 2 + hw/i386/multiboot.c | 1 - hw/i386/pc.c | 5 ++- hw/i386/pc_piix.c | 3 +- hw/i386/pc_q35.c | 3 +- hw/i386/pc_sysfw.c | 3 +- hw/i386/vmmouse.c | 5 ++- hw/i386/vmport.c | 2 - hw/i386/x86-iommu.c | 1 + hw/i386/xen/xen-hvm.c | 5 +++ hw/i386/xen/xen-mapcache.c | 1 + hw/i386/xen/xen_platform.c | 2 +- hw/i386/xen/xen_pvdevice.c | 3 +- hw/ide/ahci-allwinner.c | 2 +- hw/ide/ahci.c | 4 +- hw/ide/cmd646.c | 5 ++- hw/ide/core.c | 5 ++- hw/ide/ich.c | 2 +- hw/ide/ioport.c | 2 - hw/ide/isa.c | 3 +- hw/ide/macio.c | 3 +- hw/ide/microdrive.c | 2 +- hw/ide/mmio.c | 3 +- hw/ide/pci.c | 2 +- hw/ide/piix.c | 4 +- hw/ide/qdev.c | 5 ++- hw/ide/sii3112.c | 1 + hw/ide/via.c | 4 +- hw/input/adb-kbd.c | 2 +- hw/input/adb-mouse.c | 1 + hw/input/adb.c | 2 + hw/input/hid.c | 3 +- hw/input/lm832x.c | 4 +- hw/input/milkymist-softusb.c | 4 +- hw/input/pckbd.c | 7 +++- hw/input/pl050.c | 2 + hw/input/ps2.c | 6 ++- hw/input/pxa2xx_keypad.c | 2 + hw/input/stellaris_input.c | 4 +- hw/input/tsc2005.c | 4 +- hw/input/tsc210x.c | 3 ++ 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/allwinner-a10-pic.c | 3 +- hw/intc/apic_common.c | 4 +- hw/intc/arm_gic.c | 1 + hw/intc/arm_gic_common.c | 2 + hw/intc/arm_gicv2m.c | 2 + hw/intc/arm_gicv3_common.c | 2 + hw/intc/arm_gicv3_cpuif.c | 1 + hw/intc/arm_gicv3_its_common.c | 1 + hw/intc/arm_gicv3_its_kvm.c | 3 +- hw/intc/arm_gicv3_kvm.c | 2 +- hw/intc/armv7m_nvic.c | 3 ++ hw/intc/aspeed_vic.c | 2 + hw/intc/bcm2835_ic.c | 2 + hw/intc/bcm2836_control.c | 2 + hw/intc/etraxfs_pic.c | 3 +- hw/intc/exynos4210_combiner.c | 4 ++ hw/intc/exynos4210_gic.c | 2 + hw/intc/grlib_irqmp.c | 1 + hw/intc/heathrow_pic.c | 3 +- hw/intc/i8259.c | 3 +- hw/intc/i8259_common.c | 3 ++ hw/intc/imx_avic.c | 2 + hw/intc/imx_gpcv2.c | 1 + hw/intc/ioapic.c | 3 +- hw/intc/ioapic_common.c | 1 + hw/intc/lm32_pic.c | 3 +- hw/intc/mips_gic.c | 5 ++- hw/intc/nios2_iic.c | 1 + hw/intc/omap_intc.c | 3 +- hw/intc/ompic.c | 4 +- hw/intc/openpic.c | 4 +- hw/intc/openpic_kvm.c | 2 +- hw/intc/pl190.c | 2 + hw/intc/pnv_xive.c | 2 + hw/intc/puv3_intc.c | 1 + hw/intc/realview_gic.c | 2 + hw/intc/s390_flic.c | 3 +- hw/intc/s390_flic_kvm.c | 1 + hw/intc/sh_intc.c | 2 +- hw/intc/slavio_intctl.c | 2 + hw/intc/spapr_xive.c | 3 ++ hw/intc/spapr_xive_kvm.c | 1 + hw/intc/xics.c | 5 ++- hw/intc/xics_kvm.c | 1 - hw/intc/xics_pnv.c | 1 - hw/intc/xics_spapr.c | 1 - hw/intc/xilinx_intc.c | 3 +- hw/intc/xive.c | 3 ++ hw/intc/xlnx-pmu-iomod-intc.c | 3 ++ hw/intc/xlnx-zynqmp-ipi.c | 2 + hw/ipack/ipack.c | 3 ++ hw/ipack/tpci200.c | 2 + hw/ipmi/ipmi.c | 4 +- hw/ipmi/ipmi_bmc_extern.c | 3 +- hw/ipmi/ipmi_bmc_sim.c | 2 + hw/ipmi/isa_ipmi_bt.c | 4 +- hw/ipmi/isa_ipmi_kcs.c | 4 +- hw/isa/apm.c | 2 +- hw/isa/i82378.c | 2 + hw/isa/isa-superio.c | 1 + hw/isa/lpc_ich9.c | 6 ++- hw/isa/pc87312.c | 2 + hw/isa/piix4.c | 3 +- hw/isa/vt82c686.c | 5 ++- hw/lm32/lm32_boards.c | 3 +- hw/lm32/milkymist.c | 4 +- hw/m68k/an5206.c | 1 - hw/m68k/mcf5206.c | 3 ++ hw/m68k/mcf5208.c | 3 ++ hw/m68k/mcf_intc.c | 1 + hw/mem/memory-device.c | 1 - hw/mem/nvdimm.c | 2 + hw/mem/pc-dimm.c | 4 ++ hw/microblaze/boot.c | 1 + hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 - hw/microblaze/xlnx-zynqmp-pmu.c | 1 - hw/mips/addr.c | 1 - hw/mips/boston.c | 3 +- hw/mips/cps.c | 2 + hw/mips/gt64xxx_pci.c | 3 +- hw/mips/mips_fulong2e.c | 2 +- hw/mips/mips_int.c | 2 +- hw/mips/mips_jazz.c | 2 +- hw/mips/mips_malta.c | 4 +- hw/mips/mips_mipssim.c | 3 +- hw/mips/mips_r4k.c | 4 +- hw/misc/a9scu.c | 2 + hw/misc/applesmc.c | 2 +- hw/misc/arm11scu.c | 1 + hw/misc/arm_integrator_debug.c | 1 - hw/misc/arm_l2x0.c | 2 + hw/misc/arm_sysctl.c | 6 ++- hw/misc/armsse-cpuid.c | 2 +- hw/misc/armsse-mhu.c | 3 +- hw/misc/aspeed_scu.c | 1 + hw/misc/aspeed_sdmc.c | 1 + hw/misc/aspeed_xdma.c | 2 + hw/misc/bcm2835_mbox.c | 2 + hw/misc/bcm2835_property.c | 3 ++ hw/misc/bcm2835_rng.c | 1 + hw/misc/cbus.c | 2 +- hw/misc/debugexit.c | 2 +- hw/misc/eccmemctl.c | 3 ++ hw/misc/edu.c | 1 + hw/misc/exynos4210_clk.c | 1 + hw/misc/exynos4210_pmu.c | 3 +- hw/misc/exynos4210_rng.c | 1 + hw/misc/imx25_ccm.c | 1 + hw/misc/imx31_ccm.c | 1 + hw/misc/imx6_ccm.c | 1 + hw/misc/imx6_src.c | 3 +- hw/misc/imx6ul_ccm.c | 1 + hw/misc/imx7_ccm.c | 1 + hw/misc/imx7_gpr.c | 1 - hw/misc/imx7_snvs.c | 2 +- hw/misc/iotkit-secctl.c | 2 + hw/misc/iotkit-sysctl.c | 4 +- hw/misc/iotkit-sysinfo.c | 2 +- hw/misc/ivshmem.c | 3 +- hw/misc/macio/cuda.c | 5 ++- hw/misc/macio/gpio.c | 3 +- hw/misc/macio/mac_dbdma.c | 3 +- hw/misc/macio/macio.c | 4 +- hw/misc/macio/pmu.c | 6 ++- hw/misc/max111x.c | 2 + hw/misc/milkymist-hpdmc.c | 2 +- hw/misc/milkymist-pfpu.c | 3 +- hw/misc/mips_cmgcr.c | 4 +- hw/misc/mips_cpc.c | 2 + hw/misc/mips_itu.c | 1 + hw/misc/mos6522.c | 5 ++- hw/misc/mps2-fpgaio.c | 2 + hw/misc/mps2-scc.c | 2 + hw/misc/msf2-sysreg.c | 2 + hw/misc/mst_fpga.c | 3 +- hw/misc/nrf51_rng.c | 3 ++ hw/misc/omap_clk.c | 2 + hw/misc/omap_gpmc.c | 3 +- hw/misc/omap_l4.c | 1 - hw/misc/omap_sdrc.c | 1 - hw/misc/pc-testdev.c | 3 +- hw/misc/pca9552.c | 2 +- hw/misc/pci-testdev.c | 2 +- hw/misc/puv3_pm.c | 1 - hw/misc/pvpanic.c | 3 +- hw/misc/sga.c | 1 - hw/misc/slavio_misc.c | 4 +- hw/misc/tmp105.c | 3 +- hw/misc/tmp421.c | 2 +- hw/misc/tz-mpc.c | 3 ++ hw/misc/tz-msc.c | 3 ++ hw/misc/tz-ppc.c | 3 ++ hw/misc/unimp.c | 1 - hw/misc/vmcoreinfo.c | 2 + hw/misc/zynq-xadc.c | 4 +- hw/misc/zynq_slcr.c | 4 +- hw/moxie/moxiesim.c | 3 +- hw/net/allwinner_emac.c | 3 ++ hw/net/cadence_gem.c | 3 ++ hw/net/can/can_kvaser_pci.c | 4 +- hw/net/can/can_mioe3680_pci.c | 4 +- hw/net/can/can_pcm3680_pci.c | 4 +- hw/net/can/can_sja1000.c | 4 +- hw/net/dp8393x.c | 3 ++ hw/net/e1000.c | 3 +- hw/net/e1000e.c | 3 ++ hw/net/e1000e_core.c | 3 +- hw/net/e1000x_common.c | 1 - hw/net/eepro100.c | 4 +- hw/net/fsl_etsec/etsec.c | 4 +- hw/net/ftgmac100.c | 3 ++ hw/net/imx_fec.c | 3 ++ hw/net/lan9118.c | 6 ++- hw/net/lance.c | 2 + hw/net/mcf_fec.c | 2 + hw/net/milkymist-minimac2.c | 4 +- hw/net/mipsnet.c | 4 +- hw/net/ne2000-isa.c | 2 +- hw/net/ne2000-pci.c | 4 ++ hw/net/ne2000.c | 4 +- hw/net/opencores_eth.c | 4 +- hw/net/pcnet-pci.c | 3 ++ hw/net/pcnet.c | 5 ++- hw/net/rocker/rocker.c | 3 +- hw/net/rocker/rocker_desc.c | 1 - hw/net/rtl8139.c | 3 +- hw/net/smc91c111.c | 3 ++ hw/net/spapr_llan.c | 5 ++- hw/net/stellaris_enet.c | 3 ++ hw/net/sungem.c | 2 + hw/net/sunhme.c | 3 +- hw/net/vhost_net.c | 2 +- hw/net/virtio-net.c | 3 ++ hw/net/vmxnet3.c | 2 + hw/net/xen_nic.c | 1 - hw/net/xgmac.c | 3 ++ hw/net/xilinx_axienet.c | 4 ++ hw/net/xilinx_ethlite.c | 3 +- hw/nios2/10m50_devboard.c | 2 +- hw/nios2/boot.c | 1 + hw/nios2/cpu_pic.c | 1 + hw/nios2/generic_nommu.c | 2 - hw/nvram/chrp_nvram.c | 1 - hw/nvram/ds1225y.c | 2 + hw/nvram/eeprom93xx.c | 3 +- hw/nvram/eeprom_at24c.c | 2 +- hw/nvram/fw_cfg.c | 5 ++- hw/nvram/mac_nvram.c | 3 +- hw/nvram/nrf51_nvm.c | 2 + hw/nvram/spapr_nvram.c | 4 ++ hw/openrisc/cputimer.c | 2 +- hw/openrisc/openrisc_sim.c | 4 +- hw/openrisc/pic_cpu.c | 2 +- hw/pci-bridge/gen_pcie_root_port.c | 2 + hw/pci-bridge/i82801b11.c | 1 + hw/pci-bridge/ioh3420.c | 1 + hw/pci-bridge/pci_bridge_dev.c | 1 + hw/pci-bridge/pci_expander_bridge.c | 1 + hw/pci-bridge/pcie_pci_bridge.c | 1 + hw/pci-bridge/pcie_root_port.c | 1 + hw/pci-bridge/xio3130_downstream.c | 2 + hw/pci-bridge/xio3130_upstream.c | 1 + hw/pci-host/bonito.c | 6 ++- hw/pci-host/designware.c | 3 ++ hw/pci-host/gpex.c | 4 +- hw/pci-host/grackle.c | 2 + hw/pci-host/pam.c | 1 - hw/pci-host/piix.c | 8 +++- hw/pci-host/ppce500.c | 4 +- hw/pci-host/prep.c | 4 +- hw/pci-host/q35.c | 3 +- hw/pci-host/sabre.c | 4 +- hw/pci-host/uninorth.c | 3 +- hw/pci-host/versatile.c | 3 ++ hw/pci-host/xilinx-pcie.c | 2 + hw/pci/msix.c | 3 +- hw/pci/pci.c | 6 ++- hw/pci/pcie_aer.c | 1 + hw/pci/pcie_host.c | 1 - hw/pci/pcie_port.c | 1 + hw/pci/shpc.c | 1 + hw/pcmcia/pcmcia.c | 1 - hw/pcmcia/pxa2xx.c | 2 +- hw/ppc/e500.c | 5 ++- hw/ppc/e500plat.c | 1 - hw/ppc/mac_newworld.c | 3 +- hw/ppc/mac_oldworld.c | 3 +- hw/ppc/mpc8544_guts.c | 3 +- hw/ppc/mpc8544ds.c | 1 - hw/ppc/pnv.c | 5 ++- hw/ppc/pnv_bmc.c | 2 - hw/ppc/pnv_core.c | 3 +- hw/ppc/pnv_lpc.c | 2 +- hw/ppc/pnv_occ.c | 2 - hw/ppc/pnv_psi.c | 4 +- hw/ppc/pnv_xscom.c | 1 - hw/ppc/ppc.c | 7 +++- hw/ppc/ppc405_boards.c | 3 +- hw/ppc/ppc405_uc.c | 5 ++- hw/ppc/ppc440_bamboo.c | 2 +- hw/ppc/ppc440_pcix.c | 2 +- hw/ppc/ppc440_uc.c | 5 ++- hw/ppc/ppc4xx_devs.c | 4 +- hw/ppc/ppc4xx_pci.c | 4 +- hw/ppc/ppc_booke.c | 5 ++- hw/ppc/ppce500_spin.c | 1 - hw/ppc/prep.c | 4 +- hw/ppc/prep_systemio.c | 5 ++- hw/ppc/rs6000_mc.c | 2 + hw/ppc/sam460ex.c | 3 +- hw/ppc/spapr.c | 6 ++- hw/ppc/spapr_caps.c | 1 + hw/ppc/spapr_cpu_core.c | 5 ++- hw/ppc/spapr_drc.c | 3 +- hw/ppc/spapr_events.c | 5 ++- hw/ppc/spapr_hcall.c | 3 +- hw/ppc/spapr_iommu.c | 3 +- hw/ppc/spapr_irq.c | 2 + hw/ppc/spapr_ovec.c | 1 + hw/ppc/spapr_pci.c | 4 +- hw/ppc/spapr_rng.c | 3 +- hw/ppc/spapr_rtas.c | 3 +- hw/ppc/spapr_rtc.c | 1 + hw/ppc/spapr_vio.c | 5 +-- hw/ppc/virtex_ml507.c | 3 +- hw/rdma/vmw/pvrdma_cmd.c | 1 - hw/rdma/vmw/pvrdma_main.c | 4 +- hw/riscv/boot.c | 2 +- hw/riscv/riscv_hart.c | 2 + hw/riscv/sifive_clint.c | 1 + hw/riscv/sifive_e.c | 2 +- hw/riscv/sifive_gpio.c | 2 + hw/riscv/sifive_plic.c | 1 + hw/riscv/sifive_prci.c | 2 + hw/riscv/sifive_test.c | 2 + hw/riscv/sifive_u.c | 2 +- hw/riscv/sifive_uart.c | 2 + hw/riscv/spike.c | 2 +- hw/riscv/virt.c | 2 +- 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/event-facility.c | 2 +- hw/s390x/ipl.c | 3 ++ hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-pci-bus.c | 1 + hw/s390x/s390-skeys.c | 1 + hw/s390x/s390-stattrib.c | 1 - hw/s390x/s390-virtio-ccw.c | 3 ++ hw/s390x/sclpcpu.c | 1 - hw/s390x/sclpquiesce.c | 4 +- hw/s390x/tod-kvm.c | 2 +- hw/s390x/tod.c | 1 + hw/s390x/vhost-vsock-ccw.c | 1 + hw/s390x/virtio-ccw-9p.c | 1 + hw/s390x/virtio-ccw-balloon.c | 1 + hw/s390x/virtio-ccw-blk.c | 1 + hw/s390x/virtio-ccw-crypto.c | 1 + hw/s390x/virtio-ccw-gpu.c | 1 + hw/s390x/virtio-ccw-input.c | 1 + hw/s390x/virtio-ccw-net.c | 1 + hw/s390x/virtio-ccw-rng.c | 1 + hw/s390x/virtio-ccw-scsi.c | 1 + hw/s390x/virtio-ccw-serial.c | 1 + hw/s390x/virtio-ccw.c | 3 +- hw/scsi/esp-pci.c | 2 + hw/scsi/esp.c | 2 + hw/scsi/lsi53c895a.c | 3 +- hw/scsi/megasas.c | 3 +- hw/scsi/mptconfig.c | 1 - hw/scsi/mptendian.c | 1 - hw/scsi/mptsas.c | 5 ++- hw/scsi/scsi-bus.c | 7 +++- hw/scsi/scsi-disk.c | 5 ++- hw/scsi/scsi-generic.c | 2 + hw/scsi/spapr_vscsi.c | 4 +- hw/scsi/vhost-scsi.c | 3 +- hw/scsi/vhost-user-scsi.c | 2 + hw/scsi/virtio-scsi.c | 2 + hw/scsi/vmw_pvscsi.c | 3 ++ hw/sd/bcm2835_sdhost.c | 2 + hw/sd/milkymist-memcard.c | 4 +- hw/sd/omap_mmc.c | 3 +- hw/sd/pl181.c | 2 + hw/sd/pxa2xx_mmci.c | 4 +- hw/sd/sd.c | 4 +- hw/sd/sdhci-pci.c | 2 +- hw/sd/sdhci.c | 4 +- hw/sd/ssi-sd.c | 2 + hw/semihosting/config.c | 1 + hw/sh4/r2d.c | 5 ++- hw/sh4/sh7750.c | 3 +- hw/sh4/sh7750_regnames.c | 1 - hw/sh4/sh_pci.c | 1 + hw/sh4/shix.c | 1 - hw/smbios/smbios.c | 1 - hw/sparc/leon3.c | 5 ++- hw/sparc/sun4m.c | 6 +++ hw/sparc/sun4m_iommu.c | 3 ++ hw/sparc64/niagara.c | 3 +- hw/sparc64/sparc64.c | 1 + hw/sparc64/sun4u.c | 5 ++- hw/ssi/aspeed_smc.c | 4 +- hw/ssi/imx_spi.c | 3 +- hw/ssi/mss-spi.c | 2 + hw/ssi/omap_spi.c | 2 + hw/ssi/pl022.c | 2 + hw/ssi/ssi.c | 1 + hw/ssi/stm32f2xx_spi.c | 1 + hw/ssi/xilinx_spi.c | 4 +- hw/ssi/xilinx_spips.c | 4 +- hw/timer/a9gtimer.c | 4 ++ hw/timer/allwinner-a10-pit.c | 5 ++- hw/timer/altera_timer.c | 4 +- hw/timer/arm_mptimer.c | 4 ++ hw/timer/arm_timer.c | 4 +- hw/timer/armv7m_systick.c | 2 + hw/timer/aspeed_rtc.c | 1 + hw/timer/aspeed_timer.c | 2 + hw/timer/cadence_ttc.c | 2 + hw/timer/cmsdk-apb-dualtimer.c | 3 ++ hw/timer/cmsdk-apb-timer.c | 2 + hw/timer/digic-timer.c | 1 + hw/timer/ds1338.c | 1 + hw/timer/etraxfs_timer.c | 5 ++- hw/timer/exynos4210_mct.c | 4 ++ hw/timer/exynos4210_pwm.c | 2 + hw/timer/exynos4210_rtc.c | 5 ++- hw/timer/grlib_gptimer.c | 2 + hw/timer/hpet.c | 3 +- hw/timer/i8254.c | 2 +- hw/timer/i8254_common.c | 3 +- hw/timer/imx_epit.c | 2 + hw/timer/imx_gpt.c | 2 + hw/timer/lm32_timer.c | 4 +- hw/timer/m48t59-isa.c | 1 + hw/timer/m48t59.c | 5 ++- hw/timer/mc146818rtc.c | 6 ++- hw/timer/milkymist-sysctl.c | 7 +++- hw/timer/mips_gictimer.c | 1 - hw/timer/mss-timer.c | 3 ++ hw/timer/nrf51_timer.c | 2 + hw/timer/omap_gptimer.c | 3 +- hw/timer/omap_synctimer.c | 1 - hw/timer/pl031.c | 3 ++ hw/timer/puv3_ost.c | 1 + hw/timer/pxa2xx_timer.c | 6 ++- hw/timer/sh_timer.c | 1 + hw/timer/slavio_timer.c | 3 ++ hw/timer/stm32f2xx_timer.c | 3 ++ hw/timer/sun4v-rtc.c | 1 - hw/timer/twl92230.c | 4 +- hw/timer/xilinx_timer.c | 2 + hw/timer/xlnx-zynqmp-rtc.c | 2 + hw/tpm/tpm_crb.c | 2 - hw/tpm/tpm_emulator.c | 2 +- hw/tpm/tpm_passthrough.c | 1 - hw/tpm/tpm_ppi.c | 1 - hw/tpm/tpm_tis.c | 3 ++ hw/tpm/tpm_util.c | 2 +- hw/tricore/tricore_testboard.c | 2 - hw/unicore32/puv3.c | 1 + hw/usb/bus.c | 4 +- hw/usb/ccid-card-emulated.c | 1 + hw/usb/ccid-card-passthru.c | 2 + hw/usb/dev-audio.c | 3 +- hw/usb/dev-bluetooth.c | 1 + hw/usb/dev-hid.c | 3 +- hw/usb/dev-hub.c | 2 + hw/usb/dev-mtp.c | 2 + hw/usb/dev-network.c | 2 + hw/usb/dev-serial.c | 2 + hw/usb/dev-smartcard-reader.c | 2 + hw/usb/dev-storage.c | 2 + hw/usb/dev-uas.c | 3 ++ hw/usb/dev-wacom.c | 2 +- hw/usb/hcd-ehci-pci.c | 2 + hw/usb/hcd-ehci-sysbus.c | 2 + hw/usb/hcd-ehci.c | 4 ++ hw/usb/hcd-ohci-pci.c | 3 +- hw/usb/hcd-ohci.c | 4 +- hw/usb/hcd-uhci.c | 3 +- hw/usb/hcd-xhci-nec.c | 2 +- hw/usb/hcd-xhci.c | 3 +- hw/usb/host-libusb.c | 4 ++ hw/usb/libhw.c | 1 - hw/usb/redirect.c | 4 ++ hw/usb/tusb6010.c | 1 + hw/usb/xen-usb.c | 1 + hw/vfio/amd-xgbe.c | 1 + hw/vfio/ap.c | 4 +- hw/vfio/calxeda-xgmac.c | 1 + hw/vfio/ccw.c | 2 + hw/vfio/common.c | 2 + hw/vfio/pci-quirks.c | 2 + hw/vfio/pci.c | 5 +++ hw/vfio/platform.c | 5 ++- hw/virtio/vhost-backend.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-user.c | 1 + hw/virtio/vhost-vsock-pci.c | 1 + hw/virtio/vhost-vsock.c | 1 + hw/virtio/vhost.c | 2 +- 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 | 2 - hw/virtio/virtio-crypto-pci.c | 1 + hw/virtio/virtio-crypto.c | 3 +- hw/virtio/virtio-input-pci.c | 1 + hw/virtio/virtio-mmio.c | 3 ++ hw/virtio/virtio-net-pci.c | 1 + hw/virtio/virtio-pci.c | 2 + hw/virtio/virtio-pmem.c | 3 ++ hw/virtio/virtio-rng.c | 4 +- hw/virtio/virtio-scsi-pci.c | 1 + hw/virtio/virtio-serial-pci.c | 1 + hw/virtio/virtio.c | 4 ++ hw/watchdog/cmsdk-apb-watchdog.c | 3 ++ hw/watchdog/watchdog.c | 2 +- hw/watchdog/wdt_aspeed.c | 2 + hw/watchdog/wdt_diag288.c | 2 + hw/watchdog/wdt_i6300esb.c | 2 +- hw/watchdog/wdt_ib700.c | 2 +- hw/xen/xen-bus-helper.c | 1 - hw/xen/xen-bus.c | 2 +- hw/xen/xen-common.c | 1 + hw/xen/xen-legacy-backend.c | 3 +- hw/xen/xen_devconfig.c | 1 + hw/xen/xen_pt.c | 1 + hw/xen/xen_pt_load_rom.c | 2 - hw/xen/xen_pvdev.c | 1 + hw/xenpv/xen_machine_pv.c | 2 +- hw/xtensa/mx_pic.c | 2 +- hw/xtensa/pic_cpu.c | 2 +- hw/xtensa/sim.c | 1 + hw/xtensa/xtensa_memory.c | 2 - hw/xtensa/xtfpga.c | 4 ++ linux-user/elfload.c | 1 + linux-user/main.c | 1 + linux-user/syscall.c | 1 + memory.c | 5 ++- migration/block-dirty-bitmap.c | 2 +- migration/block.c | 1 + migration/colo.c | 3 ++ migration/global_state.c | 1 + migration/migration.c | 4 ++ migration/postcopy-ram.c | 1 + migration/qemu-file-channel.c | 1 - migration/rdma.c | 1 + migration/savevm.c | 4 ++ migration/vmstate-types.c | 1 - monitor/hmp-cmds.c | 2 +- monitor/hmp.c | 2 +- monitor/misc.c | 2 +- monitor/monitor.c | 1 + monitor/qmp-cmds.c | 2 +- nbd/client.c | 1 + nbd/server.c | 1 + net/can/can_socketcan.c | 1 + net/net.c | 4 +- net/netmap.c | 1 + net/tap-bsd.c | 1 - net/tap-linux.c | 1 - net/tap-solaris.c | 1 - net/tap-win32.c | 2 +- net/tap.c | 1 + os-posix.c | 2 +- os-win32.c | 2 +- qapi/qapi-dealloc-visitor.c | 1 - qapi/qmp-dispatch.c | 2 +- qdev-monitor.c | 2 +- qemu-img.c | 2 +- qom/cpu.c | 3 +- qom/object.c | 1 + qom/qom-qmp-cmds.c | 2 +- qtest.c | 3 +- replay/replay-audio.c | 1 - replay/replay-char.c | 1 - replay/replay-internal.c | 3 +- replay/replay-net.c | 1 - replay/replay-snapshot.c | 1 - replay/replay.c | 2 +- stubs/change-state-handler.c | 2 +- stubs/replay.c | 1 - stubs/runstate-check.c | 2 +- stubs/semihost.c | 1 + stubs/vm-stop.c | 2 +- target/alpha/machine.c | 2 - target/alpha/sys_helper.c | 1 + target/arm/cpu64.c | 1 - target/arm/helper-a64.c | 2 +- target/arm/helper.c | 4 +- target/arm/kvm.c | 2 + target/arm/kvm32.c | 1 - target/arm/kvm64.c | 2 +- target/arm/m_helper.c | 3 +- target/arm/machine.c | 2 - target/arm/monitor.c | 1 - target/arm/psci.c | 4 +- target/cris/machine.c | 1 - target/hppa/machine.c | 2 - target/hppa/op_helper.c | 2 +- target/i386/cpu.c | 2 +- target/i386/excp_helper.c | 2 +- target/i386/hax-all.c | 3 +- target/i386/helper.c | 2 +- target/i386/hvf/hvf.c | 4 +- target/i386/hvf/x86_task.c | 2 - target/i386/kvm.c | 3 ++ target/i386/machine.c | 2 - target/i386/monitor.c | 1 + target/i386/sev.c | 1 + target/i386/whpx-all.c | 4 +- target/lm32/helper.c | 1 - target/lm32/machine.c | 2 - target/lm32/op_helper.c | 3 +- target/m68k/m68k-semi.c | 1 - target/mips/cp0_timer.c | 1 + target/mips/kvm.c | 3 +- target/mips/machine.c | 1 - target/moxie/machine.c | 2 - target/nios2/nios2-semi.c | 1 - target/openrisc/machine.c | 2 - target/ppc/int_helper.c | 2 + target/ppc/kvm.c | 4 +- target/ppc/machine.c | 3 +- target/ppc/mem_helper.c | 2 + target/ppc/misc_helper.c | 2 + target/ppc/mmu_helper.c | 2 + target/ppc/translate.c | 1 + target/s390x/cpu.c | 2 +- target/s390x/helper.c | 2 +- target/s390x/kvm.c | 3 +- target/s390x/machine.c | 2 +- target/s390x/mmu_helper.c | 1 + target/s390x/sigp.c | 2 +- target/sh4/helper.c | 3 +- target/sparc/helper.c | 1 - target/sparc/int32_helper.c | 2 +- target/sparc/machine.c | 2 - target/tilegx/cpu.c | 1 - target/xtensa/translate.c | 1 - target/xtensa/xtensa-semi.c | 1 - tcg/optimize.c | 1 - tcg/tcg-common.c | 1 - tcg/tcg-op-gvec.c | 1 + tcg/tcg.c | 1 - tests/migration-test.c | 1 - tests/test-bdrv-drain.c | 1 + tests/test-bdrv-graph-mod.c | 1 + tests/test-block-backend.c | 1 + tests/test-block-iothread.c | 1 + tests/test-image-locking.c | 1 + tests/test-qdev-global-props.c | 2 +- tests/test-replication.c | 1 + tests/test-throttle.c | 1 + trace/qmp.c | 2 +- ui/gtk.c | 1 + ui/input-keymap.c | 1 - ui/input-legacy.c | 1 - ui/input-linux.c | 2 +- ui/input.c | 1 + ui/kbd-state.c | 1 - ui/keymaps.c | 1 - ui/sdl2-2d.c | 1 - ui/sdl2-gl.c | 1 - ui/sdl2-input.c | 1 - ui/sdl2.c | 1 + ui/spice-core.c | 4 +- ui/spice-display.c | 2 +- ui/vnc.c | 2 + util/fifo8.c | 1 + util/oslib-posix.c | 1 + util/qemu-timer.c | 1 - util/vfio-helpers.c | 1 - vl.c | 11 +++--- MAINTAINERS | 4 ++ hw/tpm/trace-events | 4 +- qapi/Makefile.objs | 2 +- scripts/tracetool/format/c.py | 1 + scripts/tracetool/format/h.py | 7 +++- scripts/tracetool/format/log_stap.py | 3 -- ui/cocoa.m | 2 + 1278 files changed, 2187 insertions(+), 1024 deletions(-) create mode 100644 qapi/error.json delete mode 100644 include/hw/qdev.h create mode 100644 include/sysemu/runstate.h create mode 100644 trace/control-vcpu.h
Signature · 1 line
2.21.0
Peter Maydell
AppliedQuoted 39 lines · Markus Armbruster
The following changes since commit
f8f2eac4e5de8ce8ef17591ee1b84904437be25b:Open 4.2 development tree (2019-08-15 17:20:55 +0100)
are available in the Git repository at:
git://repo.or.cz/qemu/armbru.gittags/pull-include-2019-08-13-v2for you to fetch changes up to
54d31236b906c8f03eb011717de7bc47000720c3:sysemu: Split
sysemu/runstate.hoffsysemu/sysemu.h(2019-08-16 13:37:36 +0200)----------------------------------------------------------------
Header cleanup patches for 2019-08-13----------------------------------------------------------------
Markus Armbruster (29):
include: Make headers more self-contained
Include generated QAPI headers less
qapi: Split error.json off common.json
memory: Fix type of IOMMUMemoryRegionClass member @parent_class
queue: Drop superfluous #includeqemu/atomic.h
trace: Eliminate use ofTARGET_FMT_plx
trace: Do not includeqom/cpu.hinto generatedtrace.hIncludesysemu/reset.ha lot less
Includemigration/qemu-file-types.ha lot less
ide: Include hw/ide/internal a bit less outside hw/ide/
typedefs: Separate incomplete types and function types Includehw/irq.ha lot less
Clean up inclusion ofexec/cpu-common.h
migration: Move the VMStateDescription typedef totypedefs.hIncludemigration/vmstate.hless
Includeexec/memory.hslightly less
Includeqom/object.hslightly less
Includehw/hw.hexactly where needed
Includeqemu/queue.hslightly less
Includeqemu/main-loop.hless
Includehw/qdev-properties.hless
Quoted 8 lines
Include
hw/boards.ha bit less
numa: Don't includehw/boards.hintosysemu/numa.hIncludesysemu/hostmem.hless
numa: Move remaining NUMA declarations fromsysemu.htonuma.hClean up inclusion ofsysemu/sysemu.h
Includesysemu/sysemu.ha lot less
sysemu: Move the VMChangeStateEntry typedef toqemu/typedefs.h
sysemu: Splitsysemu/runstate.hoffsysemu/sysemu.h
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.
-- PMM