On Sun 30 Dec 2018 09:09:12 PM CET, Andrey Shinkevich wrote:
> +static BlockDriverState *child_file_bs(BlockDriverState *bs)
> +{
> + return bs->file ? bs->file->bs : NULL;
> +}In addition to Vladimir's comments, I wonder if it's useful to put this in block_int.h (together with backing_bs()). It seems that there's a couple of more places where this can be used. Berto
