Skip to content

Commit 78b5605

Browse files
mzhang3579sean-jc
authored andcommitted
KVM: Documentation: Add the missing description for tdp_mmu_page into 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 <[email protected]> Reviewed-by: Kai Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent c3204c4 commit 78b5605

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/virt/kvm/x86/mmu.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ Shadow pages contain the following information:
282282
since the last time the page table was actually used; if emulation
283283
is triggered too frequently on this page, KVM will unmap the page
284284
to avoid emulation in the future.
285+
tdp_mmu_page:
286+
Is 1 if the shadow page is a TDP MMU page. This variable is used to
287+
bifurcate the control flows for KVM when walking any data structure that
288+
may contain pages from both TDP MMU and shadow MMU.
285289

286290
Reverse map
287291
===========

0 commit comments

Comments
 (0)