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 Thank

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 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 underly

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

2010-06-07 Thread Markus Armbruster
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)

[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 Index: qemu/block/cow.c ===

[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 Index: qemu/block/cow.c ===