qemu-e2k/hw/s390x
Pierre Morel d895d25ae2 s390x: css: report errors from ccw_dstream_read/write
ccw_dstream_read/write functions returned values are sometime
not taking into account and reported back to the upper level
of interpretation of CCW instructions.

It follows that accessing an invalid address does not trigger
a subchannel status program check to the guest as it should.

Let's test the return values of ccw_dstream_write[_buf] and
ccw_dstream_read[_buf] and report it to the caller.

Cc: qemu-stable@nongnu.org
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <1617899529-9329-2-git-send-email-pmorel@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2021-04-09 10:52:13 +02:00
..
3270-ccw.c s390x: css: report errors from ccw_dstream_read/write 2021-04-09 10:52:13 +02:00
ap-bridge.c
ap-device.c
ccw-device.c
ccw-device.h
css-bridge.c
css.c s390x: css: report errors from ccw_dstream_read/write 2021-04-09 10:52:13 +02:00
event-facility.c
ipl.c vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
ipl.h s390x: Avoid variable size warning in ipl.h 2020-11-10 08:51:30 +01:00
Kconfig
meson.build s390x: modularize virtio-gpu-ccw 2021-03-26 09:33:50 +01:00
pv.c s390: Recognize confidential-guest-support option 2021-02-08 16:57:38 +11:00
s390-ccw.c
s390-pci-bus.c qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr() 2020-12-18 15:20:18 -05:00
s390-pci-inst.c s390x/pci: restore missing Query PCI Function CLP data 2021-03-04 11:23:35 +01:00
s390-pci-vfio.c s390x/pci: Add missing initialization for g_autofree variables 2021-03-15 15:47:18 +01:00
s390-skeys-kvm.c
s390-skeys.c s390x: do not use ram_size global 2020-12-10 12:15:09 -05:00
s390-stattrib-kvm.c
s390-stattrib.c
s390-virtio-ccw.c s390: Recognize confidential-guest-support option 2021-02-08 16:57:38 +11:00
s390-virtio-hcall.c
s390-virtio-hcall.h
sclp.c s390x: pv: Remove sclp boundary checks 2020-10-22 15:47:27 +02:00
sclpcpu.c
sclpquiesce.c
tod-kvm.c sysemu: Let VMChangeStateHandler take boolean 'running' argument 2021-03-09 23:13:57 +01:00
tod-qemu.c
tod.c
trace-events s390x/pci: get zPCI function info from host 2020-11-01 12:30:52 -07:00
trace.h
vhost-user-fs-ccw.c
vhost-vsock-ccw.c
virtio-ccw-9p.c
virtio-ccw-balloon.c
virtio-ccw-blk.c
virtio-ccw-crypto.c
virtio-ccw-gpu.c s390x: modularize virtio-gpu-ccw 2021-03-26 09:33:50 +01:00
virtio-ccw-input.c
virtio-ccw-net.c
virtio-ccw-rng.c
virtio-ccw-scsi.c
virtio-ccw-serial.c
virtio-ccw.c s390x: css: report errors from ccw_dstream_read/write 2021-04-09 10:52:13 +02:00
virtio-ccw.h s390x: add have_virtio_ccw 2021-03-26 09:33:50 +01:00