[libvirt] [PATCH 00/14] Multiple cleanups within secretobj and secret_driver

John Ferlan jferlan at redhat.com
Mon Apr 24 18:00:09 UTC 2017


More adjustments in preparation for having virobject code handle the bulk
of the object management code.

I know it's a lot of patches, but most should be relatively simple - especially
the first 10... The last 4 set up for a "common" way to handle the config
directory space as well and could be a bit more controversial. Perhaps the
most being patch 12 which attempts to perform the mkdir of the configDir
during initialization rather than first "define" of secret. Although someone
could also pick out their own most favorite/controversial and surprise me.


John Ferlan (14):
  secret: Need to set data->error on VIR_ALLOC_N failure
  secret: Convert virsecretobjs.h to use "newer" formatting style
  secret: Make some virSecretObj* functions static
  secret: Have virSecretObjNew return locked object
  secret: Use consistent naming for variables
  secret: Use virSecretDefPtr rather than deref from virSecretObjPtr
  secret: Move virSecretObjListGetUUIDs
  secret: Change variable names for list traversals
  secret: Split apart NumOfSecrets and GetUUIDs callback function
  secret: Combine virSecretObjListAdd with Locked function
  secret: Alter FindByUUID to expect the formatted uuidstr
  secret: Generate configDir during driver initialization
  secret: Alter configFile/base64File mgmt
  secret: Clean up virSecretObjListExport logic

 src/conf/virsecretobj.c    | 557 +++++++++++++++++++++++----------------------
 src/conf/virsecretobj.h    | 120 +++++-----
 src/secret/secret_driver.c | 178 ++++++++-------
 3 files changed, 442 insertions(+), 413 deletions(-)

-- 
2.9.3




More information about the libvir-list mailing list