Commit 6c806a73 authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Paolo Bonzini

KVM: MMU: update the documentation for reverse mapping of parent_pte

Update the document to match the current reverse mapping of
parent_pte
Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d8968f1f
...@@ -191,12 +191,12 @@ Shadow pages contain the following information: ...@@ -191,12 +191,12 @@ Shadow pages contain the following information:
A counter keeping track of how many hardware registers (guest cr3 or A counter keeping track of how many hardware registers (guest cr3 or
pdptrs) are now pointing at the page. While this counter is nonzero, the pdptrs) are now pointing at the page. While this counter is nonzero, the
page cannot be destroyed. See role.invalid. page cannot be destroyed. See role.invalid.
multimapped: parent_ptes:
Whether there exist multiple sptes pointing at this page. The reverse mapping for the pte/ptes pointing at this page's spt. If
parent_pte/parent_ptes: parent_ptes bit 0 is zero, only one spte points at this pages and
If multimapped is zero, parent_pte points at the single spte that points at parent_ptes points at this single spte, otherwise, there exists multiple
this page's spt. Otherwise, parent_ptes points at a data structure sptes pointing at this page and (parent_ptes & ~0x1) points at a data
with a list of parent_ptes. structure with a list of parent_ptes.
unsync: unsync:
If true, then the translations in this page may not match the guest's If true, then the translations in this page may not match the guest's
translation. This is equivalent to the state of the tlb when a pte is translation. This is equivalent to the state of the tlb when a pte is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment