[libvirt] [PATCH 0/2] Minor fixes for virTypedParams(De)Serialize

Marc Hartmayer posted 2 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180425155538.15198-1-mhartmay@linux.vnet.ibm.com
Test syntax-check passed
There is a newer version of this series
src/util/virtypedparam.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
[libvirt] [PATCH 0/2] Minor fixes for virTypedParams(De)Serialize
Posted by Marc Hartmayer 5 years, 11 months ago
Some minor fixes and two questions:

* Is the first method, which is described in the documentation for
  virTypedParamsDeserialize, in sync with the actual code? ("Older
  APIs do not rely on deserializer allocating memory for @params,
  ...")

* Do we also have to set *nparams = 0 in case of an error and the user
  has allocated the memory? (virTypedParamsDeserialize)
  
Marc Hartmayer (2):
  virTypedParamsSerialize: minor fixes
  virTypedParamsDeserialize: minor fixes

 src/util/virtypedparam.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
2.13.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list