ia64/xen-unstable

changeset 15921:15babb02bc75

Intercept TS on SVM.

Signed-off-by: Steven Hand <steven@xensource.com>
author Steven Hand <steven@xensource.com>
date Tue Sep 18 14:59:25 2007 +0100 (2007-09-18)
parents 3727f7570dff
children 3ce70f7312d9
files xen/arch/x86/hvm/svm/vmcb.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/vmcb.c	Tue Sep 18 13:43:30 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/vmcb.c	Tue Sep 18 14:59:25 2007 +0100
     1.3 @@ -119,7 +119,8 @@ static int construct_vmcb(struct vcpu *v
     1.4          GENERAL1_INTERCEPT_CPUID       | GENERAL1_INTERCEPT_INVD        |
     1.5          GENERAL1_INTERCEPT_HLT         | GENERAL1_INTERCEPT_INVLPG      | 
     1.6          GENERAL1_INTERCEPT_INVLPGA     | GENERAL1_INTERCEPT_IOIO_PROT   |
     1.7 -        GENERAL1_INTERCEPT_MSR_PROT    | GENERAL1_INTERCEPT_SHUTDOWN_EVT;
     1.8 +        GENERAL1_INTERCEPT_MSR_PROT    | GENERAL1_INTERCEPT_SHUTDOWN_EVT|
     1.9 +        GENERAL1_INTERCEPT_TASK_SWITCH;
    1.10      vmcb->general2_intercepts = 
    1.11          GENERAL2_INTERCEPT_VMRUN       | GENERAL2_INTERCEPT_VMMCALL     |
    1.12          GENERAL2_INTERCEPT_VMLOAD      | GENERAL2_INTERCEPT_VMSAVE      |