KVM: x86: Fix a typo in Documentation/virt/kvm/x86/mmu.rst
authorBinbin Wu <binbin.wu@linux.intel.com>
Thu, 18 May 2023 09:13:39 +0000 (17:13 +0800)
committerSean Christopherson <seanjc@google.com>
Mon, 5 Jun 2023 20:07:21 +0000 (13:07 -0700)
L1 CR4.LA57 should be '0' instead of '1' when shadowing 5-level NPT
for 4-level NPT L1 guest.

Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://lore.kernel.org/r/20230518091339.1102-4-binbin.wu@linux.intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Documentation/virt/kvm/x86/mmu.rst

index 8364afa..26f6203 100644 (file)
@@ -205,7 +205,7 @@ Shadow pages contain the following information:
   role.passthrough:
     The page is not backed by a guest page table, but its first entry
     points to one.  This is set if NPT uses 5-level page tables (host
-    CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=1).
+    CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=0).
   gfn:
     Either the guest page table containing the translations shadowed by this
     page, or the base page frame for linear translations.  See role.direct.