OSDN Git Service

block: Add options QDict to bdrv_open_common()
authorKevin Wolf <kwolf@redhat.com>
Fri, 15 Mar 2013 09:35:04 +0000 (10:35 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Mar 2013 15:07:49 +0000 (16:07 +0100)
commitb6ad491a4921557efc8815fe0ca5f11c6d8d587e
treed9d9acce433e5d634e79c7906bf2652bcc799c2f
parentb382bc9a1504c7f7c112881695d08293b906b88f
block: Add options QDict to bdrv_open_common()

The options are passed down to the block drivers, which are supposed to
remove all options they have processed. Anything that is left over in
the end is an unknown option and results in an error.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c