Jan Kiszka wrote: > [ Refreshed and resent version of > http://permalink.gmane.org/gmane.comp.emulators.qemu/23456 ] > > This patch reworks the delivery of IRQs directed to a local APIC, > handling all requests in a central function, apic_local_deliver(), > analogue to apic_bus_deliver(). > > Futhermore, the APIC_LVT_LINT0 mask initialization is fixed for SMP. > Finally, virtual routing of the legacy PIT to the APICs is adopted in so > far that pic_irq_request() delivers interrupts through the LINT0 lines > of all APICs in the system. This routing allows for emulating the > IO-APIC NMI watchdog mechanism, including on SMP, which Linux exploits > via its nmi_watchdog=1. > > Signed-off-by: Jan Kiszka > Non-broken patch attached. Sorry. Jan