arm/arm64: KVM: vgic: kick the specific vcpu instead of iterating through all
authorShannon Zhao <zhaoshenglong@huawei.com>
Wed, 19 Nov 2014 10:11:25 +0000 (10:11 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 26 Nov 2014 10:19:37 +0000 (10:19 +0000)
commit016ed39c54b8a3db680e5c6a43419f806133caf2
tree4395531d363a4e865df71f9bc689773341fb4c7b
parentb1e952b4e484ebc9ffad674c361d261a1af02a13
arm/arm64: KVM: vgic: kick the specific vcpu instead of iterating through all

When call kvm_vgic_inject_irq to inject interrupt, we can known which
vcpu the interrupt for by the irq_num and the cpuid. So we should just
kick this vcpu to avoid iterating through all.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic.c
This page took 0.024879 seconds and 5 git commands to generate.