summary refs log tree commit diff stats
path: root/hw/ide/qdev.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-12-15 11:27:32 +0100
committerKevin Wolf <kwolf@redhat.com>2017-02-28 20:40:36 +0100
commit6a1b9ee152101868082dbf24ccb683af0431c85b (patch)
tree7065d40689b2a7048b3004ce512301f951725dbb /hw/ide/qdev.c
parent33a610c398603efafd954c706ba07850835a5098 (diff)
downloadfocaccia-qemu-6a1b9ee152101868082dbf24ccb683af0431c85b.tar.gz
focaccia-qemu-6a1b9ee152101868082dbf24ccb683af0431c85b.zip
block: Default .bdrv_child_perm() for filter drivers
Most filters need permissions related to read and write for their
children, but only if the node has a parent that wants to use the same
operation on the filter. The same is true for resize.

This adds a default implementation that simply forwards all necessary
permissions to all children of the node and leaves the other permissions
unchanged.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/ide/qdev.c')
0 files changed, 0 insertions, 0 deletions