Skip to content
Commit bd2b3ca7 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Fix interrupt loss during race with NMI



If an interrupt cannot be injected for some reason (say, page fault
when fetching the IDT descriptor), the interrupt is marked for
reinjection.  However, if an NMI is queued at this time, the NMI
will be injected instead and the NMI will be lost.

Fix by deferring the NMI injection until the interrupt has been
injected successfully.

Analyzed by Jan Kiszka.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 3eb77d51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment