Re: [Qemu-devel] [PATCH 3/3] cow: use qemu block API

2010-06-08 Thread Christoph Hellwig
On Mon, Jun 07, 2010 at 02:27:40PM +0200, Markus Armbruster wrote: Christoph Hellwig h...@lst.de 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

Re: [Qemu-devel] [PATCH 3/3] cow: use qemu block API

2010-06-08 Thread Kevin Wolf
Am 07.06.2010 12:06, schrieb Christoph Hellwig: 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 h...@lst.de

[Qemu-devel] [PATCH 3/3] cow: use qemu block API

2010-06-07 Thread Christoph Hellwig
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 h...@lst.de Index: qemu/block/cow.c

Re: [Qemu-devel] [PATCH 3/3] cow: use qemu block API

2010-06-07 Thread Markus Armbruster
Christoph Hellwig h...@lst.de 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 h...@lst.de In my

[Qemu-devel] [PATCH 3/3] cow: use qemu block API

2010-05-07 Thread Christoph Hellwig
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 h...@lst.de Index: qemu/block/cow.c