From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaioq-0000h9-BY for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:50:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaion-0008DZ-M8 for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:50:24 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:36103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaion-0008DL-CE for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:50:21 -0500 Received: by mail-wm0-x235.google.com with SMTP id n186so32695633wmn.1 for ; Tue, 01 Mar 2016 03:50:21 -0800 (PST) Sender: Paolo Bonzini References: <56BCCB44.4060203@redhat.com> <1455795518-19205-1-git-send-email-dimara@arrikto.com> <1456830921.23994.14.camel@redhat.com> From: Paolo Bonzini Message-ID: <56D581FA.2060201@redhat.com> Date: Tue, 1 Mar 2016 12:50:18 +0100 MIME-Version: 1.0 In-Reply-To: <1456830921.23994.14.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] log: Redirect stderr to logfile if deamonized List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Dimitris Aragiorgis Cc: qemu-devel@nongnu.org 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