From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7krR-0006pL-8U for qemu-devel@nongnu.org; Wed, 14 Mar 2012 05:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7krP-0004Zb-It for qemu-devel@nongnu.org; Wed, 14 Mar 2012 05:51:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7krP-0004ZC-AS for qemu-devel@nongnu.org; Wed, 14 Mar 2012 05:51:11 -0400 Message-ID: <4F606A09.2080906@redhat.com> Date: Wed, 14 Mar 2012 10:51:05 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <00c1eea5-ccb2-4b54-89f8-bdbf00fdc8a4@zmail17.collab.prod.int.phx2.redhat.com> <4F5F48F9.7090501@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Stefan Hajnoczi Cc: =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= , =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= , =?ISO-8859-1?Q?Marc-Andr=E9_Lureau?= , qemu-devel@nongnu.org Hi, > The most practical first step would be simply sending the ppm over a > socket from ppm_save(). The 'screendump' command today already blocks > so no new badness is being added. There 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. Or at least have some numbers to see how bad it actually is. cheers, Gerd