]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Request real permissions in bdrv_attach_child()
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Dec 2016 14:51:12 +0000 (15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:36 +0000 (20:40 +0100)
commitf68c598be6a48995ca4c7cc42fc1f6e1195ec7aa
tree2e6321dacbb20ac7f6077ce79b89a7a0355f28f8
parent78e421c9fbed9d501d7ada84ddc786a92178a71d
block: Request real permissions in bdrv_attach_child()

Now that all block drivers with children tell us what permissions they
need from each of their children, bdrv_attach_child() can use this
information and make the right requirements while trying to attach new
children.

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