Paolo Bonzini 9738c65720 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>
2021-03-06 11:42:56 +01:00
..
2020-08-21 06:30:28 -04:00
2020-09-09 09:27:09 -04:00
2013-09-12 08:46:21 +02:00