From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgx1L-0000gH-FV for qemu-devel@nongnu.org; Wed, 13 Jul 2011 06:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qgx1C-0000eM-ML for qemu-devel@nongnu.org; Wed, 13 Jul 2011 06:50:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgx1C-0000e0-1v for qemu-devel@nongnu.org; Wed, 13 Jul 2011 06:50:14 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6DAoC7M017090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Jul 2011 06:50:12 -0400 Date: Wed, 13 Jul 2011 11:50:09 +0100 From: "Daniel P. Berrange" Message-ID: <20110713105009.GB22414@redhat.com> References: <1310478932-25370-1-git-send-email-alevy@redhat.com> <1310478932-25370-14-git-send-email-alevy@redhat.com> <4E1D44DB.5090803@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E1D44DB.5090803@redhat.com> Subject: Re: [Qemu-devel] [PATCHv3] qxl-render/qxl: split out qxl_save_ppm Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Alon Levy , qemu-devel@nongnu.org On Wed, Jul 13, 2011 at 09:10:19AM +0200, Gerd Hoffmann wrote: > On 07/12/11 15:55, Alon Levy wrote: > >Later the save will happen asynchronously on surface_updated callback. > > Hmm. I can see why you are doing that. It makes the file being > written *after* the monitor command finishes though, which I think > we should avoid. Yes, that will very likely break applications using the screenshot command which expect to be able to load/read the whole image immediately after the screnshot command returns from the monitor Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|