On 01/03/2016 12:15, Gerd Hoffmann wrote: > On Do, 2016-02-18 at 13:38 +0200, Dimitris Aragiorgis wrote: >> In case of daemonize, use the logfile passed with the -D option in >> order to redirect stderr to it instead of /dev/null. >> >> Also remove some unused code in log.h. > > Patch breaks interaction with libvirt. libvirt hangs on startup, while > probing qemu capabilities. qemu runs in probing mode (command line is > "/home/kraxel/projects/qemu/build-default/x86_64-softmmu/qemu-system-x86_64 > -S -no-user-config -nodefaults -nographic -M none -qmp > unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile > /var/lib/libvirt/qemu/capabilities.pidfile -daemonize" according to > "systemctl status libvirtd -l"), apparently both qemu and libvirt wait for > each other.
Patch sent, as a workaround use "./configure --enable-trace-backend=nop". Paolo