+83
−3
Loading
Add arm64 architecture support for handling guest page faults on memory slots backed by guest_memfd. This change introduces a new function, gmem_abort(), which encapsulates the fault handling logic specific to guest_memfd-backed memory. The kvm_handle_guest_abort() entry point is updated to dispatch to gmem_abort() when a fault occurs on a guest_memfd-backed memory slot (as determined by kvm_slot_has_gmem()). Until guest_memfd gains support for huge pages, the fault granule for these memory regions is restricted to PAGE_SIZE. Reviewed-by:Gavin Shan <gshan@redhat.com> Reviewed-by:
James Houghton <jthoughton@google.com> Reviewed-by:
Marc Zyngier <maz@kernel.org> Signed-off-by:
Fuad Tabba <tabba@google.com> Signed-off-by:
Sean Christopherson <seanjc@google.com> Message-ID: <20250729225455.670324-19-seanjc@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>