[libvirt] [PATCH 2/2] virsh: output scaled values with correct units

Eric Blake eblake at redhat.com
Mon Apr 30 22:24:24 UTC 2012


On 04/30/2012 02:31 PM, Eric Blake wrote:
> The recent push to use correct scaling terms (kB for 1000, KiB for
> 1024 - such as commit 9dfdead) missed some places in virsh.
> 
> * tools/virsh.c (prettyCapacity, cmdDominfo, cmdFreecell)
> (cmdNodeinfo, cmdNodeMemStats): Use KiB, not kB, when referring to
> multiples of 1024.
> ---
>  tools/virsh.c |   24 ++++++++++++------------
>  1 files changed, 12 insertions(+), 12 deletions(-)

Oops, should have tested 'make check'.  v2 coming up.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120430/087571cb/attachment-0001.sig>


More information about the libvir-list mailing list