s390x: Add missing vcpu reset functions
commitb91a03946e0f65ddd22927dd80ca1276bf89c5af
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 14 Feb 2020 15:16:21 +0000 (14 10:16 -0500)
committerCornelia Huck <cohuck@redhat.com>
Wed, 26 Feb 2020 17:57:07 +0000 (26 18:57 +0100)
treeba8175e82f81da10ad349dfc17b52a44b384b200
parentddda37483dd17c9936fdde9ebf8f6ca2692b3842
s390x: Add missing vcpu reset functions

Up to now we only had an ioctl to reset vcpu data QEMU couldn't reach
for the initial reset, which was also called for the clear reset. To
be architecture compliant, we also need to clear local interrupts on a
normal reset.

Because of this and the upcoming protvirt support we need to add
ioctls for the missing clear and normal resets.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200214151636.8764-3-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.c
target/s390x/kvm-stub.c
target/s390x/kvm.c
target/s390x/kvm_s390x.h