]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Don't output node frequency if unknown
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 10 Jul 2015 09:05:07 +0000 (11:05 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 16 Jul 2015 09:56:15 +0000 (11:56 +0200)
commit0f49f1dc6f447b136aaabe4903b7c7242478145f
tree3a5b4359624604ba61f0bab7d86c6ebd54307211
parent35e3fb50ee9ba498992633e6900887b239d96c23
virsh: Don't output node frequency if unknown

Commit ed8155eafbff5c5ca0bdfe84a8388f58b718c2f9 documented that
mhz field in virNodeInfo might be 0 if the frequency is unknown.  Modify
virsh to know about that.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tools/virsh-host.c
tools/virsh.pod