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

Marc Hartmayer mhartmay at linux.vnet.ibm.com
Wed Apr 25 15:55:36 UTC 2018


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




More information about the libvir-list mailing list