On 24.09.25 17:22, Roy, Patrick wrote:
Add a no-op stub for kvm_arch_gmem_invalidate if CONFIG_HAVE_KVM_ARCH_GMEM_INVALIDATE=n. This allows defining kvm_gmem_free_folio without ifdef-ery, which allows more cleanly using guest_memfd's free_folio callback for non-arch-invalidation related code.Signed-off-by: Patrick Roy <[email protected]> ---
We'll now always perform a callback from the core, but I guess that's tolerable.
Acked-by: David Hildenbrand <[email protected]> -- Cheers David / dhildenb
