diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-05-21 13:37:34 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-06-06 20:08:26 +0200 |
commit | 71cde5879f10b639506bc0b9f29a89f58b42a17e (patch) | |
tree | 5e8e8da042eede41ef4b9b74fd14e959e61f5b4a /drivers/s390 | |
parent | KVM: s390: fix locking order problem in enable_sie (diff) | |
download | linux-71cde5879f10b639506bc0b9f29a89f58b42a17e.tar.xz linux-71cde5879f10b639506bc0b9f29a89f58b42a17e.zip |
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/s390mach.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/s390mach.c b/drivers/s390/s390mach.c index 5080f343ad74..5bfbe7659830 100644 --- a/drivers/s390/s390mach.c +++ b/drivers/s390/s390mach.c @@ -207,6 +207,7 @@ s390_handle_mcck(void) do_exit(SIGSEGV); } } +EXPORT_SYMBOL_GPL(s390_handle_mcck); /* * returns 0 if all registers could be validated |