KVM: Move NMI IRET fault processing to new vmx_complete_interrupts()
authorAvi Kivity <avi@qumranet.com>
Tue, 1 Jul 2008 13:20:21 +0000 (16:20 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:12 +0000 (10:15 +0200)
Currently most interrupt exit processing is handled on the entry path,
which is confusing.  Move the NMI IRET fault processing to a new function,
vmx_complete_interrupts(), which is called on the vmexit path.

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

Simple merge