[PATCH v3 15/15] KVM: arm64: Restrict protected VM capabilities
Will Deacon
will at kernel.org
Thu Aug 12 02:59:40 PDT 2021
On Mon, Jul 19, 2021 at 05:03:46PM +0100, Fuad Tabba wrote:
> Restrict protected VM capabilities based on the
> fixed-configuration for protected VMs.
>
> No functional change intended in current KVM-supported modes
> (nVHE, VHE).
>
> Signed-off-by: Fuad Tabba <tabba at google.com>
> ---
> arch/arm64/include/asm/kvm_fixed_config.h | 10 ++++
> arch/arm64/kvm/arm.c | 63 ++++++++++++++++++++++-
> arch/arm64/kvm/pkvm.c | 30 +++++++++++
> 3 files changed, 102 insertions(+), 1 deletion(-)
This patch looks good to me, but I'd be inclined to add this to the user-ABI
series given that it's really all user-facing and, without a functional
kvm_vm_is_protected(), isn't serving much purpose.
Cheers,
Will
More information about the linux-arm-kernel
mailing list