[PATCH] KVM: arm64: Allow KVM to be disabled from the command line
Will Deacon
will at kernel.org
Wed Sep 29 03:28:33 PDT 2021
On Fri, Sep 03, 2021 at 10:16:52AM +0100, Marc Zyngier wrote:
> Although KVM can be compiled out of the kernel, it cannot be disabled
> at runtime. Allow this possibility by introducing a new mode that
> will prevent KVM from initialising.
>
> This is useful in the (limited) circumstances where you don't want
> KVM to be available (what is wrong with you?), or when you want
> to install another hypervisor instead (good luck with that).
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 3 +++
> arch/arm64/include/asm/kvm_host.h | 1 +
> arch/arm64/kernel/idreg-override.c | 1 +
> arch/arm64/kvm/arm.c | 14 +++++++++++++-
> 4 files changed, 18 insertions(+), 1 deletion(-)
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list