Skip to content

Commit b207cfb

Browse files
mzhang3579sean-jc
authored andcommitted
KVM: Documentation: Add the missing description for guest_mode in kvm_mmu_page_role
Add the missing description for guest_mode in kvm_mmu_page_role description. guest_mode tells KVM whether a shadow page is used for the L1 or an L2. Update the missing field in documentation. Signed-off-by: Mingwei Zhang <mizhang@google.com> Reviewed-by: Kai Huang <kai.huang@intel.com> Link: https://lore.kernel.org/r/20230912184553.1887764-2-mizhang@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 57f33f1 commit b207cfb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/virt/kvm/x86/mmu.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ Shadow pages contain the following information:
202202
Is 1 if the MMU instance cannot use A/D bits. EPT did not have A/D
203203
bits before Haswell; shadow EPT page tables also cannot use A/D bits
204204
if the L1 hypervisor does not enable them.
205+
role.guest_mode:
206+
Indicates the shadow page is created for a nested guest.
205207
role.passthrough:
206208
The page is not backed by a guest page table, but its first entry
207209
points to one. This is set if NPT uses 5-level page tables (host

0 commit comments

Comments
 (0)