diff options
author | Pierre Morel <pmorel@linux.vnet.ibm.com> | 2015-09-10 16:35:08 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-09-16 12:48:08 +0300 |
commit | ad2aa04218de9bd734d593adb0ac59854ec0cb68 (patch) | |
tree | 9450fac88940838127f0170f2bd3d22e323e0bc9 /tools | |
parent | fd2e8d4300c56f9660679d629c449118e14c00cd (diff) | |
download | linux-ad2aa04218de9bd734d593adb0ac59854ec0cb68.tar.bz2 |
virtio/s390: handle failures of READ_VQ_CONF ccw
In virtio_ccw_read_vq_conf() the return value of ccw_io_helper()
was not checked.
If the configuration could not be read properly, we'd wrongly assume a
queue size of 0.
Let's propagate any I/O error to virtio_ccw_setup_vq() so it may
properly fail.
Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions