]> git.proxmox.com Git - mirror_qemu.git/commit
block: Create bdrv_fill_options()
authorKevin Wolf <kwolf@redhat.com>
Mon, 26 May 2014 09:09:59 +0000 (11:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 26 Jun 2014 11:51:01 +0000 (13:51 +0200)
commitf54120ff1aa030d96ee64aefef9898e9e80b3a71
treefc3041f1247bc6da5ca82d99f1dea2c0461e9e5a
parentf42ca3cad10f74777481c201722b598763e1771c
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>
block.c