KVM: VMX: Fix pending NMI-vs.-IRQ race for user space irqchip
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 24 Nov 2008 11:26:19 +0000 (12:26 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:47 +0000 (16:55 +0200)
commit264ff01d55b456932cef03082448b41d2edeb6a1
tree7b660410647d36dac8abe94dd4721361b033a035
parentdefaf1587c5d7dff828f6f11c8941e5bcef00f50
KVM: VMX: Fix pending NMI-vs.-IRQ race for user space irqchip

As with the kernel irqchip, don't allow an NMI to stomp over an already
injected IRQ; instead wait for the IRQ injection to be completed.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c