Home
last modified time | relevance | path

Searched hist:"6 a1b9ee152101868082dbf24ccb683af0431c85b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock_int.hdiff 6a1b9ee152101868082dbf24ccb683af0431c85b Thu Dec 15 04:27:32 CST 2016 Kevin Wolf <kwolf@redhat.com> 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>
/openbmc/qemu/
H A Dblock.cdiff 6a1b9ee152101868082dbf24ccb683af0431c85b Thu Dec 15 04:27:32 CST 2016 Kevin Wolf <kwolf@redhat.com> 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>