summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorJason J. herne <jjherne@us.ibm.com>2012-05-15 14:15:28 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-05-17 21:06:03 -0300
commit46a6dd1c87c4ff17202574127daf70cc0bb38d6d (patch)
treeaa32b99750a38106918894e7e6e6164779a0d90e /arch/s390/include/asm
parent29b7c71b5ecf2caaa4c2105ecc0094826db8a8a8 (diff)
downloadblackbird-obmc-linux-46a6dd1c87c4ff17202574127daf70cc0bb38d6d.tar.gz
blackbird-obmc-linux-46a6dd1c87c4ff17202574127daf70cc0bb38d6d.zip
KVM: s390: onereg for timer related registers
Enhance the KVM ONE_REG capability within S390 to allow getting/setting the following special cpu registers: clock comparator and the cpu timer. These are needed for migration. Signed-off-by: Jason J. herne <jjherne@us.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm.h b/arch/s390/include/asm/kvm.h
index 53a53720830a..bdcbe0f8dd7b 100644
--- a/arch/s390/include/asm/kvm.h
+++ b/arch/s390/include/asm/kvm.h
@@ -55,4 +55,6 @@ struct kvm_sync_regs {
#define KVM_REG_S390_TODPR (KVM_REG_S390 | KVM_REG_SIZE_U32 | 0x1)
#define KVM_REG_S390_EPOCHDIFF (KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x2)
+#define KVM_REG_S390_CPU_TIMER (KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x3)
+#define KVM_REG_S390_CLOCK_COMP (KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x4)
#endif
OpenPOWER on IntegriCloud