From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF5kf-0008O5-4N for qemu-devel@nongnu.org; Wed, 27 Apr 2011 10:30:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QF5kb-0006sj-4H for qemu-devel@nongnu.org; Wed, 27 Apr 2011 10:30:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:50024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF5ka-0006sf-US for qemu-devel@nongnu.org; Wed, 27 Apr 2011 10:29:57 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QF5kZ-0003t0-PH for qemu-devel@nongnu.org; Wed, 27 Apr 2011 16:29:55 +0200 Received: from 93-34-184-88.ip51.fastwebnet.it ([93.34.184.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 16:29:55 +0200 Received: from pbonzini by 93-34-184-88.ip51.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 16:29:55 +0200 From: Paolo Bonzini Date: Wed, 27 Apr 2011 16:29:41 +0200 Message-ID: <4DB82855.9020301@redhat.com> References: <1303910855-28999-1-git-send-email-stefanha@linux.vnet.ibm.com> <1303910855-28999-4-git-send-email-stefanha@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <1303910855-28999-4-git-send-email-stefanha@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH 3/8] qed: add support for Copy-on-Read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Anthony Liguori On 04/27/2011 03:27 PM, Stefan Hajnoczi wrote: > From: Anthony Liguori > > When creating an image using qemu-img, just pass '-o copy_on_read' and then > whenever QED reads from a backing file, it will write the block to the QED > file after the read completes ensuring that you only fetch from the backing > device once. > > This is very useful for streaming images over a slow connection. While having the default in the file is sane, it seems to me that it should be overridable at runtime, too. Paolo