On Tue, Apr 23, 2019 at 10:42:17AM +0100, Daniel P. Berrangé wrote:
> On Tue, Apr 23, 2019 at 11:12:40AM +0800, Jie Wang wrote:
> >  Does qemu-pr-helper have its own log files?
> 
> When QEMU launches it, i think it just inherits stdout/err from
> QEMU itself, so errors appear mixed into QEMU's stdout output.

I thought QEMU does not launch qemu-pr-helper.  Have I missed something?

QEMU ships systemd .service and .socket files for managing
qemu-pr-helper externally.

> When libvirt launches it, there stdout is connected to /dev/null
> and stderr is connected to a pipe which libvirt closes almost
> immediately. This means any errors are lost as any attempt to
> write to stderr will get EPIPE :-(

For anyone looking at the code:
src/qemu/qemu_process.c:qemuProcessStartManagedPRDaemon()

Stefan

Attachment: signature.asc
Description: PGP signature

Reply via email to