mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
target-i386: wake up processors that receive an SMI
An SMI should definitely wake up a processor in halted state! This lets OVMF boot with SMM on multiprocessor systems, although it halts very soon after that with a "CpuIndex != BspIndex" assertion failure. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b4854f1384
commit
a9bad65d2c
1 changed files with 3 additions and 1 deletions
|
@ -3063,7 +3063,9 @@ static bool x86_cpu_has_work(CPUState *cs)
|
||||||
(cs->interrupt_request & (CPU_INTERRUPT_NMI |
|
(cs->interrupt_request & (CPU_INTERRUPT_NMI |
|
||||||
CPU_INTERRUPT_INIT |
|
CPU_INTERRUPT_INIT |
|
||||||
CPU_INTERRUPT_SIPI |
|
CPU_INTERRUPT_SIPI |
|
||||||
CPU_INTERRUPT_MCE));
|
CPU_INTERRUPT_MCE)) ||
|
||||||
|
((cs->interrupt_request & CPU_INTERRUPT_SMI) &&
|
||||||
|
!(env->hflags & HF_SMM_MASK));
|
||||||
}
|
}
|
||||||
|
|
||||||
static Property x86_cpu_properties[] = {
|
static Property x86_cpu_properties[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue