From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpkzD-0005bD-4v for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:16:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpkzB-0001DL-DK for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:16:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpkzB-0001DA-43 for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:16:17 -0500 Message-ID: <4D5C065C.3050309@redhat.com> Date: Wed, 16 Feb 2011 18:16:12 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [ANNOUNCE] QEMU 0.14.0-rc2 is available References: <4D5AF4C4.80005@codemonkey.ws> <201102161028.02238.rickv@hobi.com> <4D5BFD3F.400@codemonkey.ws> <4D5C00B3.8050006@redhat.com> <4D5C0253.5050205@codemonkey.ws> In-Reply-To: <4D5C0253.5050205@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org Hi, >> Indeed. It isn't a pidfile, it is a shared memory segment where spice >> stores statistics. spice registers a cleanup handler via atexit() >> which removes this > > fork() with an inherited pipe and then waiting for EOF on the pipe() is > a bit more robust of a mechanism to handle this. Feels a bit like overkill in that case though. The extra process doesn't come for free. We are talking about a shared memory segment with a single page only. It is leaked only on crashes. It can trivially be cleaned up manually if needed, just rm the file. cheers, Gerd