KVM: s390: step the VCPU timer while in enabled wait
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 22 Feb 2016 12:52:27 +0000 (13:52 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 8 Mar 2016 12:57:53 +0000 (13:57 +0100)
commit5ebda31686af6bb70affdcc5777ebc7ed81c0eac
treea7adb2bfe6e9ac7581969c37d512064dd3616d61
parent9c23a1318eb12fcf76d9f663d2c3d88598e62a55
KVM: s390: step the VCPU timer while in enabled wait

The cpu timer is a mean to measure task execution time. We want
to account everything for a VCPU for which it is responsible. Therefore,
if the VCPU wants to sleep, it shall be accounted for it.

We can easily get this done by not disabling cpu timer accounting when
scheduled out while sleeping because of enabled wait.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h