]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: vmx: clear pending interrupts on KVM_SET_LAPIC
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Dec 2016 13:03:45 +0000 (14:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Feb 2017 13:54:33 +0000 (14:54 +0100)
commit9656c4328c72f71efe0fcf8bfa36e4f4752b8317
treeb8e6c108b8d989fcca95de76ff495ecdfeaaa38b
parent4f654b9bd103f4174757769d774e33355e460082
KVM: vmx: clear pending interrupts on KVM_SET_LAPIC

Pending interrupts might be in the PI descriptor when the
LAPIC is restored from an external state; we do not want
them to be injected.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/vmx.c