Re: [PATCH v2 18/33] block: Add bdrv_default_perms()

2020-02-05 Thread Eric Blake
On 2/4/20 11:08 AM, Max Reitz wrote: This callback can be used by BDSs that use child_of_bds with the appropriate BdrvChildRole for their children. Also, make bdrv_format_default_perms() use it for child_of_bds children (just a temporary solution until we can drop bdrv_format_default_perms()

[PATCH v2 18/33] block: Add bdrv_default_perms()

2020-02-04 Thread Max Reitz
This callback can be used by BDSs that use child_of_bds with the appropriate BdrvChildRole for their children. Also, make bdrv_format_default_perms() use it for child_of_bds children (just a temporary solution until we can drop bdrv_format_default_perms() altogether). Signed-off-by: Max Reitz