commit | 01a5650179a914a7603c77ccf0de9617064541ee | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Jan 18 15:51:56 2017 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Feb 24 16:09:23 2017 +0100 |
tree | c45de6b825de48f0700db6de1269fc0fce308776 | |
parent | 5696c6e350be4d7b45b68e8460da1049bc9efe0a [diff] |
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>