KVM: s390: provide kvm_arch_no_poll function
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 5 Mar 2019 10:30:02 +0000 (05:30 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 26 Apr 2019 07:08:17 +0000 (09:08 +0200)
commit8b905d28ee17795c939813b2f6947829774619b9
tree1926b9c6429067d79b898fedce16e7139a95f3ab
parentcdd6ad3ac63d2fa320baefcf92a02a918375c30f
KVM: s390: provide kvm_arch_no_poll function

We do track the current steal time of the host CPUs. Let us use
this value to disable halt polling if the steal time goes beyond
a configured value.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/Kconfig
arch/s390/kvm/kvm-s390.c