diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-09 10:56:45 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-12-22 16:01:07 +0800 |
commit | 648296e067e617e140032c0ab329fb89ffb92aaa (patch) | |
tree | d25362f4c479657492c45e88175d9cb125a61aff /include/sysemu/block-backend.h | |
parent | bd44feb754bdb1354f9813ca5dfe883f3d058193 (diff) | |
download | qemu-648296e067e617e140032c0ab329fb89ffb92aaa.tar.gz qemu-648296e067e617e140032c0ab329fb89ffb92aaa.tar.bz2 qemu-648296e067e617e140032c0ab329fb89ffb92aaa.zip |
block-backend: add blk_get_max_iov()
Add a function to query BlockLimits.max_iov.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/sysemu/block-backend.h')
-rw-r--r-- | include/sysemu/block-backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index fb068ea47b..dc244760a1 100644 --- a/include/sysemu/block-backend.h +++ b/include/sysemu/block-backend.h @@ -146,6 +146,7 @@ void blk_lock_medium(BlockBackend *blk, bool locked); void blk_eject(BlockBackend *blk, bool eject_flag); int blk_get_flags(BlockBackend *blk); int blk_get_max_transfer_length(BlockBackend *blk); +int blk_get_max_iov(BlockBackend *blk); void blk_set_guest_block_size(BlockBackend *blk, int align); void *blk_blockalign(BlockBackend *blk, size_t size); bool blk_op_is_blocked(BlockBackend *blk, BlockOpType op, Error **errp); |