aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.h
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2008-04-25 09:44:52 -0400
committerAvi Kivity <avi@qumranet.com>2008-05-04 07:44:41 -0400
commitb7ebfb0509692cd923e31650f81ed4d79c9a3e59 (patch)
treedef19d1472976c479287bc00384706e1e9fca461 /arch/x86/kvm/vmx.h
parent0d15029895051904e31925ec63525cc3a637f7de (diff)
KVM: VMX: Prepare an identity page table for EPT in real mode
[aliguory: plug leak] Signed-off-by: Sheng Yang <sheng.yang@intel.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/vmx.h')
-rw-r--r--arch/x86/kvm/vmx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.h b/arch/x86/kvm/vmx.h
index 093b085daf6a..f97eccc754e8 100644
--- a/arch/x86/kvm/vmx.h
+++ b/arch/x86/kvm/vmx.h
@@ -340,6 +340,7 @@ enum vmcs_field {
340#define MSR_IA32_FEATURE_CONTROL_VMXON_ENABLED 0x4 340#define MSR_IA32_FEATURE_CONTROL_VMXON_ENABLED 0x4
341 341
342#define APIC_ACCESS_PAGE_PRIVATE_MEMSLOT 9 342#define APIC_ACCESS_PAGE_PRIVATE_MEMSLOT 9
343#define IDENTITY_PAGETABLE_PRIVATE_MEMSLOT 10
343 344
344#define VMX_NR_VPIDS (1 << 16) 345#define VMX_NR_VPIDS (1 << 16)
345#define VMX_VPID_EXTENT_SINGLE_CONTEXT 1 346#define VMX_VPID_EXTENT_SINGLE_CONTEXT 1
@@ -353,4 +354,6 @@ enum vmcs_field {
353#define VMX_EPT_EXTENT_GLOBAL_BIT (1ull << 26) 354#define VMX_EPT_EXTENT_GLOBAL_BIT (1ull << 26)
354#define VMX_EPT_DEFAULT_GAW 3 355#define VMX_EPT_DEFAULT_GAW 3
355 356
357#define VMX_EPT_IDENTITY_PAGETABLE_ADDR 0xfffbc000ul
358
356#endif 359#endif