diff options
author | Steven Hand <steven@xensource.com> | 2007-09-18 14:59:25 +0100 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2007-09-18 14:59:25 +0100 |
commit | b4aac452fc181275da6f0531cf48bcb3b806a804 (patch) | |
tree | ee2f30fb43d0189f55bce8d1148b24e20f001759 | |
parent | 6e793550f6462105395a3b390374fc598b05506e (diff) | |
download | xen-b4aac452fc181275da6f0531cf48bcb3b806a804.tar.gz xen-b4aac452fc181275da6f0531cf48bcb3b806a804.tar.bz2 xen-b4aac452fc181275da6f0531cf48bcb3b806a804.zip |
Intercept TS on SVM.
Signed-off-by: Steven Hand <steven@xensource.com>
-rw-r--r-- | xen/arch/x86/hvm/svm/vmcb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c index 1ddf88b653..a7d93b003f 100644 --- a/xen/arch/x86/hvm/svm/vmcb.c +++ b/xen/arch/x86/hvm/svm/vmcb.c @@ -119,7 +119,8 @@ static int construct_vmcb(struct vcpu *v) GENERAL1_INTERCEPT_CPUID | GENERAL1_INTERCEPT_INVD | GENERAL1_INTERCEPT_HLT | GENERAL1_INTERCEPT_INVLPG | GENERAL1_INTERCEPT_INVLPGA | GENERAL1_INTERCEPT_IOIO_PROT | - GENERAL1_INTERCEPT_MSR_PROT | GENERAL1_INTERCEPT_SHUTDOWN_EVT; + GENERAL1_INTERCEPT_MSR_PROT | GENERAL1_INTERCEPT_SHUTDOWN_EVT| + GENERAL1_INTERCEPT_TASK_SWITCH; vmcb->general2_intercepts = GENERAL2_INTERCEPT_VMRUN | GENERAL2_INTERCEPT_VMMCALL | GENERAL2_INTERCEPT_VMLOAD | GENERAL2_INTERCEPT_VMSAVE | |