[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 5/7] qemu-img check: add format unallocated size
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH 5/7] qemu-img check: add format unallocated size |
Date: |
Thu, 25 May 2017 12:59:05 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/25/2017 10:26 AM, Vladimir Sementsov-Ogievskiy wrote:
> Shows format 'sparseness' of the image top level.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> qapi/block-core.json | 3 ++-
> qemu-img.c | 19 +++++++++++++++++++
> 2 files changed, 21 insertions(+), 1 deletion(-)
>
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index ea0b3e8b13..c7ed5dc970 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -185,7 +185,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-unallocated-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
- [Qemu-block] [PATCH 0/7] qemu-img check: unallocated size, Vladimir Sementsov-Ogievskiy, 2017/05/25
- [Qemu-block] [PATCH 5/7] qemu-img check: add format unallocated size, Vladimir Sementsov-Ogievskiy, 2017/05/25
- Re: [Qemu-block] [PATCH 5/7] qemu-img check: add format unallocated size,
Eric Blake <=
- [Qemu-block] [PATCH 7/7] block: rename _get_allocated_file_size() to _get_fs_allocated_size(), Vladimir Sementsov-Ogievskiy, 2017/05/25
- [Qemu-block] [PATCH 4/7] common: make get_human_readable_size public, Vladimir Sementsov-Ogievskiy, 2017/05/25
- [Qemu-block] [PATCH 3/7] qcow2: add .bdrv_get_format_allocated_size, Vladimir Sementsov-Ogievskiy, 2017/05/25
- [Qemu-block] [PATCH 2/7] block: add bdrv_get_format_allocated_size format interface, Vladimir Sementsov-Ogievskiy, 2017/05/25