]> xenbits.xensource.com Git - people/pauldu/linux.git/commitdiff
KVM: Documentation: Add the missing description for tdp_mmu_page into kvm_mmu_page
authorMingwei Zhang <mizhang@google.com>
Tue, 12 Sep 2023 18:45:53 +0000 (18:45 +0000)
committerSean Christopherson <seanjc@google.com>
Wed, 27 Sep 2023 20:32:18 +0000 (13:32 -0700)
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>
Documentation/virt/kvm/x86/mmu.rst

index d04729c180da2d7063c740dc1ced076d0134a087..2b3b6d442302b756f397360eb445a6d1a0f9c76b 100644 (file)
@@ -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
 ===========