summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/vmx.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-01-05 12:02:29 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 16:35:46 +0100
commit878403b788bff1af9c7f1a61e104f0c77115af29 (patch)
treead25143de372db159aec0734e049050f2b72b128 /arch/x86/include/asm/vmx.h
parentKVM: x86: Rename gb_page_enable() to get_lpage_level() in kvm_x86_ops (diff)
downloadlinux-878403b788bff1af9c7f1a61e104f0c77115af29.tar.xz
linux-878403b788bff1af9c7f1a61e104f0c77115af29.zip
KVM: VMX: Enable EPT 1GB page support
Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/vmx.h')
-rw-r--r--arch/x86/include/asm/vmx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 713ed9a5b1d3..43f1e9b45917 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -364,6 +364,7 @@ enum vmcs_field {
#define VMX_EPTP_UC_BIT (1ull << 8)
#define VMX_EPTP_WB_BIT (1ull << 14)
#define VMX_EPT_2MB_PAGE_BIT (1ull << 16)
+#define VMX_EPT_1GB_PAGE_BIT (1ull << 17)
#define VMX_EPT_EXTENT_INDIVIDUAL_BIT (1ull << 24)
#define VMX_EPT_EXTENT_CONTEXT_BIT (1ull << 25)
#define VMX_EPT_EXTENT_GLOBAL_BIT (1ull << 26)