[et-mgmt-tools] ANNOUNCE: virt-top released

Richard W.M. Jones rjones at redhat.com
Fri Sep 21 09:05:11 UTC 2007

Richard W.M. Jones wrote:
> Richard W.M. Jones wrote:
>> Farkas Levente wrote:
>>> [root at kvm ~]# /usr/bin/virt-top --connect qemu:///system
>>> libvir: error : this function is not supported by the hypervisor:
>>> virConnectGetHostname
>>> Fatal error: exception Libvirt.Virterror(3, 0, _, 2, _, 0, _, _, 0, 
>>> _, _, 0)
>>> [root at kvm ~]# rpm -q libvirt
>>> libvirt-0.3.2-2
>> You've found a real bug.  Virt-top is not very well tested against 
>> qemu, or rather that should be not tested at all.  But I'll go and try 
>> to make it work with qemu now.  Probably take a few hours though ...
> The patch to fix that particular bug is attached.  There may be other 
> though, still testing ...

OK, I'm fairly sure this is the only patch needed.

I'm going to roll this in to the next ( release later.

Libvirt needs works to support block and network stats from QEMU/KVM. 
Virt-top won't fail because this is missing, it just can't display 
anything in those columns.  The work as far as I understand it is fairly 
simple, but also lower down on my list of priorities at the moment.

Another thing which virt-top uses but which is missing in QEMU/KVM is 
physical CPU usage and CPU pinning.  I have absolutely no idea if qemu 
supports this -- I assume it does through ordinary Linux mechanisms such 
as numactl.  As for KVM, no idea whatsoever.


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070921/956db721/attachment.bin>

More information about the et-mgmt-tools mailing list