KVM: VMX: Do not zero idt_vectoring_info in vmx_complete_interrupts().
authorGleb Natapov <gleb@redhat.com>
Mon, 30 Mar 2009 13:03:18 +0000 (16:03 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:37 +0000 (11:48 +0300)
commit8843419048e500f8f38df555bca1bf7948804b7f
tree3f02aab4718f8aca3e72692854cba05e755862ba
parent37b96e988053c4dd21811b0408a12f8f60b4d0c8
KVM: VMX: Do not zero idt_vectoring_info in vmx_complete_interrupts().

We will need it later in task_switch().
Code in handle_exception() is dead. is_external_interrupt(vect_info)
will always be false since idt_vectoring_info is zeroed in
vmx_complete_interrupts().

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