]> xenbits.xensource.com Git - libvirt.git/commit
virsh: only report filled values in nodecpustats
authorJán Tomko <jtomko@redhat.com>
Tue, 4 Feb 2014 09:06:54 +0000 (10:06 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 6 Feb 2014 13:09:15 +0000 (14:09 +0100)
commitac758012d78f1a0b3f12740ef0517aeff368fcbd
treec9f749210cbbcf31e6e641f51a4b1e4c19b69f4a
parent3b00df01fbc5acbfa49055167b85d51f1a288aff
virsh: only report filled values in nodecpustats

Rewrite the function to use an array instead of a struct,
translating the field names to int via an enum.
tools/virsh-host.c