diff options
| author | 2022-10-19 16:56:16 +0000 | |
|---|---|---|
| committer | 2022-11-09 12:31:33 -0500 | |
| commit | 5e3edd7e8b7e8004c9bb8310fd669a9ca81de207 (patch) | |
| tree | 207a5d723daf2bf658d1204dcd832f70794e8caa /scripts/Makefile.thinlto | |
| parent | KVM: x86/mmu: Track the number of TDP MMU pages, but not the actual pages (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 <seanjc@google.com>
Message-Id: <20221019165618.927057-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
