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)
commitcf393f75661f4b17451377b353833eb5502a9688
tree4ec14e8f1acc5c7b34ecdbae8832b9bffa84e779
parent5b5c6a5a60801effb559e787a947885d9850a7da
KVM: Move NMI IRET fault processing to new vmx_complete_interrupts()

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