[libvirt] [PATCH v3 2/2] virsh: report only filled values in 'nodecpustats'

Ján Tomko jtomko at redhat.com
Tue Feb 4 09:27:41 UTC 2014


On 01/28/2014 06:49 PM, Roman Bogorodskiy wrote:
> A set of fields for CPU stats could vary on different platforms,
> for example, FreeBSD doesn't report 'iowait'.
> 
> Make virsh print out only the fields that were actually filled.
> ---
>  tools/virsh-host.c | 119 ++++++++++++++++++++++++++++++++---------------------
>  1 file changed, 72 insertions(+), 47 deletions(-)

This looks okay, but I still don't like the hash tables.

ACK unless my version I've just sent gets pushed.

Jan

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


More information about the libvir-list mailing list