Re: [libvirt] [PATCH] qemu: Ignore libvirt debug messages in qemu log

2011-03-31 Thread Jiri Denemark
On Wed, Mar 30, 2011 at 13:46:12 -0600, Eric Blake wrote: > On 03/30/2011 06:17 AM, Jiri Denemark wrote: > > > > +if (virAsprintf(&debug, ": %d: debug : ", vm->pid) < 0) { > > That's rather hard-coded to our current output style; should we add > comments here and to the place that outputs th

Re: [libvirt] [PATCH] qemu: Ignore libvirt debug messages in qemu log

2011-03-30 Thread Eric Blake
On 03/30/2011 06:17 AM, Jiri Denemark wrote: > qemu driver uses a 4K buffer for reading qemu log file. This is enough > when only qemu's output is present in the log file. However, when > debugging messages are turned on, intermediate libvirt process fills the > log with a bunch of debugging messag

[libvirt] [PATCH] qemu: Ignore libvirt debug messages in qemu log

2011-03-30 Thread Jiri Denemark
qemu driver uses a 4K buffer for reading qemu log file. This is enough when only qemu's output is present in the log file. However, when debugging messages are turned on, intermediate libvirt process fills the log with a bunch of debugging messages before it executes qemu binary. In such a case the