]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: set TMR when the interrupt is accepted
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jul 2015 13:03:06 +0000 (15:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:22 +0000 (15:06 +0200)
commitf7367968b3166d7b9ab20d52333a4c7455ef133a
tree65a17f3827ebfdf66caa55a70386368cd13a002e
parent21236be46090097e853eff4948b353941c028843
KVM: x86: set TMR when the interrupt is accepted

Do not compute TMR in advance.  Instead, set the TMR just before the interrupt
is accepted into the IRR.  This limits the coupling between IOAPIC and LAPIC.

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