]> Git Repo - qemu.git/commit
block: Add bdrv_get_request_alignment()
authorEric Blake <[email protected]>
Fri, 29 Mar 2019 04:27:49 +0000 (23:27 -0500)
committerEric Blake <[email protected]>
Mon, 1 Apr 2019 13:46:52 +0000 (08:46 -0500)
commit4841211e0d1628cd386b35835676d7f6f9a4fa9d
tree1b8268090b537c4b264b2ba118b0d114297310a1
parent9cf638508c0090b33ada4155c7cbb684e08e5ee9
block: Add bdrv_get_request_alignment()

The next patch needs access to a device's minimum permitted
alignment, since NBD wants to advertise this to clients. Add
an accessor function, borrowing from blk_get_max_transfer()
for accessing a backend's block limits.

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <20190329042750[email protected]>
block/block-backend.c
include/sysemu/block-backend.h
This page took 0.023617 seconds and 4 git commands to generate.