[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] The introduction of the SMI handling code added in cset 9371 is



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 98eaa430bdf3e0c7700104090c23a0f2412f1441
# Parent  c43d7806ca5afc5f7ccfb51e4793192e6f2134bc
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@xxxxxxx>

diff -r c43d7806ca5a -r 98eaa430bdf3 xen/arch/x86/hvm/svm/vmcb.c
--- a/xen/arch/x86/hvm/svm/vmcb.c       Tue Mar 28 12:43:22 2006
+++ b/xen/arch/x86/hvm/svm/vmcb.c       Tue Mar 28 12:45:08 2006
@@ -123,7 +123,7 @@
           GENERAL1_INTERCEPT_RDTSC         | GENERAL1_INTERCEPT_PUSHF      |
           GENERAL1_INTERCEPT_SWINT         | GENERAL1_INTERCEPT_POPF       | 
           GENERAL1_INTERCEPT_IRET          | GENERAL1_INTERCEPT_PAUSE      |
-          GENERAL1_INTERCEPT_TASK_SWITCH   | GENERAL1_INTERCEPT_SMI
+          GENERAL1_INTERCEPT_TASK_SWITCH
         );
 
     /* turn on the general 2 intercepts */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.