KVM: s390: Avoid endless loops of specification exceptions
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 17 Apr 2014 07:57:10 +0000 (09:57 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 16 May 2014 12:57:19 +0000 (14:57 +0200)
commit684135e0962fce7946a89f50cf6c7ffa78a11b09
tree3885378f00b547f89664157ef72606a224bcb9b4
parenta3fb577e481d64dc757f506e19685603bbf3db42
KVM: s390: Avoid endless loops of specification exceptions

If the new PSW for program interrupts is invalid, the VM ends up
in an endless loop of specification exceptions. Since there is not
much left we can do in this case, we should better drop to userspace
instead so that the crash can be reported to the user.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/intercept.c