diff options
author | Keith Busch | 2022-09-29 22:05:22 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-09-30 18:43:44 +0200 |
commit | a7c5f67a78569f8c275ea4ea9962e9c79b9d03cb (patch) | |
tree | 38027ba5bf27107a1b67f34fc8731655f69b5b81 /include/block | |
parent | iotests/backing-file-invalidation: Add new test (diff) | |
download | qemu-a7c5f67a78569f8c275ea4ea9962e9c79b9d03cb.tar.gz qemu-a7c5f67a78569f8c275ea4ea9962e9c79b9d03cb.tar.xz qemu-a7c5f67a78569f8c275ea4ea9962e9c79b9d03cb.zip |
block: move bdrv_qiov_is_aligned to file-posix
There is only user of bdrv_qiov_is_aligned(), so move the alignment
function to there and make it static.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Message-Id: <20220929200523.3218710-2-kbusch@meta.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block-io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block-io.h b/include/block/block-io.h index fd25ffa9be..492f95fc05 100644 --- a/include/block/block-io.h +++ b/include/block/block-io.h @@ -150,7 +150,6 @@ void *qemu_blockalign(BlockDriverState *bs, size_t size); void *qemu_blockalign0(BlockDriverState *bs, size_t size); void *qemu_try_blockalign(BlockDriverState *bs, size_t size); void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); -bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); void bdrv_enable_copy_on_read(BlockDriverState *bs); void bdrv_disable_copy_on_read(BlockDriverState *bs); |