diff options
author | Sheng Yang <sheng.yang@intel.com> | 2008-01-17 02:14:33 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 04:53:17 -0400 |
commit | 2384d2b32640839a4d4d260ca7c5aa4edbf68d91 (patch) | |
tree | 812ba0ea30b2fd59553bc7064b13cc107f276e6b /include/asm-x86 | |
parent | adb1ff46754a87f3f6c9e7ee0a92f9a8a183bb38 (diff) |
KVM: VMX: Enable Virtual Processor Identification (VPID)
To allow TLB entries to be retained across VM entry and VM exit, the VMM
can now identify distinct address spaces through a new virtual-processor ID
(VPID) field of the VMCS.
[avi: drop vpid_sync_all()]
[avi: add "cc" to asm constraints]
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 e076790ee794..28e8177ea4a0 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -601,6 +601,7 @@ static inline void kvm_inject_gp(struct kvm_vcpu *vcpu, u32 error_code) | |||
601 | #define ASM_VMX_VMWRITE_RSP_RDX ".byte 0x0f, 0x79, 0xd4" | 601 | #define ASM_VMX_VMWRITE_RSP_RDX ".byte 0x0f, 0x79, 0xd4" |
602 | #define ASM_VMX_VMXOFF ".byte 0x0f, 0x01, 0xc4" | 602 | #define ASM_VMX_VMXOFF ".byte 0x0f, 0x01, 0xc4" |
603 | #define ASM_VMX_VMXON_RAX ".byte 0xf3, 0x0f, 0xc7, 0x30" | 603 | #define ASM_VMX_VMXON_RAX ".byte 0xf3, 0x0f, 0xc7, 0x30" |
604 | #define ASM_VMX_INVVPID ".byte 0x66, 0x0f, 0x38, 0x81, 0x08" | ||
604 | 605 | ||
605 | #define MSR_IA32_TIME_STAMP_COUNTER 0x010 | 606 | #define MSR_IA32_TIME_STAMP_COUNTER 0x010 |
606 | 607 | ||