[libvirt] [PATCH] Don't log qemu monitor output from blockStats

Cole Robinson crobinso at redhat.com
Mon Mar 2 18:27:33 UTC 2009


The attached patch changes the qemu driver blockStats command to not log
qemu monitor output. virt-manager offers an option to continually poll
VM disk stats, and if the app is left running for a while with many VMs,
this can make the logs huge, for little benefit (a user reported 100 MB
with virt-manager left running overnight).

The output from the command is still printed with a DEBUG call, so the
info isn't completely lost.

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-qemu-monitor-nolog.patch
Type: text/x-diff
Size: 3452 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090302/81462569/attachment-0001.bin>


More information about the libvir-list mailing list