KVM: s390: Provide guest TOD Clock Get/Set Controls
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Tue, 25 Nov 2014 14:46:02 +0000 (09:46 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:25:40 +0000 (13:25 +0100)
commit72f250206f0f291190ab7f54e4d92ab211779929
tree26e1d8b82e4ff5dd59822f5c849364de4b82d5a1
parent556cc0dab1f65f40b755da556a462ae68d6b57a1
KVM: s390: Provide guest TOD Clock Get/Set Controls

Provide controls for setting/getting the guest TOD clock based on the VM
attribute interface.

Provide TOD and TOD_HIGH vm attributes on s390 for managing guest Time Of
Day clock value.

TOD_HIGH is presently always set to 0. In the future it will contain a high
order expansion of the tod clock value after it overflows the 64-bits of
the TOD.

Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c