Skip to content

Commit

Permalink
KVM: Documentation: Add the missing description for tdp_mmu_page into…
Browse files Browse the repository at this point in the history
… kvm_mmu_page

Add the description for tdp_mmu_page into kvm_mmu_page description.
tdp_mmu_page is a field to differentiate shadow pages from TDP MMU and
non-TDP MMU.

Signed-off-by: Mingwei Zhang <mizhang@google.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230912184553.1887764-7-mizhang@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
  • Loading branch information
mzhang3579 authored and sean-jc committed Sep 27, 2023
1 parent c3204c4 commit 78b5605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/virt/kvm/x86/mmu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ Shadow pages contain the following information:
since the last time the page table was actually used; if emulation
is triggered too frequently on this page, KVM will unmap the page
to avoid emulation in the future.
tdp_mmu_page:
Is 1 if the shadow page is a TDP MMU page. This variable is used to
bifurcate the control flows for KVM when walking any data structure that
may contain pages from both TDP MMU and shadow MMU.

Reverse map
===========
Expand Down

0 comments on commit 78b5605

Please sign in to comment.