KVM: s390: provide prog irq ilc on SIE faults
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 12 Jan 2016 16:37:58 +0000 (17:37 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 10 Feb 2016 12:12:53 +0000 (13:12 +0100)
commit5631792053f094a8e2f01d5ddcc2550ad4da22f0
treeef9bdb43fc9a30e79d000b46123a8cde66afbf4b
parenteaa4f41642f096f1e10c15a2b172d79199e893ff
KVM: s390: provide prog irq ilc on SIE faults

On SIE faults, the ilc cannot be detected automatically, as the icptcode
is 0. The ilc indicated in the program irq will always be 0. Therefore we
have to manually specify the ilc in order to tell the guest which ilen was
used when forwarding the PSW.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c