]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd9fe88b871770ee5b2a9a45f3a58975b5f85560
tree3885378f00b547f89664157ef72606a224bcb9b4
parent9d63c98657ff7b71df62ef4289033cfabf680be3
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