[PATCH v3 01/11] KVM: arm64: guest_memfd: Check mmap support when preparing memslot

Fuad Tabba tabba at google.com
Tue Nov 17 06:05:07 PST 2026


Hi Steven,

On Mon, 16 Nov 2026 16:43:47 +0000, Steven Price <steven.price at arm.com> wrote:
> Check the guest_memfd backing file when deciding whether an arm64
> memslot has mappable memory rather than checking whether the slot is
> gmem only. A public helper function is added to be able to reuse the
> static kvm_gmem_supports_mmap() function.

nit: could the message say why this is needed? It's a no-op until
patch 8 defines kvm_arch_has_private_mem(), which makes every
guest_memfd slot gmem-only.

Cheers,
/fuad



More information about the linux-arm-kernel mailing list