]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Implement H_CONFER
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Sep 2013 03:23:21 +0000 (13:23 +1000)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Oct 2013 12:45:00 +0000 (14:45 +0200)
commit9d7cb997a2e0a3b256b3d2e997e9fcff49e7e9d2
treeb0d6683cbc35854fda611cb3a7b740b42c3dfb13
parent88625653866bd66476e17c83308052fc8979e821
KVM: PPC: Book3S HV: Implement H_CONFER

The H_CONFER hypercall is used when a guest vcpu is spinning on a lock
held by another vcpu which has been preempted, and the spinning vcpu
wishes to give its timeslice to the lock holder.  We implement this
in the straightforward way using kvm_vcpu_yield_to().

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv.c