block: Move guest_block_size into BlockBackend
commit68e9ec017bb00b96633d48b5bf039a37daa3bc21
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:19 +0000 (19 17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (23 18:18 +0200)
tree4e2c734a9a8d2e8745f7c0c8e5d89a0a2b38a471
parent4981bdec0d9b3ddd3e1474de5aa9918f120b54f7
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>
block.c
block/block-backend.c
include/block/block.h
include/block/block_int.h