KVM: s390: Implement the directed yield (diag 9c) hypervisor call for KVM
authorKonstantin Weitz <WEITZKON@de.ibm.com>
Wed, 25 Apr 2012 13:30:38 +0000 (15:30 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 1 May 2012 00:38:31 +0000 (21:38 -0300)
This patch implements the directed yield hypercall found on other
System z hypervisors. It delegates execution time to the virtual cpu
specified in the instruction's parameter.

Useful to avoid long spinlock waits in the guest.

Christian Borntraeger: moved common code in virt/kvm/

Signed-off-by: Konstantin Weitz <WEITZKON@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found