[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] question: Does qemu-pr-helper have its o
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Qemu-block] question: Does qemu-pr-helper have its own log files? |
Date: |
Thu, 25 Apr 2019 09:30:45 +0100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
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
signature.asc
Description: PGP signature