From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9d3r-0002gr-1h for qemu-devel@nongnu.org; Wed, 14 Aug 2013 11:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9d3l-0008Ka-0Z for qemu-devel@nongnu.org; Wed, 14 Aug 2013 11:32:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9d3k-0008KJ-Pb for qemu-devel@nongnu.org; Wed, 14 Aug 2013 11:32:28 -0400 Date: Wed, 14 Aug 2013 17:32:16 +0200 From: Kevin Wolf Message-ID: <20130814153216.GN4583@dhcp-200-207.str.redhat.com> References: <1376413436-5424-1-git-send-email-kaveh@cs.vu.nl> <00D703C3BB04779367573E57@nimrod.local> <520B6D29.10507@cs.vu.nl> <74C74303-33D3-4E60-B999-5F96AEEFEB6F@alex.org.uk> <520B896E.8050704@cs.vu.nl> <520B937D.6060105@cs.vu.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <520B937D.6060105@cs.vu.nl> Subject: Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kaveh Razavi Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, Alex Bligh Am 14.08.2013 um 16:26 hat Kaveh Razavi geschrieben: > On 08/14/2013 03:50 PM, Alex Bligh wrote: > > Assuming the cache quota is not exhausted, how do you know how that > > a VM has finished 'creating' the cache? At any point it might > > read a bit more from the backing image. > > I was assuming on shutdown. Wait, so you're not really changing the cache while it's used, but you only create it once and then use it like a regular backing file? If so, the only thing we need to talk about is the creation, because there's no difference for using it. Creation can use the existing copy-on-read functionality, and the only thing you need additionally is a way to turn copy-on-read off at the right point. Or do I misunderstand what you're doing? Kevin