diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-10-03 16:25:57 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-10-10 14:25:24 -0700 |
| commit | 9aef71c892a55e004419923ba7129abe3e58d9f1 (patch) | |
| tree | ba05155537dd79cb941a13bec6bce3a73ac17cdf /rust/kernel/platform.rs | |
| parent | 5d3341d684be80892d8f6f9812f90f9274b81177 (diff) | |
KVM: Explicitly mark KVM_GUEST_MEMFD as depending on KVM_GENERIC_MMU_NOTIFIER
Add KVM_GENERIC_MMU_NOTIFIER as a dependency for selecting KVM_GUEST_MEMFD,
as guest_memfd relies on kvm_mmu_invalidate_{begin,end}(), which are
defined if and only if the generic mmu_notifier implementation is enabled.
The missing dependency is currently benign as s390 is the only KVM arch
that doesn't utilize the generic mmu_notifier infrastructure, and s390
doesn't currently support guest_memfd.
Fixes: a7800aa80ea4 ("KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory")
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20251003232606.4070510-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/platform.rs')
0 files changed, 0 insertions, 0 deletions
