diff options
author | Max Reitz <mreitz@redhat.com> | 2015-10-19 17:53:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-10-23 18:18:23 +0200 |
commit | 68e9ec017bb00b96633d48b5bf039a37daa3bc21 (patch) | |
tree | 4e2c734a9a8d2e8745f7c0c8e5d89a0a2b38a471 /include/block/block.h | |
parent | 4981bdec0d9b3ddd3e1474de5aa9918f120b54f7 (diff) | |
download | qemu-68e9ec017bb00b96633d48b5bf039a37daa3bc21.zip qemu-68e9ec017bb00b96633d48b5bf039a37daa3bc21.tar.gz qemu-68e9ec017bb00b96633d48b5bf039a37daa3bc21.tar.bz2 |
block: Move guest_block_size into BlockBackend
guest_block_size is a guest device property so it should be moved into
the interface between block layer and guest devices, which is the
BlockBackend.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block.h')
-rw-r--r-- | include/block/block.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h index 8340a67..8a6f001 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -466,7 +466,6 @@ void bdrv_img_create(const char *filename, const char *fmt, size_t bdrv_min_mem_align(BlockDriverState *bs); /* Returns optimal alignment in bytes for bounce buffer */ size_t bdrv_opt_mem_align(BlockDriverState *bs); -void bdrv_set_guest_block_size(BlockDriverState *bs, int align); 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); |