diff options
| author | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-03-16 15:13:17 +0300 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-03-16 18:56:39 +0300 |
| commit | ab5119735e984f6b724ef1b699c01479949ed1de (patch) | |
| tree | fb70a115553d9f299b33180b3e672e0d9df51773 /scripts | |
| parent | 1ca90f4ae554034d96764577196d8dd0c3bcd05e (diff) | |
| download | linux-ab5119735e984f6b724ef1b699c01479949ed1de.tar.xz | |
KVM: s390: vsie: Avoid injecting machine check on signal
The recent XFER_TO_GUEST_WORK change resulted in a situation, where the
vsie code would interpret a signal during work as a machine check during
SIE as both use the EINTR return code.
The exit_reason of the sie64a function has nothing to do with the
kvm_run exit_reason. Rename it and define a specific code for machine
checks instead of abusing -EINTR.
rename exit_reason into sie_return to avoid the naming conflict
and change the code flow in vsie.c to have a separate variable for rc
and sie_return.
Fixes: 2bd1337a1295e ("KVM: s390: Use generic VIRT_XFER_TO_GUEST_WORK functions")
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
