Received: from eggs.gnu.org ([140.186.70.92]:49306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0JRt-0004R2-J0 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 16:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0JRs-0006iO-01 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 16:10:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0JRr-0006hW-Ix for qemu-devel@nongnu.org; Wed, 22 Feb 2012 16:10:03 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1MLA297022708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 22 Feb 2012 16:10:02 -0500 From: Alon Levy Date: Wed, 22 Feb 2012 23:09:34 +0200 Message-Id: <1329944981-28311-3-git-send-email-alevy@redhat.com> In-Reply-To: <1329944981-28311-1-git-send-email-alevy@redhat.com> References: <1329944981-28311-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH v5 2/9] vga: stop after the first ppm_save List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kraxel@redhat.com Cc: yhalperi@redhat.com From: Gerd Hoffman Tested-by: Alon Levy --- hw/vga.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/vga.c b/hw/vga.c index c1029db..a728f29 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -2369,6 +2369,7 @@ static void vga_save_dpy_update(DisplayState *ds, { if (screen_dump_filename) { ppm_save(screen_dump_filename, ds->surface); + screen_dump_filename = NULL; } } -- 1.7.9.1