[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockF
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo |
Date: |
Wed, 06 Feb 2013 06:40:05 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/06/2013 04:43 AM, Kevin Wolf wrote:
>
> Instead of getting a longer and longer output line for each new number
> we add, maybe we could use the chance to introduce multiline output:
>
> Total number of clusters: 1000
> - allocated 427 (42.7%)
> - fragmented 71 (7.1%)
> - compressed 120 (12.0%)
That's a bit nicer for scraping the output, but the ultimate niceness
would be providing an --output=json representation, where the JSON
objects are only output when present.
>
> Or something like that. And if a line doesn't apply to the given image
> (format), it's just left out.
>
> Kevin
>
>
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature