]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Break kvm_for_each_vcpu loop after finding the VP_INDEX
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Thu, 27 Feb 2014 06:08:31 +0000 (15:08 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Feb 2014 18:25:39 +0000 (19:25 +0100)
commita75d8ccf4597b9b01d99c48f0e0d56f2cf74be42
tree55eb91ae4ea918cad66c744bdbb38b57730f908a
parentfaa036cfebe4090b76e45be6d57d4a32c4673d83
KVM: x86: Break kvm_for_each_vcpu loop after finding the VP_INDEX

No need to scan the entire VCPU array.

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c