Re: [PATCH v4 12/34] block: Unify bdrv_child_cb_attach()

2020-05-13 Thread Eric Blake
On 5/13/20 6:05 AM, Max Reitz wrote: Make bdrv_child_cb_attach() call bdrv_backing_attach() for children with a COW role (and drop the reverse call from bdrv_backing_attach()), so it can be used for any child (with a proper role set). Because so far no child has a proper role set, we need a temp

[PATCH v4 12/34] block: Unify bdrv_child_cb_attach()

2020-05-13 Thread Max Reitz
Make bdrv_child_cb_attach() call bdrv_backing_attach() for children with a COW role (and drop the reverse call from bdrv_backing_attach()), so it can be used for any child (with a proper role set). Because so far no child has a proper role set, we need a temporary new callback for child_backing.at