Re: [PATCH] KVM: Call kvm_apic_match_dest() to check destination vcpu

2013-04-02 Thread Gleb Natapov
On Mon, Apr 01, 2013 at 12:42:33AM +, Zhang, Yang Z wrote: > Zhang, Yang Z wrote on 2013-03-21: > > From: Yang Zhang > > > > 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_

RE: [PATCH] KVM: Call kvm_apic_match_dest() to check destination vcpu

2013-03-31 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2013-03-21: > From: Yang Zhang > > 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 > --- > arch/x86/kvm/lapic

[PATCH] KVM: Call kvm_apic_match_dest() to check destination vcpu

2013-03-21 Thread Yang Zhang
From: Yang Zhang 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 --- arch/x86/kvm/lapic.c | 47 ---