commit | d0d87226f535965b4dafc6ef79246456503a4503 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 11 18:27:44 2024 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 26 14:46:14 2024 -0400 |
tree | a20edaaff35a6a7dd04af727a7a68bf1dcf7fe28 | |
parent | 5932ca411e533e7ad2b97c47b4357a05fa06c2a5 [diff] |
KVM: guest_memfd: return folio from __kvm_gmem_get_pfn() Right now this is simply more consistent and avoids use of pfn_to_page() and put_page(). It will be put to more use in upcoming patches, to ensure that the up-to-date flag is set at the very end of both the kvm_gmem_get_pfn() and kvm_gmem_populate() flows. Reviewed-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>