diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-05-23 15:52:26 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-25 19:04:10 +0200 |
commit | e9740bc6d466df53efe4b8f797e99d16212799d0 (patch) | |
tree | f3879f7fd401b7d03ca53414a6ea4e8508c26d18 /block | |
parent | 109525ad6a2f5d720ee0802df7ab1e3decbeeb21 (diff) |
block: Introduce bdrv_replace_child()
This adds a common function that is called when attaching a new child to
a parent, removing a child from a parent and when reconfiguring the
graph so that an existing child points to a different node now.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions