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>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-03-28 13:45:08 +01:00
1 parent 6deec31297
commit 52c437a6da
1 file changed
+1 -1
+1 -1
View File
@@ -123,7 +123,7 @@ static int construct_vmcb_controls(struct arch_svm_struct *arch_svm)
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 */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.