summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini2021-03-06 11:24:12 +0100
committerPaolo Bonzini2021-03-06 11:42:56 +0100
commit9738c657208800298a7d68272b861fb2dc49fee1 (patch)
treed1f27a5bac46be1e449b2d82621f911fa93dfee6 /include
parentscsi: Add mapping for generic SCSI_HOST status to sense codes (diff)
downloadqemu-9738c657208800298a7d68272b861fb2dc49fee1.tar.gz
qemu-9738c657208800298a7d68272b861fb2dc49fee1.tar.xz
qemu-9738c657208800298a7d68272b861fb2dc49fee1.zip
scsi-generic: do not snoop the output of failed commands
If a READ CAPACITY command would fail, for example s->qdev.blocksize would be set to zero and cause a division by zero on the next use. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions