OSDN Git Service

block: Always pass NULL as drv for bdrv_open()
authorMax Reitz <mreitz@redhat.com>
Wed, 26 Aug 2015 17:47:48 +0000 (19:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Sep 2015 14:51:36 +0000 (16:51 +0200)
commite6641719fed794be8e0c48a69761528ae6c95ed9
tree2d468a3f566630548503d9aa83ecde588f165976
parent2b750d9d261bda7f75b39dfc1e1e5f22502929d5
block: Always pass NULL as drv for bdrv_open()

Change all callers of bdrv_open() to pass the driver name in the options
QDict instead of passing its BlockDriver pointer.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/qcow2.c
block/vvfat.c
blockdev.c