From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaiH2-0008Cm-SZ for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:15:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaiGy-0007qo-OG for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:15:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaiGy-0007qd-Jp for qemu-devel@nongnu.org; Tue, 01 Mar 2016 06:15:24 -0500 Message-ID: <1456830921.23994.14.camel@redhat.com> From: Gerd Hoffmann Date: Tue, 01 Mar 2016 12:15:21 +0100 In-Reply-To: <1455795518-19205-1-git-send-email-dimara@arrikto.com> References: <56BCCB44.4060203@redhat.com> <1455795518-19205-1-git-send-email-dimara@arrikto.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 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: Dimitris Aragiorgis Cc: pbonzini@redhat.com, qemu-devel@nongnu.org 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. >=20 > 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/libvi= rt/qemu/capabilities.monitor.sock,server,nowait -pidfile /var/lib/libvirt/q= emu/capabilities.pidfile -daemonize" according to "systemctl status libvirt= d -l"), apparently both qemu and libvirt wait for each other. cheers, Gerd