public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ioapic/lapic/msi cleanup
@ 2009-03-04 13:30 Gleb Natapov
  2009-03-04 13:30 ` [PATCH 1/3] Make kvm_apic_set_irq() deliver all kinds of interrupts Gleb Natapov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gleb Natapov @ 2009-03-04 13:30 UTC (permalink / raw)
  To: avi, mtosatti; +Cc: kvm

There are many code/logic duplications throughout ioapic/lapic/msi device
emulation. Try to consolidate as much code as possible.

The patch series is on top of Sheng Yang's patch:
KVM: Merge kvm_ioapic_get_delivery_bitmask into kvm_get_intr_delivery_bitmask

---

Gleb Natapov (3):
      Consolidate ioapic/ipi interrupt delivery logic.
      ioapic/msi interrupt delivery consolidation.
      Make kvm_apic_set_irq() deliver all kinds of interrupts.


 arch/ia64/include/asm/kvm_host.h |    1 
 arch/ia64/kvm/kvm-ia64.c         |   33 ++++-----
 arch/ia64/kvm/lapic.h            |    6 +-
 arch/x86/include/asm/kvm_host.h  |    2 -
 arch/x86/kvm/lapic.c             |  147 ++++++++++++++------------------------
 arch/x86/kvm/lapic.h             |    4 +
 virt/kvm/ioapic.c                |   89 +++++++++--------------
 virt/kvm/ioapic.h                |   13 ++-
 virt/kvm/irq_comm.c              |  109 +++++++---------------------
 9 files changed, 151 insertions(+), 253 deletions(-)

-- 
	Gleb.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-04 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 13:30 [PATCH 0/3] ioapic/lapic/msi cleanup Gleb Natapov
2009-03-04 13:30 ` [PATCH 1/3] Make kvm_apic_set_irq() deliver all kinds of interrupts Gleb Natapov
2009-03-04 17:48   ` Marcelo Tosatti
2009-03-04 13:30 ` [PATCH 2/3] ioapic/msi interrupt delivery consolidation Gleb Natapov
2009-03-04 13:30 ` [PATCH 3/3] Consolidate ioapic/ipi interrupt delivery logic Gleb Natapov
2009-03-04 18:01   ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox