On 2/24/22 10:18, Daniel Henrique Barboza wrote:
This is an exclusive TCG helper. Gating it with CONFIG_TCG and changing
meson.build accordingly will prevent problems --disable-tcg and
--disable-linux-user later on.

We're also changing the uses of !kvm_enabled() to tcg_enabled() to avoid
adding "defined(CONFIG_TCG)" ifdefs, since tcg_enabled() will be
defaulted to false with --disable-tcg and the block will always be
skipped.

Signed-off-by: Daniel Henrique Barboza<danielhb...@gmail.com>
---
  target/ppc/cpu_init.c   | 16 +++++++---------
  target/ppc/machine.c    |  6 +++++-
  target/ppc/meson.build  |  2 +-
  target/ppc/power8-pmu.h |  4 ++--
  4 files changed, 15 insertions(+), 13 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to