Convert all block drivers to new bdrv_create
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2009 14:42:10 +0000 (16:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 22 May 2009 15:50:31 +0000 (10:50 -0500)
commit0e7e1989f7fced8e39f140e1958f0557b60d4532
tree76bbcc1c26a05f4f6e430f9f844f9b3b350c13ba
parentd3f243676addaef6c8d818934565292c698f91cc
Convert all block drivers to new bdrv_create

Now we can make use of the newly introduced option structures. Instead of
having bdrv_create carry more and more parameters (which are format specific in
most cases), just pass a option structure as defined by the driver itself.

bdrv_create2() contains an emulation of the old interface to simplify the
transition.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
12 files changed:
block.c
block.h
block/cow.c
block/qcow.c
block/qcow2.c
block/raw-posix.c
block/raw-win32.c
block/vmdk.c
block/vpc.c
block/vvfat.c
block_int.h
qemu-img.c