From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7oGT-0006Ie-7Q for qemu-devel@nongnu.org; Wed, 14 Mar 2012 09:29:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7oG0-0005jH-Vk for qemu-devel@nongnu.org; Wed, 14 Mar 2012 09:29:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7oG0-0005h6-NN for qemu-devel@nongnu.org; Wed, 14 Mar 2012 09:28:48 -0400 Message-ID: <4F609D0C.4000708@redhat.com> Date: Wed, 14 Mar 2012 07:28:44 -0600 From: Eric Blake MIME-Version: 1.0 References: <00c1eea5-ccb2-4b54-89f8-bdbf00fdc8a4@zmail17.collab.prod.int.phx2.redhat.com> <4F5F48F9.7090501@redhat.com> <4F606A09.2080906@redhat.com> <20120314101319.1a617a74@doriath.home> <20120314131932.GH27659@garlic.redhat.com> In-Reply-To: <20120314131932.GH27659@garlic.redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5D48B7FF793CFB5301D7A187" Subject: Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino , Stefan Hajnoczi , qemu-devel@nongnu.org, =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= , =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= , Gerd Hoffmann , =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5D48B7FF793CFB5301D7A187 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/14/2012 07:19 AM, Alon Levy wrote: >> Also, when returning the image via fd, we could offload its writing to= >> a bh. This would give us a poor man's async support, where the biggest= >> drawback would the lack of error detection (can this operation fail an= yway?). >> >=20 > It leaves detection of completion up to the user, so inotify / parsing > the file to see if it's complete (header says size X, but file is still= > Y