qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tracing: start trace processing thread in final


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] tracing: start trace processing thread in final child process
Date: Tue, 24 Sep 2013 14:43:40 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Sep 23, 2013 at 04:36:54PM +0200, Christian Borntraeger wrote:
> From: Michael Mueller <address@hidden>
> 
> When running with trace backend e.g. "simple" the writer thread needs to be
> implemented in the same process context as the trace points that will be
> processed. Under libvirtd control, qemu gets first started in daemonized
> mode to privide its capabilities. Creating the writer thread in the initial
> process context then leads to a dead lock because the thread gets termined
> together with the initial parent. (-daemonize)
> 
> Signed-off-by: Michael Mueller <address@hidden>
> Signed-off-by: Christian Borntraeger <address@hidden>
> [minor whitespace fixes]
> ---
>  vl.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]