Received: from eggs.gnu.org ([140.186.70.92]:57370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZUsH-0001Gm-0m for qemu-devel@nongnu.org; Wed, 22 Jun 2011 17:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZUsE-0001JV-GK for qemu-devel@nongnu.org; Wed, 22 Jun 2011 17:22:12 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:43359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZUsE-0001J8-5P for qemu-devel@nongnu.org; Wed, 22 Jun 2011 17:22:10 -0400 Message-Id: <34D5F588-AC68-483A-9065-2E17730239BF@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <4DFF46F1.4050109@redhat.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 22 Jun 2011 23:22:06 +0200 References: <1308557567-27600-1-git-send-email-avi@redhat.com> <4DFF3E13.60006@siemens.com> <4DFF46F1.4050109@redhat.com> Sender: andreas.faerber@web.de Subject: Re: [Qemu-devel] [PATCH v2] Optimize screendump List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Blue Swirl , Jan Kiszka , qemu-devel Developers Am 20.06.2011 um 15:11 schrieb Avi Kivity: > On 06/20/2011 03:33 PM, Jan Kiszka wrote: >> > --- a/hw/vga.c >> > +++ b/hw/vga.c >> > @@ -2349,15 +2349,19 @@ int ppm_save(const char *filename, >> struct DisplaySurface *ds) > >> Unrelated to this patch, but why is this function located in vga.c >> and >> not in console.c? > > It's located in omap_lcdc.c as well. But it needs to be fully > generalized to be moved out (handle all PixelFormats). For the record, there's a similar function in tcx.c as well, and I have one coming in ibm8514.c. Andreas