From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmKbu-0005AB-Fx for qemu-devel@nongnu.org; Tue, 20 Sep 2016 08:57:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmKbr-0007Sm-BO for qemu-devel@nongnu.org; Tue, 20 Sep 2016 08:57:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmKbr-0007Sc-5Y for qemu-devel@nongnu.org; Tue, 20 Sep 2016 08:57:15 -0400 References: <20160920123126.5400.29283.stgit@PASHA-ISP.def.inno> <20160920123138.5400.67174.stgit@PASHA-ISP.def.inno> <8ebdaf52-f7f9-c6ac-3a85-3149b2e55346@redhat.com> <002401d2133c$8c09be60$a41d3b20$@ru> From: Paolo Bonzini Message-ID: Date: Tue, 20 Sep 2016 14:57:10 +0200 MIME-Version: 1.0 In-Reply-To: <002401d2133c$8c09be60$a41d3b20$@ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 2/8] block: set snapshot option for block devices in blkreplay module List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk , 'Pavel Dovgalyuk' , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jasowang@redhat.com, quintela@redhat.com, mst@redhat.com On 20/09/2016 14:43, Pavel Dovgalyuk wrote: > > No, this is unnecessary. The image is unused in this case, so you can > > specify the overlay as image=foo.qcow2. > > This branch allows user do not bother about overlays at all. > Driver will automatically create temporary snapshot. See other message. There is already a way to do this in QEMU, which is -snapshot. I think it's a requirement that -snapshot works, and also that your temporary overlay is implemented on top of -snapshot. You can add some magic ways to enable -snapshot if you want, of course. Paolo