Re: [PATCH 03/22] kvm: mmu: Init / Uninit the TDP MMU

From: Paolo Bonzini
Date: Fri Sep 25 2020 - 20:06:19 EST


On 25/09/20 23:22, Ben Gardon wrote:
> +static bool __read_mostly tdp_mmu_enabled = true;
> +module_param_named(tdp_mmu, tdp_mmu_enabled, bool, 0644);
> +

This would need some custom callbacks to avoid the warning in
is_tdp_mmu_enabled().

Paolo