Re: [PATCH v3 15/15] KVM: arm64: Restrict protected VM capabilities
From: Fuad Tabba <hidden>
Date: 2021-08-16 14:42:47
Also in:
kvmarm, linux-arm-kernel
From: Fuad Tabba <hidden>
Date: 2021-08-16 14:42:47
Also in:
kvmarm, linux-arm-kernel
Hi Will, On Thu, Aug 12, 2021 at 11:59 AM Will Deacon [off-list ref] wrote:
On Mon, Jul 19, 2021 at 05:03:46PM +0100, Fuad Tabba wrote:quoted
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 <redacted> --- 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.
Sure. /fuad
Cheers, Will