[et-mgmt-tools] Virt-manager and qemu logging
Daniel P. Berrange
berrange at redhat.com
Fri Feb 6 19:50:53 UTC 2009
On Fri, Feb 06, 2009 at 08:37:58PM +0100, Radek Hladik wrote:
> Hi,
> I am using virt-manager+libvirt+kvmqemu and I noticed today that
> when virt-manager is running and polling VMs stats libvirt log in
> /var/log/libivrt/qemu/vmname is filling with messages like
>
> info blockstats
> ide0-hd0: rd_bytes=16710828032 <http://www.snapanumber.com/>
> wr_bytes=2248787148 <http://www.snapanumber.com/>8 rd_operations=382576
> wr_oper
> ations=1579878
> ide1-cd0: rd_bytes=936448 wr_bytes=0 rd_operations=456 wr_operations=0
> floppy0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
> sd0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
>
>
> is this needed for virt-manager to poll the info or have I only
> forgotten to disable some debugging somewhere? I tried to change loging
> parameter in libvirt.conf but that had no effect (I didnt restart the
> VMs though).
It is not really virt-manager's fault - its just monitoring disk & net
I/O stats. The problem is libvirt logging every single monitor command
it runs to that file. This needs to be removed, and replaced with
calls to VIR_DEBUG() which is a logging API that's disabled by default
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the et-mgmt-tools
mailing list