Skip to content
Snippets Groups Projects
Commit 7fbdda31 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: guest_memfd: do not go through struct page


We have a perfectly usable folio, use it to retrieve the pfn and order.
All that's needed is a version of folio_file_page that returns a pfn.

Reviewed-by: default avatarMichael Roth <michael.roth@amd.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d04c77d2
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment