KVM: Fix RTC interrupt coalescing tracking
authorGleb Natapov <gleb@redhat.com>
Mon, 24 Jun 2013 12:19:15 +0000 (15:19 +0300)
committerGleb Natapov <gleb@redhat.com>
Thu, 27 Jun 2013 11:20:53 +0000 (14:20 +0300)
commit24f7bb52e952912b6a936ebcdc4e744b03e9e5cf
tree53ebca7bbfcae0eb83f678c37f9ab02fdd52179d
parent489223edf29bc08f84e581c9495a2b42c9d52f08
KVM: Fix RTC interrupt coalescing tracking

This reverts most of the f1ed0450a5fac7067590317cbf027f566b6ccbca. After
the commit kvm_apic_set_irq() no longer returns accurate information
about interrupt injection status if injection is done into disabled
APIC. RTC interrupt coalescing tracking relies on the information to be
accurate and cannot recover if it is not.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
virt/kvm/irq_comm.c