aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/vmx.h
diff options
context:
space:
mode:
authorEddie Dong <eddie.dong@intel.com>2007-11-11 12:28:35 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:01 +0200
commite5edaa01c4cea5f60c617fac989c6458df0ecc4e (patch)
tree39f9d423a89e7447bfbe5c2aeb4704a0ccfbbfd1 /drivers/kvm/vmx.h
parent8a70cc3d0f4877f862ac9cace2e61e4e5116b502 (diff)
KVM: VMX: wbinvd exiting
Add wbinvd VM Exit support to prepare for pass-through device cache emulation and also enhance real time responsiveness. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.h')
-rw-r--r--drivers/kvm/vmx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.h b/drivers/kvm/vmx.h
index 6d32bc69285..d52ae8d7303 100644
--- a/drivers/kvm/vmx.h
+++ b/drivers/kvm/vmx.h
@@ -49,6 +49,7 @@
* Definitions of Secondary Processor-Based VM-Execution Controls.
*/
#define SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES 0x00000001
+#define SECONDARY_EXEC_WBINVD_EXITING 0x00000040
#define PIN_BASED_EXT_INTR_MASK 0x00000001
@@ -223,6 +224,7 @@ enum vmcs_field {
#define EXIT_REASON_MWAIT_INSTRUCTION 36
#define EXIT_REASON_TPR_BELOW_THRESHOLD 43
#define EXIT_REASON_APIC_ACCESS 44
+#define EXIT_REASON_WBINVD 54
/*
* Interruption-information format