Skip to content

Commit 06b66e0

Browse files
Binbin Wusean-jc
authored andcommitted
KVM: x86: Fix a typo in Documentation/virt/kvm/x86/mmu.rst
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>
1 parent 2c76131 commit 06b66e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/virt/kvm/x86/mmu.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Shadow pages contain the following information:
205205
role.passthrough:
206206
The page is not backed by a guest page table, but its first entry
207207
points to one. This is set if NPT uses 5-level page tables (host
208-
CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=1).
208+
CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=0).
209209
gfn:
210210
Either the guest page table containing the translations shadowed by this
211211
page, or the base page frame for linear translations. See role.direct.

0 commit comments

Comments
 (0)