On 05/25/2017 10:26 AM, Vladimir Sementsov-Ogievskiy wrote: > Add bdrv_getlength() of underlying bs->file->bs, to improve > 'Format unallocated size' section of qemu-img check output. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > qapi/block-core.json | 2 +- > qemu-img.c | 11 ++++++++--- > 2 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/qapi/block-core.json b/qapi/block-core.json > index c7ed5dc970..f720a29512 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -186,7 +186,7 @@ > '*corruptions-fixed': 'int', '*leaks-fixed': 'int', > '*total-clusters': 'int', '*allocated-clusters': 'int', > '*fragmented-clusters': 'int', '*compressed-clusters': 'int', > - '*format-unallocated-size': 'uint64'} } > + '*format-unallocated-size': 'uint64', '*file-size': 'uint64'} }
Missing documentation, including a since 2.10 blurb. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature