diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-06-15 13:24:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-07-14 17:15:18 +0200 |
commit | b4b059f628173dd1d722ee8a9c592a80aec1fc2f (patch) | |
tree | f50190479725ab2dce518cdfc432b7b0e0b43b57 /COPYING.LIB | |
parent | df5817926790f6e84d1936eab523556f96fa577a (diff) |
block: Introduce bdrv_open_child()
It is the same as bdrv_open_image(), except that it doesn't only return
success or failure, but the newly created BdrvChild object for the new
child node.
As the BdrvChild object already contains a BlockDriverState pointer (and
this is supposed to become the only pointer so that bdrv_append() and
friends can just change a single pointer in BdrvChild), the pbs
parameter is removed for bdrv_open_child().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions