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

Ján Tomko jtomko at redhat.com
Mon Feb 24 00:01:17 UTC 2020


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
>setting the format manually.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/storage/storage_util.c | 5 +----
> src/util/virstoragefile.c  | 3 +--
> 2 files changed, 2 insertions(+), 6 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200224/9088ccf5/attachment-0001.sig>


More information about the libvir-list mailing list