block: Factor out bdrv_open_child_bs()
commit2d6b86af1496d534f11cf21370345139dce62fcb
authorKevin Wolf <kwolf@redhat.com>
Fri, 17 Feb 2017 16:43:59 +0000 (17 17:43 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Feb 2017 15:09:23 +0000 (24 16:09 +0100)
tree86297038f1771e07b87536d8f7f0ca0c93774239
parent4e4bf5c42c8b2847a90367936a6df6c277f4a76a
block: Factor out bdrv_open_child_bs()

This is the part of bdrv_open_child() that opens a BDS with option
inheritance, but doesn't attach it as a child to the parent yet.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c