diff options
| author | Kevin Wolf | 2016-05-23 15:52:26 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-25 19:04:10 +0200 |
| commit | e9740bc6d466df53efe4b8f797e99d16212799d0 (patch) | |
| tree | f3879f7fd401b7d03ca53414a6ea4e8508c26d18 /include | |
| parent | block: Drop errp parameter from blk_new() (diff) | |
| download | qemu-e9740bc6d466df53efe4b8f797e99d16212799d0.tar.gz qemu-e9740bc6d466df53efe4b8f797e99d16212799d0.tar.xz qemu-e9740bc6d466df53efe4b8f797e99d16212799d0.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
