OSDN Git Service

i386: split cpu accelerators from cpu.c, using AccelCPUClass
authorClaudio Fontana <cfontana@suse.de>
Mon, 22 Mar 2021 13:27:40 +0000 (14:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 10 May 2021 19:41:49 +0000 (15:41 -0400)
commitf5cc5a5c168674f84bf061cdb307c2d25fba5448
treef0eb74c7b11d60d94e278b8ca87fd07814cab8f2
parent0ac2b197430ebf19b5575ea48fe3b76d62110ab9
i386: split cpu accelerators from cpu.c, using AccelCPUClass

i386 is the first user of AccelCPUClass, allowing to split
cpu.c into:

cpu.c            cpuid and common x86 cpu functionality
host-cpu.c       host x86 cpu functions and "host" cpu type
kvm/kvm-cpu.c    KVM x86 AccelCPUClass
hvf/hvf-cpu.c    HVF x86 AccelCPUClass
tcg/tcg-cpu.c    TCG x86 AccelCPUClass

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[claudio]:
Rebased on commit b8184135 ("target/i386: allow modifying TCG phys-addr-bits")

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20210322132800.7470-5-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
15 files changed:
MAINTAINERS
hw/i386/pc_piix.c
target/i386/cpu.c
target/i386/cpu.h
target/i386/host-cpu.c [new file with mode: 0644]
target/i386/host-cpu.h [new file with mode: 0644]
target/i386/hvf/hvf-cpu.c [new file with mode: 0644]
target/i386/hvf/meson.build
target/i386/kvm/kvm-cpu.c [new file with mode: 0644]
target/i386/kvm/kvm-cpu.h [new file with mode: 0644]
target/i386/kvm/kvm.c
target/i386/kvm/meson.build
target/i386/meson.build
target/i386/tcg/tcg-cpu.c
target/i386/tcg/tcg-cpu.h [deleted file]