]> Git Repo - qemu.git/commit - include/block/block_int.h
block: add default implementations for bdrv_co_get_block_status()
authorManos Pitsidianakis <[email protected]>
Thu, 13 Jul 2017 15:30:28 +0000 (18:30 +0300)
committerKevin Wolf <[email protected]>
Mon, 4 Sep 2017 16:31:13 +0000 (18:31 +0200)
commitf7cc69b326850c34db5dca2f9f74898cd181f43a
treead7fd5018f1a5f3c903ba3ada403fc230dab4a6b
parentd8e12cd3227f0cb3b5558563f094088cfefb8f21
block: add default implementations for bdrv_co_get_block_status()

bdrv_co_get_block_status_from_file() and
bdrv_co_get_block_status_from_backing() set *file to bs->file and
bs->backing respectively, so that bdrv_co_get_block_status() can recurse
to them. Future block drivers won't have to duplicate code to implement
this.

Reviewed-by: Fam Zheng <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/blkdebug.c
block/commit.c
block/io.c
block/mirror.c
include/block/block_int.h
This page took 0.025721 seconds and 4 git commands to generate.