ia64/xen-unstable

changeset 9474:98eaa430bdf3

The introduction of the SMI handling code added in cset 9371 is
"reversed", as in it actually clears the SMI bit in the VMCB. If you
have a new enough chip (or new BIOS), the SMI bit HAS TO BE SET or it
gives exitcode -1.

Signed-off-by: Mats Petersson <mats.petersson@amd.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 28 13:45:08 2006 +0100 (2006-03-28)
parents c43d7806ca5a
children 4109c4e7804a
files xen/arch/x86/hvm/svm/vmcb.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/vmcb.c	Tue Mar 28 13:43:22 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/vmcb.c	Tue Mar 28 13:45:08 2006 +0100
     1.3 @@ -123,7 +123,7 @@ static int construct_vmcb_controls(struc
     1.4            GENERAL1_INTERCEPT_RDTSC         | GENERAL1_INTERCEPT_PUSHF      |
     1.5            GENERAL1_INTERCEPT_SWINT         | GENERAL1_INTERCEPT_POPF       | 
     1.6            GENERAL1_INTERCEPT_IRET          | GENERAL1_INTERCEPT_PAUSE      |
     1.7 -          GENERAL1_INTERCEPT_TASK_SWITCH   | GENERAL1_INTERCEPT_SMI
     1.8 +          GENERAL1_INTERCEPT_TASK_SWITCH
     1.9          );
    1.10  
    1.11      /* turn on the general 2 intercepts */