diff mbox series

[3/6] KVM: X86/MMU: Update comments in paging_tmpl.h for the kinds of guest PTEs

Message ID 20220605063417.308311-4-jiangshanlai@gmail.com (mailing list archive)
State New, archived
Headers show
Series KVM: Trivial cleanups | expand

Commit Message

Lai Jiangshan June 5, 2022, 6:34 a.m. UTC
From: Lai Jiangshan <jiangshan.ljs@antgroup.com>

Add EPT PTEs into the comments.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
---
 arch/x86/kvm/mmu/paging_tmpl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/kvm/mmu/paging_tmpl.h b/arch/x86/kvm/mmu/paging_tmpl.h
index 2375bd5fd9f4..f4e02ba04744 100644
--- a/arch/x86/kvm/mmu/paging_tmpl.h
+++ b/arch/x86/kvm/mmu/paging_tmpl.h
@@ -16,8 +16,8 @@ 
  */
 
 /*
- * We need the mmu code to access both 32-bit and 64-bit guest ptes,
- * so the code in this file is compiled twice, once per pte size.
+ * We need the MMU code to access 32-bit, 64-bit PTEs and 64-bit EPT PTEs,
+ * so the code in this file is compiled three times, once per a kind of PTE.
  */
 
 #if PTTYPE == 64