summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorKevin Wolf2016-12-20 23:25:12 +0100
committerKevin Wolf2017-02-28 20:40:36 +0100
commit78e421c9fbed9d501d7ada84ddc786a92178a71d (patch)
tree6b0d8db332f421f827650e4090c70ad3e0401260 /block/commit.c
parentvvfat: Implement .bdrv_child_perm() (diff)
downloadqemu-78e421c9fbed9d501d7ada84ddc786a92178a71d.tar.gz
qemu-78e421c9fbed9d501d7ada84ddc786a92178a71d.tar.xz
qemu-78e421c9fbed9d501d7ada84ddc786a92178a71d.zip
block: Require .bdrv_child_perm() with child nodes
All block drivers that can have child nodes implement .bdrv_child_perm() now. Make this officially a requirement by asserting that only drivers without children can omit .bdrv_child_perm(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions