]> err.no Git - linux-2.6/commit
KVM: s390: handle machine checks when guest is running
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 21 May 2008 11:37:34 +0000 (13:37 +0200)
committerAvi Kivity <avi@qumranet.com>
Fri, 6 Jun 2008 18:08:26 +0000 (21:08 +0300)
commit71cde5879f10b639506bc0b9f29a89f58b42a17e
tree5e8e8da042eede41ef4b9b74fd14e959e61f5b4a
parent74b6b522ec83f9c44fc7743f2adcb24664aa8f45
KVM: s390: handle machine checks when guest is running

The low-level interrupt handler on s390 checks for _TIF_WORK_INT and
exits the guest context, if work is pending.
TIF_WORK_INT is defined as_TIF_SIGPENDING | _TIF_NEED_RESCHED |
 _TIF_MCCK_PENDING. Currently the sie loop checks for signals and
reschedule, but it does not check for machine checks. That means that
we exit the guest context if a machine check is pending, but we do not
handle the machine check.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/s390/kvm/kvm-s390.c
drivers/s390/s390mach.c