diff options
| author | Sean Christopherson <[email protected]> | 2022-10-19 16:56:16 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-11-09 12:31:33 -0500 |
| commit | 5e3edd7e8b7e8004c9bb8310fd669a9ca81de207 (patch) | |
| tree | 207a5d723daf2bf658d1204dcd832f70794e8caa /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d25ceb9264364dca0683748b301340097fdab6c7 (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions