From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ro6-00035N-If for qemu-devel@nongnu.org; Mon, 27 Jan 2014 14:25:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7ro0-0006r0-FM for qemu-devel@nongnu.org; Mon, 27 Jan 2014 14:25:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ro0-0006qv-5z for qemu-devel@nongnu.org; Mon, 27 Jan 2014 14:25:12 -0500 Message-ID: <52E6B293.6020500@redhat.com> Date: Mon, 27 Jan 2014 12:25:07 -0700 From: Eric Blake MIME-Version: 1.0 References: <1390834386-23139-1-git-send-email-stefanha@redhat.com> <1390834386-23139-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1390834386-23139-2-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m9hAfA4fFlGOrfEAsXKM0NWnMGdcIrJPx" Subject: Re: [Qemu-devel] [PULL 1/4] tracing: start trace processing thread in final child process List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --m9hAfA4fFlGOrfEAsXKM0NWnMGdcIrJPx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/27/2014 07:53 AM, Stefan Hajnoczi wrote: > From: Michael Mueller >=20 > When running with trace backend e.g. "simple" the writer thread needs t= o be > implemented in the same process context as the trace points that will b= e > processed. Under libvirtd control, qemu gets first started in daemonize= d > mode to privide its capabilities. Creating the writer thread in the ini= tial s/privide/provide/ > process context then leads to a dead lock because the thread gets termi= ned s/dead lock/deadlock/ s/termined/terminated/ > together with the initial parent. (-daemonize) >=20 > Signed-off-by: Michael Mueller > Signed-off-by: Christian Borntraeger > [minor whitespace fixes] > Signed-off-by: Stefan Hajnoczi --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --m9hAfA4fFlGOrfEAsXKM0NWnMGdcIrJPx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS5rKTAAoJEKeha0olJ0NqofIIAJKkYYuffpVL1t56Xk66wCN1 6W0xfet9fwLPZb1Fy9/B5CN2E0aeqmzCZCyEBzln23muCOK30h5KILrCOrErJb8E qbnY62+ovPPDC0e9okPfp0TCSGxU2A8TuEpX1bn3ZNkwNdAjRUtYPrIVgTsl/GLD 4MM++FogPVXYhsV8Sm8W6Bf7pJWoueLsdbMtB02NcFD2EGA0uHiLFzmwU2NCrS4N YARYuFCqRpJ6CFmea2WkiMGjpWeEQNHHR8H8EL/hCNAWb5ZLcICmy+qkPopt6hxI pLgVB01GrMqBGlD5EOm0oGXHSp+YXE0N5KgSRG2dsVhcFjkhRyhNVTGkSSjxSHc= =GDMy -----END PGP SIGNATURE----- --m9hAfA4fFlGOrfEAsXKM0NWnMGdcIrJPx--