Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: start trace processing thread in final child process
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 <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]> [minor whitespace fixes] Signed-off-by: Stefan Hajnoczi <[email protected]>
- Loading branch information