Statistics
| Branch: | Revision:

root / block / cloop.c @ a74cdab4

History | View | Annotate | Download (4.9 kB)

# Date Author Comment
c94304be 05/17/2010 11:20 am Christoph Hellwig

cloop: use pread

Use pread instead of lseek + read in preparation of using the qemu
block API.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

20be49e4 05/17/2010 11:20 am Christoph Hellwig

cloop: use qemu block API

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

66f82cee 05/03/2010 11:07 am Kevin Wolf

block: Open the underlying image file in generic code

Format drivers shouldn't need to bother with things like file names, but rather
just get an open BlockDriverState for the underlying protocol. This patch
introduces this behaviour for bdrv_open implementation. For protocols which...

019d6b8f 05/15/2009 12:13 am Anthony Liguori

Move block drivers into their own directory

Signed-off-by: Anthony Liguori <>