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

2016-06-08 Thread Max Reitz
On 08.06.2016 10:58, Kevin Wolf wrote: > Am 06.06.2016 um 16:42 hat Max Reitz geschrieben: >> 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 redirec

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

2016-06-08 Thread Kevin Wolf
Am 06.06.2016 um 16:42 hat Max Reitz geschrieben: > 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. > > Signed-off-by: Max Reitz So the

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

2016-06-06 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. Signed-off-by: Max Reitz --- block.c | 15 ++- 1 file changed, 14 insertions(+),