[libvirt] [PATCH 07/22] util: typedparam: Optionally copy strings passed to virTypedParameterAssignValue

Ján Tomko jtomko at redhat.com
Tue Sep 24 12:55:52 UTC 2019


On Thu, Sep 19, 2019 at 07:13:10PM +0200, Peter Krempa wrote:
>Some code paths pass in already pointers to strings which should be

already pass in

>added directly as the value of the typed parameter. To allow more
>universal use of virTypedParameterAssignValue add a flag which allows to
>copy the value in place.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virtypedparam.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 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/20190924/c1a8e546/attachment-0001.sig>


More information about the libvir-list mailing list