KVM: Change irq routing table to use gsi indexed array
authorGleb Natapov <gleb@redhat.com>
Mon, 24 Aug 2009 08:54:20 +0000 (11:54 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:07 +0000 (09:32 +0200)
commit46e624b95c36d729bdf24010fff11d16f6fe94fa
treee505df028d91f767778afb8e2cfc89cd6e7440e8
parent1a6e4a8c276e122dbeb6f9c610f29735e4236bfd
KVM: Change irq routing table to use gsi indexed array

Use gsi indexed array instead of scanning all entries on each interrupt
injection.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/irq_comm.c
virt/kvm/kvm_main.c