block: Consider all block layer options in append_open_options
commit9e700c1ac6337e448e75e66a5753a9d2168d06c2
authorKevin Wolf <kwolf@redhat.com>
Fri, 24 Apr 2015 13:20:28 +0000 (24 15:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Dec 2015 13:34:42 +0000 (18 14:34 +0100)
treebb9283c54e711b12afef8c2ba86df0cc9747d097
parentd9b7b05703399fbc9b87553d7f164ffba1db4aa4
block: Consider all block layer options in append_open_options

The code already special-cased "node-name", which is currently the only
option passed in the QDict that isn't driver-specific. Generalise the
code to take all general block layer options into consideration.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block.c