Re: [PATCH v2 12/33] block: Unify bdrv_child_cb_detach()

2020-02-05 Thread Eric Blake
On 2/4/20 11:08 AM, Max Reitz wrote: Make bdrv_child_cb_detach() call bdrv_backing_detach() for children with a COW role (and drop the reverse call from bdrv_backing_detach()), 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

[PATCH v2 12/33] block: Unify bdrv_child_cb_detach()

2020-02-04 Thread Max Reitz
Make bdrv_child_cb_detach() call bdrv_backing_detach() for children with a COW role (and drop the reverse call from bdrv_backing_detach()), 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