aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/vmx.h
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@hotmail.com>2015-10-13 09:12:21 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-16 10:30:24 +0200
commit99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85 (patch)
treeb097ce5eeb4640caf6f026bb080b0aa39197083d /arch/x86/include/asm/vmx.h
parentKVM: VMX: introduce __vmx_flush_tlb to handle specific vpid (diff)
downloadlinux-dev-99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85.tar.xz
linux-dev-99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85.zip
KVM: nVMX: emulate the INVVPID instruction
Add the INVVPID instruction emulation. Reviewed-by: Wincy Van <fanwenyi0529@gmail.com> Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Paolo Bonzini <pbonzini@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 d25f32ac9c5c..aa336ff3e03e 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -416,6 +416,7 @@ enum vmcs_field {
#define VMX_EPT_EXTENT_CONTEXT_BIT (1ull << 25)
#define VMX_EPT_EXTENT_GLOBAL_BIT (1ull << 26)
+#define VMX_VPID_INVVPID_BIT (1ull << 0) /* (32 - 32) */
#define VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT (1ull << 9) /* (41 - 32) */
#define VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT (1ull << 10) /* (42 - 32) */