KVM: VMX: Parameterize vmx_complete_interrupts() for both exit and entry
authorAvi Kivity <avi@redhat.com>
Tue, 20 Jul 2010 11:43:23 +0000 (14:43 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:52 +0000 (10:52 +0200)
commit83422e17c19d61399cab7dbf9bf40ff9af2a7dd2
tree66baed88c811ca2f2a453254af08eb980ee3c842
parent537b37e2674b7e4390a490e03cae53ca9ca99e30
KVM: VMX: Parameterize vmx_complete_interrupts() for both exit and entry

Currently vmx_complete_interrupts() can decode event information from vmx
exit fields into the generic kvm event queues.  Make it able to decode
the information from the entry fields as well by parametrizing it.

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