diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-10-19 19:56:16 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-09 20:31:33 +0300 |
| commit | 5e3edd7e8b7e8004c9bb8310fd669a9ca81de207 (patch) | |
| tree | 207a5d723daf2bf658d1204dcd832f70794e8caa /tools/perf/scripts/python/stackcollapse.py | |
| parent | d25ceb9264364dca0683748b301340097fdab6c7 (diff) | |
| download | linux-5e3edd7e8b7e8004c9bb8310fd669a9ca81de207.tar.xz | |
KVM: x86/mmu: Add helper to convert SPTE value to its shadow page
Add a helper to convert a SPTE to its shadow page to deduplicate a
variety of flows and hopefully avoid future bugs, e.g. if KVM attempts to
get the shadow page for a SPTE without dropping high bits.
Opportunistically add a comment in mmu_free_root_page() documenting why
it treats the root HPA as a SPTE.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221019165618.927057-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
