From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7l1E-00045M-0q for qemu-devel@nongnu.org; Wed, 14 Mar 2012 06:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7l1C-0006o6-BD for qemu-devel@nongnu.org; Wed, 14 Mar 2012 06:01:19 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:51929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7l1C-0006nq-0v for qemu-devel@nongnu.org; Wed, 14 Mar 2012 06:01:18 -0400 Received: by lahe6 with SMTP id e6so1370242lah.4 for ; Wed, 14 Mar 2012 03:01:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4F606A09.2080906@redhat.com> References: <00c1eea5-ccb2-4b54-89f8-bdbf00fdc8a4@zmail17.collab.prod.int.phx2.redhat.com> <4F5F48F9.7090501@redhat.com> <4F606A09.2080906@redhat.com> Date: Wed, 14 Mar 2012 10:01:15 +0000 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Gerd Hoffmann Cc: =?ISO-8859-1?Q?Marc=2DAndr=E9_Lureau?= , =?ISO-8859-1?Q?Marc=2DAndr=E9_Lureau?= , =?ISO-8859-1?Q?Marc=2DAndr=E9_Lureau?= , qemu-devel@nongnu.org On Wed, Mar 14, 2012 at 9:51 AM, Gerd Hoffmann wrote: > =A0Hi, > >> The most practical first step would be simply sending the ppm over a >> socket from ppm_save(). =A0The 'screendump' command today already blocks >> so no new badness is being added. =A0There would be no threads or fancy >> image encoding. > > Adding scaling / compression support will add more overhead though, so > doing that without offloading screendump to a thread first is a bad idea > I think. =A0Or at least have some numbers to see how bad it actually is. I agree, that's why I suggest sending the ppm over a socket. It transports out the image data and QEMU itself doesn't do the encoding/scaling. Stefan