]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Call kvm_apic_match_dest() to check destination vcpu
authorYang Zhang <yang.z.zhang@Intel.com>
Sun, 7 Apr 2013 00:25:18 +0000 (08:25 +0800)
committerGleb Natapov <gleb@redhat.com>
Sun, 7 Apr 2013 10:55:49 +0000 (13:55 +0300)
commit1059574f4707061356137ccd47cd01bcdb667360
tree6d0b96165c11414c98edd14501f016627687d7dd
parent06c6d4ecb8db665732f3d4dfa15b6e47086f91d9
KVM: Call kvm_apic_match_dest() to check destination vcpu

For a given vcpu, kvm_apic_match_dest() will tell you whether
the vcpu in the destination list quickly. Drop kvm_calculate_eoi_exitmap()
and use kvm_apic_match_dest() instead.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
virt/kvm/ioapic.c