Files
xemu/block
Eric Farman c4c41a0a65 block: get max_transfer limit for char (scsi-generic) devices
We can get the maximum number of bytes for a single I/O transfer
from the BLKSECTGET ioctl, but we only perform this for block
devices.  scsi-generic devices are represented as character devices,
and so do not issue this today.  Update this, so that virtio-scsi
devices using the scsi-generic interface can return the same data.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Message-Id: <20170120162527.66075-4-farman@linux.vnet.ibm.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-27 18:07:31 +01:00
..
2016-11-14 22:47:34 -05:00
2016-11-11 15:54:55 +01:00
2016-11-25 13:51:30 +01:00
2016-11-11 15:54:55 +01:00
2016-10-28 21:50:18 +08:00
2016-10-28 21:50:18 +08:00
2017-01-09 13:30:52 +01:00
2016-11-01 07:55:57 -04:00
2016-11-14 22:47:34 -05:00