diff options
author | Avi Kivity <avi@redhat.com> | 2010-04-26 04:59:21 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:19:32 -0400 |
commit | c4bd09b28907ca17cdb307c32bbcc9882c280feb (patch) | |
tree | d9a30b65423a545a87bd478e060e43f8acb41a9a /Documentation/kvm | |
parent | b843f065481488fd1d1f4ff2179aaf4f300a1358 (diff) |
KVM: Minor MMU documentation edits
Reported by Andrew Jones.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/kvm')
-rw-r--r-- | Documentation/kvm/mmu.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/kvm/mmu.txt b/Documentation/kvm/mmu.txt index da046711362d..0cc28fb84f4f 100644 --- a/Documentation/kvm/mmu.txt +++ b/Documentation/kvm/mmu.txt | |||
@@ -75,8 +75,8 @@ direct mode; otherwise it operates in shadow mode (see below). | |||
75 | Memory | 75 | Memory |
76 | ====== | 76 | ====== |
77 | 77 | ||
78 | Guest memory (gpa) is part of user address space of the process that is using | 78 | Guest memory (gpa) is part of the user address space of the process that is |
79 | kvm. Userspace defines the translation between guest addresses and user | 79 | using kvm. Userspace defines the translation between guest addresses and user |
80 | addresses (gpa->hva); note that two gpas may alias to the same gva, but not | 80 | addresses (gpa->hva); note that two gpas may alias to the same gva, but not |
81 | vice versa. | 81 | vice versa. |
82 | 82 | ||
@@ -111,7 +111,7 @@ is not related to a translation directly. It points to other shadow pages. | |||
111 | 111 | ||
112 | A leaf spte corresponds to either one or two translations encoded into | 112 | A leaf spte corresponds to either one or two translations encoded into |
113 | one paging structure entry. These are always the lowest level of the | 113 | one paging structure entry. These are always the lowest level of the |
114 | translation stack, with an optional higher level translations left to NPT/EPT. | 114 | translation stack, with optional higher level translations left to NPT/EPT. |
115 | Leaf ptes point at guest pages. | 115 | Leaf ptes point at guest pages. |
116 | 116 | ||
117 | The following table shows translations encoded by leaf ptes, with higher-level | 117 | The following table shows translations encoded by leaf ptes, with higher-level |
@@ -167,7 +167,7 @@ Shadow pages contain the following information: | |||
167 | Either the guest page table containing the translations shadowed by this | 167 | Either the guest page table containing the translations shadowed by this |
168 | page, or the base page frame for linear translations. See role.direct. | 168 | page, or the base page frame for linear translations. See role.direct. |
169 | spt: | 169 | spt: |
170 | A pageful of 64-bit sptes containig the translations for this page. | 170 | A pageful of 64-bit sptes containing the translations for this page. |
171 | Accessed by both kvm and hardware. | 171 | Accessed by both kvm and hardware. |
172 | The page pointed to by spt will have its page->private pointing back | 172 | The page pointed to by spt will have its page->private pointing back |
173 | at the shadow page structure. | 173 | at the shadow page structure. |
@@ -235,7 +235,7 @@ the amount of emulation we have to do when the guest modifies multiple gptes, | |||
235 | or when the a guest page is no longer used as a page table and is used for | 235 | or when the a guest page is no longer used as a page table and is used for |
236 | random guest data. | 236 | random guest data. |
237 | 237 | ||
238 | As a side effect we have resynchronize all reachable unsynchronized shadow | 238 | As a side effect we have to resynchronize all reachable unsynchronized shadow |
239 | pages on a tlb flush. | 239 | pages on a tlb flush. |
240 | 240 | ||
241 | 241 | ||