s390x/cpu: Use ioctl to reset state in the kernel
commit49f5c9e98ab44700b58e23ca8c17e21850328da1
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 12 Feb 2014 08:56:35 +0000 (12 09:56 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2014 08:51:26 +0000 (27 09:51 +0100)
treedc85da78de61a563e530ebc2f5afcfd812c74042
parent0ca3611221d8d80bcf98337f4691addc07df0b08
s390x/cpu: Use ioctl to reset state in the kernel

Some of the state in the kernel can not be reset from QEMU yet.
For this we've got to use the KVM_S390_INITIAL_RESET ioctl to make
sure that the state in the kernel is set to the right values during
initial CPU reset, too.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/cpu.c