[libvirt] storage conf: Add key-value options to storage pools

Ján Tomko jtomko at redhat.com
Tue Jun 3 15:33:13 UTC 2014


On 05/28/2014 11:38 AM, Wido den Hollander wrote:
> This series of patches adds the ability to pass down options to the
> storage pool drivers.
> 
> In the case of NFS users can specify mount options and in the case of
> RBD users can specify options for librados to influence some behavior.
> 
> All options and values are checked on input validity to prevent injection
> of malicious commands.
> 

Should we allow arbitrary options?

I think only adding the configuration options we care about would be nicer,
something like:

<options>
  <timeout>30</timeout>
  <retries>5</retries>
</options>

where timeout would set all the three timeout options for RADOS (unless there
is a need to tweak them separately) and retries would only work for NFS?

Jan

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


More information about the libvir-list mailing list