Re: KVM: x86: properly update ready_for_interrupt_injection

2010-05-04 Thread Avi Kivity
On 05/04/2010 05:04 AM, Marcelo Tosatti wrote: The recent changes to emulate string instructions without entering guest mode exposed a bug where pending interrupts are not properly reflected in ready_for_interrupt_injection. The result is that userspace overwrites a previously queued interrupt,

KVM: x86: properly update ready_for_interrupt_injection

2010-05-03 Thread Marcelo Tosatti
The recent changes to emulate string instructions without entering guest mode exposed a bug where pending interrupts are not properly reflected in ready_for_interrupt_injection. The result is that userspace overwrites a previously queued interrupt, when irqchip's are emulated in qemu. Fix by al