KVM: s390: protvirt: Add program exception injection
authorJanosch Frank <frankja@linux.ibm.com>
Mon, 27 May 2019 07:32:51 +0000 (09:32 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:12 +0000 (19:47 +0100)
commitea5c68c39023b76b2dc88043ff76c60f44d4e296
tree897e38c5692a9a2bdaa08f33b1fcac05e6e8105a
parent811ea797118a8caf54b54fc5c30e0b6c90c8abf3
KVM: s390: protvirt: Add program exception injection

Only two program exceptions can be injected for a protected guest:
specification and operand.

For both, a code needs to be specified in the interrupt injection
control of the state description, as the guest prefix page is not
accessible to KVM for such guests.

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