Re: [Qemu-block] [PATCH v3 1/5] block: Allow replacement of a BDS by its overlay

2016-06-13 Thread Kevin Wolf
Am 12.06.2016 um 05:15 hat Fam Zheng geschrieben: > On Fri, 06/10 20:57, Max Reitz wrote: > > change_parent_backing_link() asserts that the BDS to be replaced is not > > used as a backing file. However, we may want to replace a BDS by its > > overlay in which case that very link should not be redir

Re: [Qemu-block] [PATCH v3 1/5] block: Allow replacement of a BDS by its overlay

2016-06-11 Thread Fam Zheng
On Fri, 06/10 20:57, Max Reitz wrote: > change_parent_backing_link() asserts that the BDS to be replaced is not > used as a backing file. However, we may want to replace a BDS by its > overlay in which case that very link should not be redirected. > > For instance, when doing a sync=none drive-mir

[Qemu-block] [PATCH v3 1/5] block: Allow replacement of a BDS by its overlay

2016-06-10 Thread Max Reitz
change_parent_backing_link() asserts that the BDS to be replaced is not used as a backing file. However, we may want to replace a BDS by its overlay in which case that very link should not be redirected. For instance, when doing a sync=none drive-mirror operation, we may have the following BDS/BB