[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v13 1/4] target/ppc: make power8-pmu.c CONFIG_TCG only

From: Richard Henderson
Subject: Re: [PATCH v13 1/4] target/ppc: make power8-pmu.c CONFIG_TCG only
Date: Thu, 24 Feb 2022 11:32:18 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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

Signed-off-by: Daniel Henrique Barboza<danielhb413@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.henderson@linaro.org>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]