KVM: s390: epoch difference and TOD programmable field
authorCarsten Otte <cotte@de.ibm.com>
Tue, 15 May 2012 12:15:27 +0000 (14:15 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 18 May 2012 00:06:02 +0000 (21:06 -0300)
commit29b7c71b5ecf2caaa4c2105ecc0094826db8a8a8
tree1dac9e51e30b008aaf53422f5d2e5aa67259a6bd
parent14eebd917d154f3181d2cb219e40b18eec314db7
KVM: s390: epoch difference and TOD programmable field

This patch makes vcpu epoch difference and the TOD programmable
field accessible from userspace. This is needed in order to
implement a couple of instructions that deal with the time of
day clock on s390, such as SET CLOCK and for migration.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/s390/include/asm/kvm.h
arch/s390/kvm/kvm-s390.c