commit | f54120ff1aa030d96ee64aefef9898e9e80b3a71 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon May 26 11:09:59 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Jun 26 13:51:01 2014 +0200 |
tree | fc3041f1247bc6da5ca82d99f1dea2c0461e9e5a | |
parent | f42ca3cad10f74777481c201722b598763e1771c [diff] |
block: Create bdrv_fill_options() The idea of bdrv_fill_options() is to convert every parameter for opening images, in particular the filename and flags, to entries in the options QDict. This patch starts with moving the filename parsing and driver probing part from bdrv_file_open() to the new function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>