Re: [PATCH 4/7] virStorageSourceNewFromBacking: Also transfer the format

2020-02-23 Thread Ján Tomko
On Fri, Feb 21, 2020 at 02:51:42PM +0100, Peter Krempa wrote: When we create the new virStorageSource from the definitions stored in the parent we should also use the 'backingStoreRawFormat' field to populate the format. Callers which use virStorageSourceNewFromBacking are also fixed to stop set

[PATCH 4/7] virStorageSourceNewFromBacking: Also transfer the format

2020-02-21 Thread Peter Krempa
When we create the new virStorageSource from the definitions stored in the parent we should also use the 'backingStoreRawFormat' field to populate the format. Callers which use virStorageSourceNewFromBacking are also fixed to stop setting the format manually. Signed-off-by: Peter Krempa --- src