Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing()

2020-05-07 Thread Max Reitz
On 06.05.20 15:21, Kevin Wolf wrote: > Am 18.02.2020 um 13:42 hat Max Reitz geschrieben: >> Right now, bdrv_format_default_perms() is used by format parents >> (generally). We want to switch to a model where most parents use a >> single BdrvChildClass, which then decides the permissions based on th

Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing()

2020-05-06 Thread Kevin Wolf
Am 18.02.2020 um 13:42 hat Max Reitz geschrieben: > Right now, bdrv_format_default_perms() is used by format parents > (generally). We want to switch to a model where most parents use a > single BdrvChildClass, which then decides the permissions based on the > child role. To do so, we have to split

[PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing()

2020-02-18 Thread Max Reitz
Right now, bdrv_format_default_perms() is used by format parents (generally). We want to switch to a model where most parents use a single BdrvChildClass, which then decides the permissions based on the child role. To do so, we have to split bdrv_format_default_perms() into separate functions for e