diff options
author | Sean Christopherson <[email protected]> | 2024-10-10 11:24:20 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-10-25 13:00:50 -0400 |
commit | 040537ce87e9094e4936b2dfdc60beecf2cc339e (patch) | |
tree | 5b27b73dee10e61b80b7e7b2900c87c2c49ae9e6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 570d666c11af0c95eba0a86582ae2cd8689211d0 (diff) |
KVM: PPC: Explicitly require struct page memory for Ultravisor sharing
Explicitly require "struct page" memory when sharing memory between
guest and host via an Ultravisor. Given the number of pfn_to_page()
calls in the code, it's safe to assume that KVM already requires that the
pfn returned by gfn_to_pfn() is backed by struct page, i.e. this is
likely a bug fix, not a reduction in KVM capabilities.
Switching to gfn_to_page() will eventually allow removing gfn_to_pfn()
and kvm_pfn_to_refcounted_page().
Signed-off-by: Sean Christopherson <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions