KVM: add kvm_arch_vcpu_runnable() test to kvm_vcpu_on_spin() loop
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Wed, 26 Feb 2014 15:14:18 +0000 (16:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Feb 2014 16:32:05 +0000 (17:32 +0100)
commit98f4a14676127397c54cab7d6119537ed4d113a2
tree3944ab31f91fc469efb60626ad242d69490c725a
parentf87618e870d03ac114dd5496b23f6f628af54152
KVM: add kvm_arch_vcpu_runnable() test to kvm_vcpu_on_spin() loop

Use the arch specific function kvm_arch_vcpu_runnable() to add a further
criterium to identify a suitable vcpu to yield to during undirected yield
processing.

Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c