Subject guest_memfd: In-place conversion support
Author devnull@kernel.org
Date 2026-06-19 00:31:38 +0000 UTC
Version
Cc ackerleytng@google.com aik@amd.com akpm@linux-foundation.org andrew.jones@linux.dev aneesh.kumar@kernel.org axelrasmussen@google.com baohua@kernel.org baoquan.he@linux.dev binbin.wu@linux.intel.com bp@alien8.de brauner@kernel.org chao.p.peng@linux.intel.com chrisl@kernel.org corbet@lwn.net dave.hansen@linux.intel.com david@kernel.org devnull@kernel.org forkloop@google.com hpa@zytor.com jgg@ziepe.ca jmattson@google.com jthoughton@google.com kas@kernel.org kasong@tencent.com kvm@vger.kernel.org liam@infradead.org linux-coco@lists.linux.dev linux-doc@vger.kernel.org linux-kernel@vger.kernel.org linux-kselftest@vger.kernel.org linux-mm@kvack.org linux-trace-kernel@vger.kernel.org mathieu.desnoyers@efficios.com mhiramat@kernel.org michael.roth@amd.com mingo@redhat.com nphamcs@gmail.com oupton@kernel.org pankaj.gupta@amd.com pbonzini@redhat.com pratyush@kernel.org qi.zheng@linux.dev qperret@google.com rick.p.edgecombe@intel.com rientjes@google.com rostedt@goodmis.org seanjc@google.com shakeel.butt@linux.dev shikemeng@huaweicloud.com shivankg@amd.com
Patches (46)
Name Content [All]
[PATCH v8 01/46] KVM: guest_memfd: Introduce per-gmem attributes, use to guard user mappings [Body]
[PATCH v8 02/46] KVM: Rename KVM_GENERIC_MEMORY_ATTRIBUTES to KVM_VM_MEMORY_ATTRIBUTES [Body]
[PATCH v8 03/46] KVM: Move KVM_VM_MEMORY_ATTRIBUTES config definition to x86 [Body]
[PATCH v8 04/46] KVM: Decouple kvm_has_arch_private_mem from CONFIG_KVM_VM_MEMORY_ATTRIBUTES [Body]
[PATCH v8 05/46] KVM: Make CONFIG_KVM_VM_MEMORY_ATTRIBUTES selectable [Body]
[PATCH v8 06/46] KVM: Enumerate support for PRIVATE memory iff kvm_arch_has_private_mem is defined [Body]
[PATCH v8 07/46] KVM: Rename memory attribute APIs to prepare for in-place gmem conversion [Body]
[PATCH v8 08/46] KVM: Provide generic interface for checking memory private/shared status [Body]
[PATCH v8 09/46] KVM: guest_memfd: Introduce function to check GFN private/shared status [Body]
[PATCH v8 10/46] KVM: guest_memfd: Wire up core private/shared attribute interfaces [Body]
[PATCH v8 11/46] KVM: Consolidate private memory and guest_memfd ifdeffery in kvm_host.h [Body]
[PATCH v8 12/46] KVM: guest_memfd: Only prepare folios for private pages [Body]
[PATCH v8 13/46] KVM: guest_memfd: Add base support for KVM_SET_MEMORY_ATTRIBUTES2 [Body]
[PATCH v8 14/46] KVM: guest_memfd: Ensure pages are not in use before conversion [Body]
[PATCH v8 15/46] KVM: guest_memfd: Call arch invalidate hooks on conversion [Body]
[PATCH v8 16/46] KVM: guest_memfd: Return early if range already has requested attributes [Body]
[PATCH v8 17/46] KVM: guest_memfd: Advertise KVM_SET_MEMORY_ATTRIBUTES2 ioctl [Body]
[PATCH v8 18/46] KVM: guest_memfd: Handle lru_add fbatch refcounts during conversion safety check [Body]
[PATCH v8 19/46] KVM: guest_memfd: Use actual size for invalidation in kvm_gmem_release() [Body]
[PATCH v8 20/46] KVM: guest_memfd: Determine invalidation filter from memory attributes [Body]
[PATCH v8 21/46] KVM: guest_memfd: Zero page while getting pfn [Body]
[PATCH v8 22/46] KVM: SEV: Make 'uaddr' parameter optional for KVM_SEV_SNP_LAUNCH_UPDATE [Body]
[PATCH v8 23/46] KVM: TDX: Make source page optional for KVM_TDX_INIT_MEM_REGION [Body]
[PATCH v8 24/46] KVM: guest_memfd: Make in-place conversion the default [Body]
[PATCH v8 25/46] KVM: guest_memfd: Enable INIT_SHARED on guest_memfd for x86 Coco VMs [Body]
[PATCH v8 26/46] KVM: selftests: Create gmem fd before "regular" fd when adding memslot [Body]
[PATCH v8 27/46] KVM: selftests: Rename guest_memfd{,_offset} to gmem_{fd,offset} [Body]
[PATCH v8 28/46] KVM: selftests: Add support for mmap() on guest_memfd in core library [Body]
[PATCH v8 29/46] KVM: selftests: Add selftests global for guest memory attributes capability [Body]
[PATCH v8 30/46] KVM: selftests: Add helpers for calling ioctls on guest_memfd [Body]
[PATCH v8 31/46] KVM: selftests: Test basic single-page conversion flow [Body]
[PATCH v8 32/46] KVM: selftests: Test conversion flow when INIT_SHARED [Body]
[PATCH v8 33/46] KVM: selftests: Test conversion precision in guest_memfd [Body]
[PATCH v8 34/46] KVM: selftests: Test conversion before allocation [Body]
[PATCH v8 35/46] KVM: selftests: Convert with allocated folios in different layouts [Body]
[PATCH v8 36/46] KVM: selftests: Test that truncation does not change shared/private status [Body]
[PATCH v8 37/46] KVM: selftests: Test that shared/private status is consistent across processes [Body]
[PATCH v8 38/46] KVM: selftests: Add helpers to pin pages with CONFIG_GUP_TEST [Body]
[PATCH v8 39/46] KVM: selftests: Test conversion with elevated page refcount [Body]
[PATCH v8 40/46] KVM: selftests: Reset shared memory after hole-punching [Body]
[PATCH v8 41/46] KVM: selftests: Provide function to look up guest_memfd details from gpa [Body]
[PATCH v8 42/46] KVM: selftests: Provide common function to set memory attributes [Body]
[PATCH v8 43/46] KVM: selftests: Check fd/flags provided to mmap() when setting up memslot [Body]
[PATCH v8 44/46] KVM: selftests: Make TEST_EXPECT_SIGBUS thread-safe [Body]
[PATCH v8 45/46] KVM: selftests: Update private_mem_conversions_test to mmap() guest_memfd [Body]
[PATCH v8 46/46] KVM: selftests: Update private memory exits test to work with per-gmem attributes [Body]
Session 2026-06-19
ID (for dev) 3023dd6e-bd18-4022-81f6-7d5759012331
Status finished
Triaged OK [Log]
Execution Log [Link]
Test Base Patched Verdict
[KASAN] Build Base b7fbe9a1bf9ee6c967ef77d366ca58c35fcf1887 [Config] passed [Log]
[KASAN] Boot test: Base b7fbe9a1bf9ee6c967ef77d366ca58c35fcf1887 [Config] passed [Log]
[KASAN] Build Patched error [Log]