On 3/26/21 1:36 PM, Claudio Fontana wrote:
we need to be careful not to use
if (tcg_enabled())
here, because of the VMSTATE definitions in machine.c,
which are only protected by CONFIG_TCG, and thus
it would break the --enable-tcg --enable-kvm build.
Signed-off-by: Claudio Fontana<cfont...@suse.de>
---
target/arm/tcg/tcg-cpu.h | 1 +
target/arm/cpu.c | 28 +++--------------------
target/arm/tcg/sysemu/tcg-cpu.c | 40 +++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 25 deletions(-)
A little bit surprising this, but ok.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~