From: Yang Zhang <[email protected]>

Current interrupt coalescing logci which only used by RTC has conflict
with Posted Interrupt.

This patch introduces a new mechinism to use eoi to track interrupt:
When delivering an interrupt to vcpu, the need_eoi set to number of
vcpu that received the interrupt. And decrease it when each vcpu writing
eoi. No subsequent RTC interrupt can deliver to vcpu until all vcpus
write eoi.

Yang Zhang (5):
  KVM: parse ioapic entry to get destination vcpu
  KVM: add vcpu info to ioapic_update_eoi()
  KVM: introduce struct rtc_status
  KVM: register rtc eoi notifier
  KVM: use eoi to track RTC interrupt delivery status

 arch/x86/kvm/lapic.c |   44 +++++++++------
 arch/x86/kvm/lapic.h |    4 ++
 virt/kvm/ioapic.c    |  143 +++++++++++++++++++++++++++++++++++++++++++++++--
 virt/kvm/ioapic.h    |   12 ++++-
 4 files changed, 178 insertions(+), 25 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to