]> git.proxmox.com Git - mirror_qemu.git/commit
block: Add BdrvChildRole.stay_at_node
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Jan 2017 12:39:34 +0000 (13:39 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:37 +0000 (20:40 +0100)
commit26de9438c1b6013532fb95de0720e2696588332f
treefa22c8be003d452f226f4099dec3cc82f198d3f6
parentd083319fe007e100b38995d0ea254845c8efa433
block: Add BdrvChildRole.stay_at_node

When the parents' child links are updated in bdrv_append() or
bdrv_replace_in_backing_chain(), this should affect all child links of
BlockBackends or other nodes, but not on child links held for other
purposes (like for setting permissions). This patch allows to control
the behaviour per BdrvChildRole.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block.c
include/block/block_int.h