On Thu, 2025-08-28 at 11:27 +0100, David Hildenbrand wrote: > On 28.08.25 11:39, Roy, Patrick wrote: >> Signed-off-by: Patrick Roy <roypat@xxxxxxxxxxxx> >> --- >> Documentation/virt/kvm/api.rst | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst >> index c17a87a0a5ac..b52c14d58798 100644 >> --- a/Documentation/virt/kvm/api.rst >> +++ b/Documentation/virt/kvm/api.rst >> @@ -6418,6 +6418,11 @@ When the capability KVM_CAP_GUEST_MEMFD_MMAP is supported, the 'flags' field >> supports GUEST_MEMFD_FLAG_MMAP. Setting this flag on guest_memfd creation >> enables mmap() and faulting of guest_memfd memory to host userspace. >> >> +When the capability KVM_CAP_GMEM_NO_DIRECT_MAP is supported, the 'flags' field >> +supports GUEST_MEMFG_FLAG_NO_DIRECT_MAP. Setting this flag makes the guest_memfd >> +instance behave similarly to memfd_secret, and unmaps the memory backing it from >> +the kernel's address space after allocation. >> + >> When the KVM MMU performs a PFN lookup to service a guest fault and the backing >> guest_memfd has the GUEST_MEMFD_FLAG_MMAP set, then the fault will always be >> consumed from guest_memfd, regardless of whether it is a shared or a private > > WARNING: Missing commit description - Add an appropriate one Admittedly wasn't sure what to say that wouldn't just repeat the commit title or the contents. Maybe that just means this shouldn't be its own patch. Will squash in the previous one (same for PATCH 11/12). > WARNING: From:/Signed-off-by: email name mismatch: 'From: "Roy, Patrick" > <roypat@xxxxxxxxxxxx>' != 'Signed-off-by: Patrick Roy <roypat@xxxxxxxxxxxx>' Heh, my git config only ever uses "Patrick Roy <roypat@xxxxxxxxxxxx>". Not sure where "Roy, Patrick" comes from, could it be the mail server mangling things? > -- > Cheers > > David / dhildenb > Best, Patrick