[libvirt] [PATCH 6/9] storage: Fill in 'type' field for virStorageSource in storage driver

Eric Blake eblake at redhat.com
Thu Oct 12 20:13:19 UTC 2017


On 10/12/2017 02:07 PM, Peter Krempa wrote:
> Storage driver uses virStorageSource only partially to store it's
> configuration but fully when parsing backing files of storage volumes.
> This patch sets the 'type' field to a value other than
> VIR_STORAGE_TYPE_NONE so that further patches can add a terminator
> element to backing chains without breaking iteration.
> ---
>  src/conf/storage_conf.c               | 4 ++++
>  src/storage/storage_backend_gluster.c | 2 ++
>  src/storage/storage_backend_logical.c | 1 +
>  3 files changed, 7 insertions(+)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171012/d84dceab/attachment-0001.sig>


More information about the libvir-list mailing list