commit | bd2b3ca7686d9470b1b58df631daa03179486182 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Nov 20 11:47:18 2008 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Nov 23 14:52:29 2008 +0200 |
tree | 73c041f6ecc0ae4616835b751fbb8d619bf3c196 | |
parent | 3eb77d5116d78cce5b9fa9eb19d012bc636116b6 [diff] |
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: Avi Kivity <avi@redhat.com>