Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Konstantin Weitz <WEITZKON@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
- Loading branch information
Showing
with
54 additions
and 16 deletions.
- +1 −0 arch/s390/include/asm/kvm_host.h
- +25 −0 arch/s390/kvm/diag.c
- +1 −0 arch/s390/kvm/kvm-s390.c
- +1 −0 include/linux/kvm_host.h
- +26 −16 virt/kvm/kvm_main.c