KVM: s390: protvirt: Add UV cpu reset calls
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 9 Jan 2020 09:37:50 +0000 (04:37 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:12 +0000 (19:47 +0100)
commit8a8378fa61571eb308428780dee063c4580edb2a
treee21d35cc1ebd6cc9a4859a9b828e7904b982e8c1
parent72f218208fa63806ebcfca7e793b095d346ee0a4
KVM: s390: protvirt: Add UV cpu reset calls

For protected VMs, the VCPU resets are done by the Ultravisor, as KVM
has no access to the VCPU registers.

Note that the ultravisor will only accept a call for the exact reset
that has been requested.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[borntraeger@de.ibm.com: patch merging, splitting, fixing]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/uv.h
arch/s390/kvm/kvm-s390.c