On 2/21/21 1:24 AM, Claudio Fontana wrote:
> @@ -634,10 +635,11 @@ static int cpu_pre_save(void *opaque)
>  {
>      ARMCPU *cpu = opaque;
>  
> -    if (!kvm_enabled()) {
> +#ifdef CONFIG_TCG
> +    if (tcg_enabled()) {
>          pmu_op_start(&cpu->env);
>      }
> -
> +#endif /* CONFIG_TCG */

Why the ifdef?  Seems like a lack of stub.
I agree that !kvm rather than tcg is a bug.


r~

Reply via email to