diff options
| author | Zhu Lingshan | 2015-12-29 04:32:14 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-01-15 18:58:01 +0100 |
| commit | 1cb6d137ffd380c458be2da24a58404708c0db55 (patch) | |
| tree | 90bf29bc4e72a41a93ea32fac95e0742bdb73981 /include/block | |
| parent | qemu-char: delete send_all/recv_all helper methods (diff) | |
| download | qemu-1cb6d137ffd380c458be2da24a58404708c0db55.tar.gz qemu-1cb6d137ffd380c458be2da24a58404708c0db55.tar.xz qemu-1cb6d137ffd380c458be2da24a58404708c0db55.zip | |
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 'include/block')
0 files changed, 0 insertions, 0 deletions
