aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-01-11 06:02:10 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:03:04 -0400
commitf6e2c02b6d28ddabe99377c5640a833407a62632 (patch)
tree57c435d07989069fd315afe48153a07ebc895f99 /arch/x86/include
parent9903a927a4aea4b1ea42356a8453fca664df0b18 (diff)
KVM: MMU: Rename "metaphysical" attribute to "direct"
This actually describes what is going on, rather than alerting the reader that something strange is going on. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 863ea73431ad..55fd4c5fd388 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -170,7 +170,8 @@ struct kvm_pte_chain {
170 * bits 0:3 - total guest paging levels (2-4, or zero for real mode) 170 * bits 0:3 - total guest paging levels (2-4, or zero for real mode)
171 * bits 4:7 - page table level for this shadow (1-4) 171 * bits 4:7 - page table level for this shadow (1-4)
172 * bits 8:9 - page table quadrant for 2-level guests 172 * bits 8:9 - page table quadrant for 2-level guests
173 * bit 16 - "metaphysical" - gfn is not a real page (huge page/real mode) 173 * bit 16 - direct mapping of virtual to physical mapping at gfn
174 * used for real mode and two-dimensional paging
174 * bits 17:19 - common access permissions for all ptes in this shadow page 175 * bits 17:19 - common access permissions for all ptes in this shadow page
175 */ 176 */
176union kvm_mmu_page_role { 177union kvm_mmu_page_role {
@@ -180,7 +181,7 @@ union kvm_mmu_page_role {
180 unsigned level:4; 181 unsigned level:4;
181 unsigned quadrant:2; 182 unsigned quadrant:2;
182 unsigned pad_for_nice_hex_output:6; 183 unsigned pad_for_nice_hex_output:6;
183 unsigned metaphysical:1; 184 unsigned direct:1;
184 unsigned access:3; 185 unsigned access:3;
185 unsigned invalid:1; 186 unsigned invalid:1;
186 unsigned cr4_pge:1; 187 unsigned cr4_pge:1;