s390x/tcg: rearm the CKC timer during migration
commit7c12f710bad60dc7e509da4e80c77e952ef0490c
authorDavid Hildenbrand <david@redhat.com>
Wed, 27 Jun 2018 13:44:09 +0000 (27 15:44 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 2 Jul 2018 08:37:38 +0000 (2 10:37 +0200)
tree7a6734e8fcd36c7334254106a88a0f55f05b1996
parent9dc6753718d4c0fe327729fea94e4d9f3f5a3d17
s390x/tcg: rearm the CKC timer during migration

If the CPU data is migrated after the TOD clock, the CKC timer of a CPU
is not rearmed. Let's rearm it when loading the CPU state.

Introduce tcg-stub.c just like kvm-stub.c for tcg specific stubs.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180627134410.4901-9-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/Makefile.objs
target/s390x/machine.c
target/s390x/tcg-stub.c [new file with mode: 0644]