From 454057b7d9b9ad141bd5df8c4075745e56b4870f Mon Sep 17 00:00:00 2001 From: Peter Lieven Date: Mon, 2 Feb 2015 14:52:20 +0100 Subject: block-backend: expose bs->bl.max_transfer_length Signed-off-by: Peter Lieven Reviewed-by: Max Reitz Signed-off-by: Kevin Wolf --- include/sysemu/block-backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sysemu/block-backend.h') diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index 8871a021d0..aab12b982c 100644 --- a/include/sysemu/block-backend.h +++ b/include/sysemu/block-backend.h @@ -127,6 +127,7 @@ int blk_is_inserted(BlockBackend *blk); 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); 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); -- cgit v1.2.3-55-g7522