commit | 62392ebb09fc6e87626aa151a616f24c4e921493 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Apr 24 16:38:02 2015 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 18 14:34:42 2015 +0100 |
tree | 73b81aeb64aaed9d26772b41d0d4a5f24cfe1a87 | |
parent | 4cdd01d32ee6fe04f8d909bfd3708be6864873a2 [diff] |
block: Keep "driver" in bs->options Instead of passing a separate drv argument to bdrv_open_common(), just make sure that a "driver" option is set in the QDict. This also means that a "driver" entry is consistently present in bs->options now. This is another step towards keeping all options in the QDict (which is the represenation of the blockdev-add QMP command). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>