aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-bus.c
diff options
context:
space:
mode:
authorZhu Lingshan <lszhu@suse.com>2015-12-29 11:32:14 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-01-15 18:58:01 +0100
commit1cb6d137ffd380c458be2da24a58404708c0db55 (patch)
tree90bf29bc4e72a41a93ea32fac95e0742bdb73981 /hw/scsi/scsi-bus.c
parent46f296cd3a3ebc3d30e2dbc1da7c4882e3d35ce5 (diff)
iscsi: send readcapacity10 when readcapacity16 failed
When play with Dell MD3000 target, for sure it is a TYPE_DISK, but readcapacity16 would fail. Then we find that readcapacity10 succeeded. It looks like the target just support readcapacity10 even through it is a TYPE_DISK or have some TYPE_ROM characteristics. This patch can give a chance to send readcapacity16 when readcapacity10 failed. This patch is not harmful to original pathes Signed-off-by: Zhu Lingshan <lszhu@suse.com> Message-Id: <1451359934-9236-1-git-send-email-lszhu@suse.com> [Don't fall through on UNIT ATTENTION. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/scsi-bus.c')
0 files changed, 0 insertions, 0 deletions