[libvirt] [PATCH 0/2] qemu: Don't log partial buffer reads from qemu monitor

Ján Tomko jtomko at redhat.com
Wed Jan 3 14:05:20 UTC 2018


On Thu, Dec 21, 2017 at 12:16:50PM +0100, Peter Krempa wrote:
>I was debugging a case where 200 snapshots of a disk would result in a
>VERY long reconnect time after libvirtd restart when debug logging was
>enabled.
>
>I've figured out that qemu responds with 9MiB of json after calling
>"query-named-block-nodes" and this resulted in > 26 GiB of libvirtd
>debug log just to process the message.
>
>I'll report the qemu flaw separately.
>
>Peter Krempa (2):
>  util: probe: Add quiet versions of the "PROBE" macro
>  qemu: monitor: Decrease logging verbosity
>
> src/qemu/qemu_monitor.c      | 4 ++--
> src/qemu/qemu_monitor_json.c | 3 +++
> src/util/virprobe.h          | 8 ++++++++
> 3 files changed, 13 insertions(+), 2 deletions(-)
>

ACK series with the typos fixed.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180103/14347c46/attachment-0001.sig>


More information about the libvir-list mailing list