]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix cpu-stats command output format issue
authorLuyao Huang <lhuang@redhat.com>
Tue, 26 Jan 2016 02:25:05 +0000 (10:25 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 26 Jan 2016 08:23:49 +0000 (09:23 +0100)
commit985f01a65fb84951bccee27ecf09860d3b7961ea
treeab9aae72db8cb263c1293349d872be747e5ff563
parent356e28b35ed9a49399a1cdbeb34194c80e3579a4
virsh: fix cpu-stats command output format issue

After commit 57177f1, the cpu-stats command format change to:

CPU0:
    cpu_time         14401.507878990 seconds
    vcpu_time    14378732785511

vcpu_time is not user friendly. After this patch, it will
change back:
CPU0:
    cpu_time         14401.507878990 seconds
    vcpu_time        14378.732785511 seconds

https://bugzilla.redhat.com/show_bug.cgi?id=1301807

Signed-off-by: Luyao Huang <lhuang@redhat.com>
tools/virsh-domain.c