From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciK5q-0004GM-1l for qemu-devel@nongnu.org; Mon, 27 Feb 2017 07:07:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciK5k-0006B0-WC for qemu-devel@nongnu.org; Mon, 27 Feb 2017 07:07:53 -0500 From: "Pavel Dovgalyuk" References: <20170131115728.5244.21690.stgit@PASHA-ISP> <20170131115734.5244.64846.stgit@PASHA-ISP> <20170222100543.GC4112@noname.str.redhat.com> In-Reply-To: <20170222100543.GC4112@noname.str.redhat.com> Date: Mon, 27 Feb 2017 15:07:35 +0300 Message-ID: <002701d290f2$1541b9c0$3fc52d40$@ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: ru Subject: Re: [Qemu-devel] [PATCH 1/3] block: implement bdrv_snapshot_goto for blkreplay List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Kevin Wolf' , 'Pavel Dovgalyuk' Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com > From: Kevin Wolf [mailto:kwolf@redhat.com] > Am 31.01.2017 um 12:57 hat Pavel Dovgalyuk geschrieben: > > This patch enables making snapshots with blkreplay used in > > block devices. > > > > Signed-off-by: Pavel Dovgalyuk > > Specifically, I think it avoids the blkreplay_open/close sequence. Is > this what is needed to make it work? Then I'll need to implement bdrv_open, because there is only bdrv_file_open for blkreplay now. Which way is better? > We should probably mention in the commit message the exact reason why > implementing .bdrv_snapshot_goto, but not the other snapshot related > callbacks, fixes things. If you confirm my assumption, I can add that > while applying. Pavel Dovgalyuk