Re: [PATCH v2 10/33] block: Use bdrv_inherited_options()

2020-02-05 Thread Eric Blake
On 2/4/20 11:08 AM, Max Reitz wrote: Let child_file's, child_format's, and child_backing's .inherit_options() implementations fall back to bdrv_inherited_options() to show that it would really work for all of these cases, if only the parents passed the appropriate BdrvChildRole and

[PATCH v2 10/33] block: Use bdrv_inherited_options()

2020-02-04 Thread Max Reitz
Let child_file's, child_format's, and child_backing's .inherit_options() implementations fall back to bdrv_inherited_options() to show that it would really work for all of these cases, if only the parents passed the appropriate BdrvChildRole and parent_is_format values. (Also, make