block: introduce blk_replace_bs
commited089506eeb44fd7f7f385a9172e51b198ae489d
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 24 Aug 2021 08:38:24 +0000 (24 11:38 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 1 Sep 2021 10:57:31 +0000 (1 12:57 +0200)
treefc460516ab9e37c862f4781d8e72cb647bea2ea1
parentbd8f4c42c8547a74b0f92dc17af93c3247c69f18
block: introduce blk_replace_bs

Add function to change bs inside blk.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210824083856.17408-3-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h