diff options
author | Eddie Dong <eddie.dong@intel.com> | 2007-11-11 05:28:35 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:01 -0500 |
commit | e5edaa01c4cea5f60c617fac989c6458df0ecc4e (patch) | |
tree | 39f9d423a89e7447bfbe5c2aeb4704a0ccfbbfd1 /drivers/kvm/vmx.h | |
parent | 8a70cc3d0f4877f862ac9cace2e61e4e5116b502 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.h b/drivers/kvm/vmx.h index 6d32bc69285e..d52ae8d7303d 100644 --- a/drivers/kvm/vmx.h +++ b/drivers/kvm/vmx.h | |||
@@ -49,6 +49,7 @@ | |||
49 | * Definitions of Secondary Processor-Based VM-Execution Controls. | 49 | * Definitions of Secondary Processor-Based VM-Execution Controls. |
50 | */ | 50 | */ |
51 | #define SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES 0x00000001 | 51 | #define SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES 0x00000001 |
52 | #define SECONDARY_EXEC_WBINVD_EXITING 0x00000040 | ||
52 | 53 | ||
53 | 54 | ||
54 | #define PIN_BASED_EXT_INTR_MASK 0x00000001 | 55 | #define PIN_BASED_EXT_INTR_MASK 0x00000001 |
@@ -223,6 +224,7 @@ enum vmcs_field { | |||
223 | #define EXIT_REASON_MWAIT_INSTRUCTION 36 | 224 | #define EXIT_REASON_MWAIT_INSTRUCTION 36 |
224 | #define EXIT_REASON_TPR_BELOW_THRESHOLD 43 | 225 | #define EXIT_REASON_TPR_BELOW_THRESHOLD 43 |
225 | #define EXIT_REASON_APIC_ACCESS 44 | 226 | #define EXIT_REASON_APIC_ACCESS 44 |
227 | #define EXIT_REASON_WBINVD 54 | ||
226 | 228 | ||
227 | /* | 229 | /* |
228 | * Interruption-information format | 230 | * Interruption-information format |