Commit e2eb9d3e9192800e0526e88c186cecda4529d307

Authored by aurel32
1 parent 474ea849

x86: Raise inter-processor NMI and SMI

(Jan Kiszka)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4206 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 7 additions and 1 deletions
hw/apic.c
... ... @@ -216,8 +216,14 @@ static void apic_bus_deliver(const uint32_t *deliver_bitmask,
216 216 break;
217 217  
218 218 case APIC_DM_SMI:
  219 + foreach_apic(apic_iter, deliver_bitmask,
  220 + cpu_interrupt(apic_iter->cpu_env, CPU_INTERRUPT_SMI) );
  221 + return;
  222 +
219 223 case APIC_DM_NMI:
220   - break;
  224 + foreach_apic(apic_iter, deliver_bitmask,
  225 + cpu_interrupt(apic_iter->cpu_env, CPU_INTERRUPT_NMI) );
  226 + return;
221 227  
222 228 case APIC_DM_INIT:
223 229 /* normal INIT IPI sent to processors */
... ...