summaryrefslogtreecommitdiffstats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf2017-12-18 16:05:48 +0100
committerKevin Wolf2017-12-22 15:05:32 +0100
commitd736f119dae6d292e8d60f2e02fa51a79524113e (patch)
treed43428b92070b16badcd30678dde7974e0be02ac /qemu-io-cmds.c
parenttest-bdrv-drain: Recursive draining with multiple parents (diff)
downloadqemu-d736f119dae6d292e8d60f2e02fa51a79524113e.tar.gz
qemu-d736f119dae6d292e8d60f2e02fa51a79524113e.tar.xz
qemu-d736f119dae6d292e8d60f2e02fa51a79524113e.zip
block: Allow graph changes in subtree drained section
We need to remember how many of the drain sections in which a node is were recursive (i.e. subtree drain rather than node drain), so that they can be correctly applied when children are added or removed during the drained section. With this change, it is safe to modify the graph even inside a bdrv_subtree_drained_begin/end() section. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions