]> Git Repo - qemu.git/commit
block: Introduce bdrv_replace_child()
authorKevin Wolf <[email protected]>
Mon, 23 May 2016 13:52:26 +0000 (15:52 +0200)
committerKevin Wolf <[email protected]>
Wed, 25 May 2016 17:04:10 +0000 (19:04 +0200)
commite9740bc6d466df53efe4b8f797e99d16212799d0
treef3879f7fd401b7d03ca53414a6ea4e8508c26d18
parent109525ad6a2f5d720ee0802df7ab1e3decbeeb21
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
block.c
This page took 0.025208 seconds and 4 git commands to generate.