summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-05-04 18:52:39 +0200
committerKevin Wolf <kwolf@redhat.com>2017-05-11 12:08:24 +0200
commit38701b6aef5e934c5901905e8ca2c50453088a81 (patch)
tree5529364f508d67ce4837989f005b263eafd68775 /qemu-io-cmds.c
parentcfa1a5723f0fc8eb6563fb1d19c206fd5e40cd41 (diff)
downloadfocaccia-qemu-38701b6aef5e934c5901905e8ca2c50453088a81.tar.gz
focaccia-qemu-38701b6aef5e934c5901905e8ca2c50453088a81.zip
block: Inactivate parents before children
The proper order for inactivating block nodes is that first the parents
get inactivated and then the children. If we do things in this order, we
can assert that we didn't accidentally leave a parent activated when one
of its child nodes is inactive.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions