]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
Include qapi/error.h exactly where needed
authorMarkus Armbruster <armbru@redhat.com>
Thu, 1 Feb 2018 11:18:31 +0000 (12:18 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 9 Feb 2018 12:50:17 +0000 (13:50 +0100)
commite688df6bc4549f28534cdb001f168b8caae55b0c
treed77cfea92ccc7318f7ac82b75a72821d06b5dc75
parent522ece32d214bd4b086821c4350c2aebe5587878
Include qapi/error.h exactly where needed

This cleanup makes the number of objects depending on qapi/error.h
drop from 1910 (out of 4743) to 1612 in my "build everything" tree.

While there, separate #include from file comment with a blank line,
and drop a useless comment on why qemu/osdep.h is included first.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-5-armbru@redhat.com>
[Semantic conflict with commit 34e304e975 resolved, OSX breakage fixed]
151 files changed:
audio/wavcapture.c
balloon.c
block.c
block/block-backend.c
block/iscsi.c
block/qapi.c
block/qcow2-cluster.c
block/qcow2.c
block/quorum.c
block/write-threshold.c
blockdev-nbd.c
blockdev.c
blockjob.c
chardev/char-ringbuf.c
chardev/char.c
chardev/spice.c
cpus.c
crypto/hash.c
crypto/hmac.c
crypto/ivgen-essiv.c
crypto/ivgen-plain.c
crypto/ivgen-plain64.c
crypto/random-gnutls.c
crypto/random-platform.c
docs/devel/qapi-code-gen.txt
dump.c
fsdev/qemu-fsdev-throttle.h
fsdev/qemu-fsdev.c
hmp.c
hw/9pfs/9p-local.c
hw/9pfs/9p-proxy.c
hw/acpi/acpi-stub.c
hw/acpi/core.c
hw/acpi/memory_hotplug.c
hw/acpi/vmgenid.c
hw/adc/stm32f2xx_adc.c
hw/char/mcf_uart.c
hw/char/virtio-console.c
hw/core/qdev.c
hw/display/milkymist-tmu2.c
hw/display/qxl.c
hw/display/virtio-gpu-3d.c
hw/display/virtio-gpu-pci.c
hw/display/xlnx_dp.c
hw/i2c/ppc4xx_i2c.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/xen/xen-hvm.c
hw/ide/core.c
hw/intc/xics_pnv.c
hw/intc/xics_spapr.c
hw/ipmi/ipmi.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/misc/exynos4210_rng.c
hw/misc/mips_cmgcr.c
hw/misc/mps2-scc.c
hw/net/rocker/qmp-norocker.c
hw/net/rocker/rocker.c
hw/net/rocker/rocker_of_dpa.c
hw/net/virtio-net.c
hw/nios2/cpu_pic.c
hw/pci-bridge/i82801b11.c
hw/pci-bridge/ioh3420.c
hw/pci-bridge/xio3130_upstream.c
hw/pci-host/sabre.c
hw/pci/pci-stub.c
hw/pci/pci.c
hw/ppc/fdt.c
hw/ppc/pnv_bmc.c
hw/ppc/pnv_xscom.c
hw/ppc/ppc.c
hw/ppc/spapr_pci_vfio.c
hw/ppc/spapr_rtc.c
hw/s390x/s390-skeys.c
hw/scsi/esp.c
hw/scsi/vhost-scsi-common.c
hw/sd/sdhci.c
hw/smbios/smbios-stub.c
hw/sparc64/niagara.c
hw/sparc64/sun4u_iommu.c
hw/ssi/stm32f2xx_spi.c
hw/timer/m48t59.c
hw/timer/mc146818rtc.c
hw/usb/ccid-card-passthru.c
hw/virtio/virtio-balloon.c
hw/watchdog/watchdog.c
include/crypto/random.h
include/crypto/xts.h
include/hw/ide/internal.h
include/ui/console.h
iothread.c
migration/colo-failover.c
migration/colo.c
migration/exec.c
migration/fd.c
migration/migration.c
migration/ram.c
migration/savevm.c
monitor.c
nbd/common.c
net/filter-replay.c
net/filter-rewriter.c
net/net.c
net/vhost-user.c
numa.c
qdev-monitor.c
qga/commands-posix.c
qga/commands-win32.c
qga/commands.c
qga/main.c
qga/vss-win32.c
qmp.c
qobject/qnum.c
replay/replay-input.c
scripts/qapi-commands.py
scripts/qapi-event.py
stubs/arch-query-cpu-def.c
stubs/arch-query-cpu-model-baseline.c
stubs/arch-query-cpu-model-comparison.c
stubs/arch-query-cpu-model-expansion.c
stubs/vmgenid.c
target/i386/cpu.c
target/i386/xsave_helper.c
target/nios2/helper.c
target/ppc/mmu-book3s-v3.c
target/ppc/mmu-hash64.c
target/ppc/mmu-radix64.c
target/ppc/mmu_helper.c
target/ppc/translate_init.c
target/s390x/excp_helper.c
target/s390x/helper.c
target/s390x/kvm.c
tests/check-qlist.c
tests/check-qnum.c
tests/io-channel-helpers.c
tests/test-aio-multithread.c
tests/test-qmp-commands.c
tests/test-qmp-event.c
tests/test-x86-cpuid-compat.c
tpm.c
trace/qmp.c
ui/cocoa.m
ui/console.c
ui/gtk.c
ui/input.c
ui/spice-core.c
ui/vnc.c
util/qemu-config.c
vl.c