]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Propagate .drained_begin/end callbacks
authorKevin Wolf <kwolf@redhat.com>
Mon, 23 May 2016 16:46:59 +0000 (18:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 May 2016 17:04:11 +0000 (19:04 +0200)
commit20018e12cfde4847a0e90f0f9942804c20c14894
tree2bbc1194536dd1f177c8ea37aeabc18882ea336c
parent36fe13317bfc3414745528c6c08cea2904ca49ec
block: Propagate .drained_begin/end callbacks

When draining intermediate nodes (i.e. nodes that aren't the root node
for at least one of their parents; with node references, the user can
always configure the graph to create this situation), we need to
propagate the .drained_begin/end callbacks all the way up to the root
for the drain to be effective.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
block.c