aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-03-10 12:38:25 +0100
committerKevin Wolf <kwolf@redhat.com>2020-03-11 15:54:38 +0100
commitc7a0f2be8f95b220cdadbba9a9236eaf115951dc (patch)
tree54654e1ff4edf1ea5a44cb43c95d1d8e86d5fa76 /include
parent9b6abdcfae4401f8078f883d6eca6463c0bfbd68 (diff)
downloadqemu-c7a0f2be8f95b220cdadbba9a9236eaf115951dc.zip
qemu-c7a0f2be8f95b220cdadbba9a9236eaf115951dc.tar.gz
qemu-c7a0f2be8f95b220cdadbba9a9236eaf115951dc.tar.bz2
block: Make bdrv_get_cumulative_perm() public
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200310113831.27293-2-kwolf@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 3f70a98..d8d1370 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -1224,6 +1224,9 @@ BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs,
void *opaque, Error **errp);
void bdrv_root_unref_child(BdrvChild *child);
+void bdrv_get_cumulative_perm(BlockDriverState *bs, uint64_t *perm,
+ uint64_t *shared_perm);
+
/**
* Sets a BdrvChild's permissions. Avoid if the parent is a BDS; use
* bdrv_child_refresh_perms() instead and make the parent's