From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0A5U-0003ld-N7 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 06:10:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0A5P-0005jx-2j for qemu-devel@nongnu.org; Wed, 22 Feb 2012 06:10:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0A5O-0005jl-Kx for qemu-devel@nongnu.org; Wed, 22 Feb 2012 06:10:14 -0500 Message-ID: <4F44CD10.2040103@redhat.com> Date: Wed, 22 Feb 2012 12:10:08 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1329860377-6284-1-git-send-email-alevy@redhat.com> <1329860377-6284-5-git-send-email-alevy@redhat.com> In-Reply-To: <1329860377-6284-5-git-send-email-alevy@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v4 4/9] qxl: screen_dump in vga: do a single ppm_save List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: elmarco@redhat.com, yhalperi@redhat.com, qemu-devel@nongnu.org, spice-devel@freedesktop.org On 02/21/12 22:39, Alon Levy wrote: > Using vga->screen_dump results in a number of calls to ppm_save, > instead of a single one. Can you investigate why? > Lacking time to test all the possible users of > vga->screen_dump, avoid the redundant calls by doing the vga_hw_update+ > ppm_save in qxl_hw_screen_dump. I'd prefer to fix the root cause instead of adding workarounds. cheers, Gerd