qemu-e2k/hw/block
Eric Blake 24ce9a2026 block: Give nonzero result to blk_get_max_transfer_length()
Making all callers special-case 0 as unlimited is awkward,
and we DO have a hard maximum of BDRV_REQUEST_MAX_SECTORS given
our current block layer API limits.

In the case of scsi, this means that we now always advertise a
limit to the guest, even in cases where the underlying layers
previously use 0 for no inherent limit beyond the block layer.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-07-05 16:46:25 +02:00
..
dataplane virtio-blk: dataplane multiqueue support 2016-06-28 13:08:32 +01:00
block.c
cdrom.c
ecc.c
fdc.c fdc: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
hd-geometry.c qemu-common: stop including qemu/bswap.h from qemu-common.h 2016-05-19 16:42:28 +02:00
m25p80.c m25p80: qdev-ify drive property 2016-07-04 13:15:22 +01:00
Makefile.objs
nand.c nand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
nvme.c dma-helpers: change interface to byte-based 2016-05-25 19:04:11 +02:00
nvme.h
onenand.c onenand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
pflash_cfi01.c pflash: make TYPE_CFI_PFLASH0{1,2} macros public 2016-06-29 14:03:46 +02:00
pflash_cfi02.c pflash: make TYPE_CFI_PFLASH0{1,2} macros public 2016-06-29 14:03:46 +02:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: split out trace events for hw/block/ directory 2016-06-20 17:22:15 +01:00
virtio-blk.c block: Give nonzero result to blk_get_max_transfer_length() 2016-07-05 16:46:25 +02:00
xen_blkif.h xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix 2016-06-22 11:28:17 +01:00
xen_disk.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00