+1
−0
+7
−0
Loading
Now that the infrastructure is in place, enable guest_memfd for arm64. * Select CONFIG_KVM_GUEST_MEMFD in KVM/arm64 Kconfig. * Enforce KVM_MEMSLOT_GMEM_ONLY for guest_memfd on arm64: Ensure that guest_memfd-backed memory slots on arm64 are only supported if they are intended for shared memory use cases (i.e., kvm_memslot_is_gmem_only() is true). This design reflects the current arm64 KVM ecosystem where guest_memfd is primarily being introduced for VMs that support shared memory. Reviewed-by:James Houghton <jthoughton@google.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Reviewed-by:
Marc Zyngier <maz@kernel.org> Acked-by:
David Hildenbrand <david@redhat.com> Signed-off-by:
Fuad Tabba <tabba@google.com> Signed-off-by:
Sean Christopherson <seanjc@google.com> Message-ID: <20250729225455.670324-21-seanjc@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>