From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbpG0-0001uH-DH for qemu-devel@nongnu.org; Fri, 23 Nov 2012 04:09:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbpFq-0000ig-9N for qemu-devel@nongnu.org; Fri, 23 Nov 2012 04:09:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbpFq-0000i0-29 for qemu-devel@nongnu.org; Fri, 23 Nov 2012 04:08:58 -0500 Message-ID: <50AF3D23.2010909@redhat.com> Date: Fri, 23 Nov 2012 10:08:51 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1353488464-82756-1-git-send-email-dietmar@proxmox.com> <50ACB184.5080204@redhat.com> <24E144B8C0207547AD09C467A8259F755782D8A1@lisa.maurer-it.com> <50ACCAEC.2030001@redhat.com> <24E144B8C0207547AD09C467A8259F755782F79B@lisa.maurer-it.com> In-Reply-To: <24E144B8C0207547AD09C467A8259F755782F79B@lisa.maurer-it.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] RFC: Efficient VM backup for qemu (v1) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dietmar Maurer Cc: Paolo Bonzini , "qemu-devel@nongnu.org" Am 23.11.2012 08:38, schrieb Dietmar Maurer: >> In short, the idea is that you can stick filters on top of a BlockDriverState, so >> that any read/writes (and possibly more requests, if necessary) are routed >> through the filter before they are passed to the block driver of this BDS. >> Filters would be implemented as BlockDrivers, i.e. you could implement >> .bdrv_co_write() in a filter to intercept all writes to an image. > > I am quite unsure if that make things easier. At least it would make for a much cleaner design compared to putting code for every feature you can think of into bdrv_co_do_readv/writev(). Kevin