The Monday 03 Mar 2014 à 16:28:50 (+0100), Max Reitz wrote : > Add a passthrough function for bdrv_get_specific_info(). > > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > block/json.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/block/json.c b/block/json.c > index ce718e8..6aa0544 100644 > --- a/block/json.c > +++ b/block/json.c > @@ -185,6 +185,11 @@ static int json_get_info(BlockDriverState *bs, > BlockDriverInfo *bdi) > return bdrv_get_info(bs->file, bdi); > } > > +static ImageInfoSpecific *json_get_specific_info(BlockDriverState *bs) > +{ > + return bdrv_get_specific_info(bs->file); > +} > + > static BlockDriver bdrv_json = { > .format_name = "json", > .protocol_name = "json", > @@ -218,6 +223,7 @@ static BlockDriver bdrv_json = { > .bdrv_has_zero_init = json_has_zero_init, > .bdrv_refresh_limits = json_refresh_limits, > .bdrv_get_info = json_get_info, > + .bdrv_get_specific_info = json_get_specific_info, > > .authorizations = { true, true }, > }; > -- > 1.9.0 > > Reviewed-by: Benoit Canet <ben...@irqsave.net>