diff options
author | Christian Borntraeger | 2020-03-27 13:46:16 +0100 |
---|---|---|
committer | Cornelia Huck | 2020-04-29 14:35:22 +0200 |
commit | e8d12a55f6d3e577455b02f15907c460578c689b (patch) | |
tree | 7239f14b45a44ee4af88a15f9adf8b11751ee324 /hw/s390x/s390-virtio-ccw.c | |
parent | s390x: protvirt: Fix stray error_report_err in s390_machine_protect (diff) | |
download | qemu-e8d12a55f6d3e577455b02f15907c460578c689b.tar.gz qemu-e8d12a55f6d3e577455b02f15907c460578c689b.tar.xz qemu-e8d12a55f6d3e577455b02f15907c460578c689b.zip |
s390x/pv: Retry ioctls on -EINTR
PV_ENABLE (and maybe others) might return -EINTR when a signal is
pending. See the Linux kernel patch "s390/gmap: return proper error code
on ksm unsharing" for details. Let us retry the ioctl in that case.
Fixes: c3347ed0d2ee ("s390x: protvirt: Support unpack facility")
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20200327124616.34866-1-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-virtio-ccw.c')
0 files changed, 0 insertions, 0 deletions