qemu-e2k/block
Kevin Wolf 66f82ceed6 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
need to access the filename to open their file/device/connection/... a new
callback bdrv_file_open is introduced which doesn't get an underlying file
opened.

For now, also some of the more obscure formats use bdrv_file_open because they
open() the file themselves instead of using the block.c functions. They need to
be fixed in later patches.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-05-03 10:07:30 +02:00
..
blkdebug.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
bochs.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
cloop.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
cow.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
curl.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
dmg.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
nbd.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
parallels.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2-cluster.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2-refcount.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2-snapshot.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2.h block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
raw-win32.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
raw.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
vdi.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
vmdk.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
vpc.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
vvfat.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00