Re: [libvirt] [PATCH v2 12/13] qemu: convert monitor to use qemuDomainLogContextPtr indirectly

2015-11-18 Thread John Ferlan
On 11/12/2015 12:19 PM, Daniel P. Berrange wrote: > Currently the QEMU monitor is given an FD to the logfile. This > won't work in the future with virtlogd, so it needs to use the > qemuDomainLogContextPtr instead, but it shouldn't directly > access that object either. So define a callback that

[libvirt] [PATCH v2 12/13] qemu: convert monitor to use qemuDomainLogContextPtr indirectly

2015-11-12 Thread Daniel P. Berrange
Currently the QEMU monitor is given an FD to the logfile. This won't work in the future with virtlogd, so it needs to use the qemuDomainLogContextPtr instead, but it shouldn't directly access that object either. So define a callback that the monitor can use for reporting errors from the log file.