diff options
author | Avi Kivity <avi@redhat.com> | 2008-11-20 04:47:18 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-11-23 07:52:29 -0500 |
commit | bd2b3ca7686d9470b1b58df631daa03179486182 (patch) | |
tree | 73c041f6ecc0ae4616835b751fbb8d619bf3c196 /arch/ia64/kvm/misc.h | |
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>
Diffstat (limited to 'arch/ia64/kvm/misc.h')
0 files changed, 0 insertions, 0 deletions