[RFC PATCH v1 9/9] KVM: arm64: Enable mapping guest_memfd in arm64

Fuad Tabba
2025-01-22T15:28:16Z

Enabled mapping guest_memfd in arm64, which would only apply to
VMs with the type KVM_VM_TYPE_ARM_SW_PROTECTED.

Signed-off-by: Fuad Tabba <tabba@google.com>
---
arch/arm64/kvm/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig
index ead632ad01b4..fe3451f244b5 100644
--- a/arch/arm64/kvm/Kconfig
+++ b/arch/arm64/kvm/Kconfig
@@ -38,6 +38,7 @@ menuconfig KVM
select HAVE_KVM_VCPU_RUN_PID_CHANGE
select SCHED_INFO
select GUEST_PERF_EVENTS if PERF_EVENTS
+ select KVM_GMEM_MAPPABLE
help
Support hosting virtualized guest machines.

--
2.48.0.rc2.279.g1de40edade-goog