s390x/tcg: implement SET CLOCK
commit9dc6753718d4c0fe327729fea94e4d9f3f5a3d17
authorDavid Hildenbrand <david@redhat.com>
Wed, 27 Jun 2018 13:44:08 +0000 (27 15:44 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 2 Jul 2018 08:37:38 +0000 (2 10:37 +0200)
treef3caad3bb24ed68a1f85ec2d49f6652df3e5e70d
parent345f1ab96e8279a537f32ae7447296d23308c7d1
s390x/tcg: implement SET CLOCK

This allows a guest to change its TOD. We already take care of updating
all CKC timers from within S390TODClass.

Use MO_ALIGN to load the operand manually - this will properly trigger a
SPECIFICATION exception.

Acked-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180627134410.4901-8-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/misc_helper.c
target/s390x/translate.c