diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-04 20:27:46 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-10 20:11:47 +0300 |
commit | 17573fd971f9e31ddee420eca8359ceff87e9e51 (patch) | |
tree | dfd674f4a6c75e751e59af434a569cb80e0bd436 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3bb2531e20bff99f9cd8719ee7aea8bd82687173 (diff) | |
download | linux-17573fd971f9e31ddee420eca8359ceff87e9e51.tar.xz |
KVM: guest_memfd: extract __kvm_gmem_get_pfn()
In preparation for adding a function that walks a set of pages
provided by userspace and populates them in a guest_memfd,
add a version of kvm_gmem_get_pfn() that has a "bool prepare"
argument and passes it down to kvm_gmem_get_folio().
Populating guest memory has to call repeatedly __kvm_gmem_get_pfn()
on the same file, so make the new function take struct file*.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions