summaryrefslogtreecommitdiffstats
path: root/block/blkdebug.c
diff options
context:
space:
mode:
authorEric Blake2016-06-24 00:37:11 +0200
committerKevin Wolf2016-07-05 16:46:25 +0200
commitefaf4781a995aacd22b1dd521b14e4644bafae14 (patch)
tree84696f5958a407ea16775b5b0e9ed280f8261461 /block/blkdebug.c
parentiscsi: Advertise realistic limits to block layer (diff)
downloadqemu-efaf4781a995aacd22b1dd521b14e4644bafae14.tar.gz
qemu-efaf4781a995aacd22b1dd521b14e4644bafae14.tar.xz
qemu-efaf4781a995aacd22b1dd521b14e4644bafae14.zip
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 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions