diff options
| author | Sean Christopherson <[email protected]> | 2022-04-29 01:04:11 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-20 06:21:33 -0400 |
| commit | fe1911aa443ed774df46607970bed58d9769db41 (patch) | |
| tree | cfef8146f4112d0f3390973be509fa860efa6df0 /tools/perf/scripts/python/bin | |
| parent | 8e1c69149f27189cff93a0cfe9402e576d89ce29 (diff) | |
KVM: nVMX: Use kvm_vcpu_map() to get/pin vmcs12's APIC-access page
Use kvm_vcpu_map() to get/pin the backing for vmcs12's APIC-access page,
there's no reason it has to be restricted to 'struct page' backing. The
APIC-access page actually doesn't need to be backed by anything, which is
ironically why it got left behind by the series which introduced
kvm_vcpu_map()[1]; the plan was to shove a dummy pfn into vmcs02[2], but
that code never got merged.
Switching the APIC-access page to kvm_vcpu_map() doesn't preclude using a
magic pfn in the future, and will allow a future patch to drop
kvm_vcpu_gpa_to_page().
[1] https://lore.kernel.org/all/[email protected]
[2] https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions