Re: [Qemu-devel] [PATCH 10/34] block: Fix reopen flag inheritance

2015-05-12 Thread Eric Blake
On 05/08/2015 11:21 AM, Kevin Wolf wrote: > When reopening an image, the block layer already takes care to reopen > bs->file as well with recalculated inherited flags. The same must happen > for any other child (most notably missing before this patch: backing > files). > > If bs->file (or any othe

Re: [Qemu-devel] [PATCH 10/34] block: Fix reopen flag inheritance

2015-05-11 Thread Max Reitz
On 08.05.2015 19:21, Kevin Wolf wrote: When reopening an image, the block layer already takes care to reopen bs->file as well with recalculated inherited flags. The same must happen for any other child (most notably missing before this patch: backing files). If bs->file (or any other child) didn

[Qemu-devel] [PATCH 10/34] block: Fix reopen flag inheritance

2015-05-08 Thread Kevin Wolf
When reopening an image, the block layer already takes care to reopen bs->file as well with recalculated inherited flags. The same must happen for any other child (most notably missing before this patch: backing files). If bs->file (or any other child) didn't originally inherit from bs, e.g. becau