Received: from [140.186.70.92] (port=57047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLbQo-0006KZ-Nt for qemu-devel@nongnu.org; Mon, 07 Jun 2010 08:28:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLbQj-0003JR-R0 for qemu-devel@nongnu.org; Mon, 07 Jun 2010 08:27:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35580) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLbQj-0003JE-JZ for qemu-devel@nongnu.org; Mon, 07 Jun 2010 08:27:49 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH 3/3] cow: use qemu block API References: <20100607100647.GC2176@lst.de> Date: Mon, 07 Jun 2010 14:27:40 +0200 In-Reply-To: <20100607100647.GC2176@lst.de> (Christoph Hellwig's message of "Mon, 7 Jun 2010 12:06:47 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: qemu-devel@nongnu.org Christoph Hellwig writes: > Use bdrv_pwrite to access the backing device instead of pread, and > convert the driver to implementing the bdrv_open method which gives > it an already opened BlockDriverState for the underlying device. > > Signed-off-by: Christoph Hellwig In my (admittedly limited) understanding, we need this for sane protocol handling in -blockdev & friends.