[libvirt] [PATCH v8 08/11] util: Add TLS attributes to virStorageSource

Peter Krempa pkrempa at redhat.com
Tue Sep 19 13:44:38 UTC 2017


On Thu, Sep 14, 2017 at 08:51:53 -0400, John Ferlan wrote:
> From: Ashish Mittal <Ashish.Mittal at veritas.com>
> 
> Add an optional virTristateBool haveTLS to virStorageSource to
> manage whether a storage source will be using TLS.
> 
> Sample XML for a VxHS disk:
> 
> <disk type='network' device='disk'>
>   <driver name='qemu' type='raw' cache='none'/>
>   <source protocol='vxhs' name='eb90327c-8302-4725-9e1b-4e85ed4dc251' tls='yes'>
>     <host name='192.168.0.1' port='9999'/>
>   </source>
>   <target dev='vda' bus='virtio'/>
> </disk>
> 
> Additionally add a tlsFromConfig boolean to control whether the TLS
> setting was due to domain configuration or qemu.conf global setting
> in order to decide whether to Format the haveTLS setting for either
> a live or saved domain configuration file.

I guess it's unpleasant to do it any other way...

ACK

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


More information about the libvir-list mailing list