qemu/include/block
Stefan Hajnoczi c53b1c5114 block: make qiov_is_aligned() public
The qiov_is_aligned() function checks whether a QEMUIOVector meets a
BlockDriverState's alignment requirements.  This is needed by
virtio-blk-data-plane so:

1. Move the function from block/raw-posix.c to block/block.c.
2. Make it public in block/block.h.
3. Rename to bdrv_qiov_is_aligned().
4. Change return type from int to bool.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-01-14 10:06:56 +01:00
..
aes.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
aio.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
block.h block: make qiov_is_aligned() public 2013-01-14 10:06:56 +01:00
block_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
blockjob.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
coroutine.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coroutine_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
nbd.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
thread-pool.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00