The offending commit accidentally replaces an atomic_clear with an
atomic_or instead of an atomic_andnot in kvm_s390_vcpu_request_handled.
The symptom is that kvm guests on s390 hang on startup.
This patch simply replaces the incorrect atomic_or with atomic_andnot
Signed-off-by: Jason J. Herne
From: Jason J. Herne jjhe...@linux.vnet.ibm.com
As discussed, v2 moves TOD set/get functions to the setone/getone interface.
A high byte is also provided to account for future expansion.
Jason J. Herne (1):
kvm-s390: Provide guest TOD Clock Get/Set Controls
arch/s390/include/uapi/asm/kvm.h
From: Jason J. Herne jjhe...@linux.vnet.ibm.com
Provide KVM_REG_S390_TOD and KVM_REG_S390_TOD_HIGH registers on s390 for
managing guest Time Of Day clock value.
KVM_REG_S390_TOD_HIGH is presently always set to 0. In the future it will
contain a high order expansion of the tod clock value after
From: Jason J. Herne jjhe...@linux.vnet.ibm.com
This is the simpler version of a previous patch. For reference, the previous
patch and related discussion can be found here:
http://www.spinics.net/lists/kvm/msg108448.html
Jason J. Herne (1):
kvm-s390: Provide guest TOD Clock Get/Set Controls
From: Jason J. Herne jjhe...@linux.vnet.ibm.com
Enable KVM_SET_CLOCK and KVM_GET_CLOCK ioctls on s390 for managing guest Time
Of Day clock value.
Signed-off-by: Jason J. Herne jjhe...@linux.vnet.ibm.com
Reviewed-by: David Hildenbrand d...@linux.vnet.ibm.com
---
Documentation/virtual/kvm/api.txt
.
--
-- Jason J. Herne (jjhe...@linux.vnet.ibm.com)
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Jason J. Herne jjhe...@us.ibm.com
Enable KVM_SET_CLOCK and KVM_GET_CLOCK Ioctls on S390 for managing guest TOD
clock value.
we add the KVM_CLOCK_FORWARD_ONLY flag to indicate to KVM_SET_CLOCK that the
given clock value should only be set if it is = the current guest TOD clock
value