summaryrefslogtreecommitdiffstats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorEric Farman2017-01-20 17:25:27 +0100
committerPaolo Bonzini2017-01-27 18:07:31 +0100
commitc4c41a0a65d650b241dec9efedf4ee3f00a16a30 (patch)
tree8af16ce3648be55df877faa4edc400f350973713 /scripts/qapi.py
parentblock: Fix target variable of BLKSECTGET ioctl (diff)
downloadqemu-c4c41a0a65d650b241dec9efedf4ee3f00a16a30.tar.gz
qemu-c4c41a0a65d650b241dec9efedf4ee3f00a16a30.tar.xz
qemu-c4c41a0a65d650b241dec9efedf4ee3f00a16a30.zip
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>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions