diff options
| author | Sean Christopherson <[email protected]> | 2024-10-10 18:24:20 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2024-10-25 17:00:50 +0000 |
| commit | 040537ce87e9094e4936b2dfdc60beecf2cc339e (patch) | |
| tree | 5b27b73dee10e61b80b7e7b2900c87c2c49ae9e6 /rust/helpers/helpers.c | |
| parent | KVM: arm64: Use __gfn_to_page() when copying MTE tags to/from userspace (diff) | |
| download | kernel-040537ce87e9094e4936b2dfdc60beecf2cc339e.tar.gz kernel-040537ce87e9094e4936b2dfdc60beecf2cc339e.zip | |
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
