diff options
author | Sheng Yang <sheng.yang@intel.com> | 2008-04-28 06:24:45 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-05-04 13:44:42 +0200 |
commit | 1439442c7b257b47a83aea4daed8fbf4a32cdff9 (patch) | |
tree | c85c885ef200480ab67342ddc63c8bc1d2d4e148 /include/asm-x86 | |
parent | KVM: VMX: Prepare an identity page table for EPT in real mode (diff) | |
download | linux-1439442c7b257b47a83aea4daed8fbf4a32cdff9.tar.xz linux-1439442c7b257b47a83aea4daed8fbf4a32cdff9.zip |
KVM: VMX: Enable EPT feature for KVM
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index e24afaa64a4d..4baa9c9e1f41 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h @@ -651,6 +651,7 @@ static inline void kvm_inject_gp(struct kvm_vcpu *vcpu, u32 error_code) #define ASM_VMX_VMWRITE_RSP_RDX ".byte 0x0f, 0x79, 0xd4" #define ASM_VMX_VMXOFF ".byte 0x0f, 0x01, 0xc4" #define ASM_VMX_VMXON_RAX ".byte 0xf3, 0x0f, 0xc7, 0x30" +#define ASM_VMX_INVEPT ".byte 0x66, 0x0f, 0x38, 0x80, 0x08" #define ASM_VMX_INVVPID ".byte 0x66, 0x0f, 0x38, 0x81, 0x08" #define MSR_IA32_TIME_STAMP_COUNTER 0x010 |