Re: [PATCH v2] KVM: Fix simultaneous NMIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 21, 2011 at 01:44:49PM -0300, Marcelo Tosatti wrote:
> On Wed, Sep 21, 2011 at 11:46:03AM +0300, Avi Kivity wrote:
> > On 09/20/2011 08:28 PM, Avi Kivity wrote:
> > >On 09/20/2011 07:30 PM, Marcelo Tosatti wrote:
> > >>> >
> > >>> >>   We do have a small issue.  If we exit during
> > >>NMI-blocked-by-STI and
> > >>> >>   nmi_pending == 2, then we lose the second interrupt.
> > >>Should rarely
> > >>> >>   happen, since external interrupts never exit in that
> > >>condition, but
> > >>> >>   it's a wart.
> 
> Actually exits in the window between 
> 
> - increase of nmi_queued 
> and 
> - transfer to nmi_pending/nmi_injected
> 
> Lose all nmi_queued values, no?

Applied the patch, please fix save/restore later, 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux