Skip to content
Snippets Groups Projects
Commit 41628d33 authored by Konstantin Weitz's avatar Konstantin Weitz Committed by Marcelo Tosatti
Browse files

KVM: s390: Implement the directed yield (diag 9c) hypervisor call for KVM


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: default avatarKonstantin Weitz <WEITZKON@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent b6ddf05f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment