KVM: VMX: Handle NMIs before enabling interrupts and preemption
authorAvi Kivity <avi@qumranet.com>
Tue, 9 Oct 2007 10:12:19 +0000 (12:12 +0200)
committerAvi Kivity <avi@qumranet.com>
Mon, 22 Oct 2007 10:03:28 +0000 (12:03 +0200)
commit1b6269db3f83396c2fd2c8d0f3e0f37ac0e6ba05
treea8e99f6f6690e2024b9a08096a61d884b57dc8bc
parent7f2145ad6f3e7060147a2a4c4db35c641ff61b5c
KVM: VMX: Handle NMIs before enabling interrupts and preemption

This makes sure we handle NMI on the current cpu, and that we don't service
maskable interrupts before non-maskable ones.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c