On Tue, Dec 29, 2009 at 12:42:16PM +0200, Avi Kivity wrote: > When we queue an interrupt to the local apic, we set the IRR before the TMR. > The vcpu can pick up the IRR and inject the interrupt before setting the TMR, > and perhaps even EOI it, causing incorrect behaviour. > > The race is really insignificant since it can only occur on the first > interrupt (usually following interrupts will not change TMR), but it's better > closed than open. The EOI handler clears TMR, so AFAICS it can occur not only on the first interrupt. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html