Re: [Qemu-devel] [PATCH 1/2] commit: reopen overlay_bs before base

2015-10-30 Thread Max Reitz
On 28.10.2015 14:43, Alberto Garcia wrote: > 'block-commit' needs write access to two different nodes of the chain: > > - 'base', because that's where the data is written to. > - the overlay of 'top', because it needs to update the backing file > string to point to 'base' after the operation. >

[Qemu-devel] [PATCH 1/2] commit: reopen overlay_bs before base

2015-10-28 Thread Alberto Garcia
'block-commit' needs write access to two different nodes of the chain: - 'base', because that's where the data is written to. - the overlay of 'top', because it needs to update the backing file string to point to 'base' after the operation. Both images have to be opened in read-write mode, and