]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Factor out bdrv_open_driver()
authorKevin Wolf <kwolf@redhat.com>
Wed, 18 Jan 2017 14:51:56 +0000 (15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Feb 2017 15:09:23 +0000 (16:09 +0100)
commit01a5650179a914a7603c77ccf0de9617064541ee
treec45de6b825de48f0700db6de1269fc0fce308776
parent5696c6e350be4d7b45b68e8460da1049bc9efe0a
block: Factor out bdrv_open_driver()

This is a function that doesn't do any option parsing, but just does
some basic BlockDriverState setup and calls the .bdrv_open() function of
the block driver.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c