mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
6deec31297
commit
52c437a6da
1 file changed
+1
-1
@@ -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 */
|
||||
|
||||