diff options
author | Eric Blake <eblake@redhat.com> | 2016-06-23 16:37:11 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-05 16:46:25 +0200 |
commit | efaf4781a995aacd22b1dd521b14e4644bafae14 (patch) | |
tree | 84696f5958a407ea16775b5b0e9ed280f8261461 /hw/intc | |
parent | f9e95af0a6be281f56ecc8413ea4a3ac3545ce17 (diff) |
scsi: Advertise limits by blocksize, not 512
s->blocksize may be larger than 512, in which case our
tweaks to max_xfer_len and opt_xfer_len must be scaled
appropriately.
CC: qemu-stable@nongnu.org
Reported-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions