]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 May 2019 14:35:05 +0000 (16:35 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 11 Jun 2019 18:22:09 +0000 (20:22 +0200)
commit14a48c1d0d687735c76880e59bcede6e99871ded
tree83b165e699adbf64297972d9dc8f5aa3dabdf867
parenta578cdfbdd8f9beff5ced52b7826ddb1669abbbf
qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h

Other accelerators have their own headers: sysemu/hax.h, sysemu/hvf.h,
sysemu/kvm.h, sysemu/whpx.h.  Only tcg_enabled() & friends sit in
qemu-common.h.  This necessitates inclusion of qemu-common.h into
headers, which is against the rules spelled out in qemu-common.h's
file comment.

Move tcg_enabled() & friends into their own header sysemu/tcg.h, and
adjust #include directives.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-2-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[Rebased with conflicts resolved automatically, except for
accel/tcg/tcg-all.c]
33 files changed:
MAINTAINERS
accel/tcg/cpu-exec-common.c
accel/tcg/tcg-all.c
accel/tcg/translate-all.c
bsd-user/main.c
cpus.c
exec.c
hw/i386/pc.c
hw/ppc/spapr_caps.c
hw/s390x/ipl.c
include/exec/ram_addr.h
include/qemu-common.h
include/sysemu/tcg.h [new file with mode: 0644]
linux-user/main.c
memory.c
monitor.c
qemu-nbd.c
qom/cpu.c
target/arm/cpu.c
target/i386/cpu.c
target/i386/cpu.h
target/i386/helper.c
target/i386/machine.c
target/ppc/translate_init.inc.c
target/s390x/cpu.c
target/s390x/cpu_models.c
target/s390x/gdbstub.c
target/s390x/helper.c
target/s390x/interrupt.c
target/s390x/machine.c
target/s390x/mmu_helper.c
target/s390x/sigp.c
vl.c