Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> writes: > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > qapi/block-core.json | 6 +++++- > qemu-img.c | 42 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 47 insertions(+), 1 deletion(-) > > diff --git a/qapi/block-core.json b/qapi/block-core.json > index 93f6995381..d662786261 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -249,6 +249,9 @@ > # field is present if the driver for the image format > # supports it > # > +# @format-alloc-info: Format-allocation information, see > +# BlockFormatAllocInfo description. (Since: 2.11)
We don't usually add 'see the type'. Would just # @format-alloc-info: Format allocation information suffice? > +# > # Since: 1.4 > # > ## > @@ -257,7 +260,8 @@ > '*image-end-offset': 'int', '*corruptions': 'int', '*leaks': > 'int', > '*corruptions-fixed': 'int', '*leaks-fixed': 'int', > '*total-clusters': 'int', '*allocated-clusters': 'int', > - '*fragmented-clusters': 'int', '*compressed-clusters': 'int' } } > + '*fragmented-clusters': 'int', '*compressed-clusters': 'int', > + '*format-alloc-info': 'BlockFormatAllocInfo' } } > > ## > # @MapEntry: [...]