[Qemu-block] [PATCH 08/13] block: Allow changing the backing file on reopen

2019-01-17 Thread Alberto Garcia
This patch allows the user to change the backing file of an image that is being reopened. Here's what it does: - In bdrv_reopen_prepare(): check that the value of 'backing' points to an existing node or is null. If it points to an existing node it also needs to make sure that replacing the

Re: [Qemu-block] [PATCH 08/13] block: Allow changing the backing file on reopen

2019-02-12 Thread Kevin Wolf
Am 17.01.2019 um 16:33 hat Alberto Garcia geschrieben: > This patch allows the user to change the backing file of an image that > is being reopened. Here's what it does: > > - In bdrv_reopen_prepare(): check that the value of 'backing' points >to an existing node or is null. If it points to a

Re: [Qemu-block] [PATCH 08/13] block: Allow changing the backing file on reopen

2019-02-21 Thread Alberto Garcia
On Tue 12 Feb 2019 06:27:56 PM CET, Kevin Wolf wrote: >> - In bdrv_reopen_commit(): perform the actual node replacement by >>calling bdrv_set_backing_hd(). It may happen that there are >>temporary implicit nodes between the BDS that we are reopening and >>the backing file that we want

Re: [Qemu-block] [PATCH 08/13] block: Allow changing the backing file on reopen

2019-02-21 Thread Alberto Garcia
(sorry I accidentally sent an incomplete reply a few minutes ago) On Tue 12 Feb 2019 06:27:56 PM CET, Kevin Wolf wrote: >> - In bdrv_reopen_commit(): perform the actual node replacement by >>calling bdrv_set_backing_hd(). It may happen that there are >>temporary implicit nodes between the