On 04/18/2016 05:48 PM, Cole Robinson wrote:
On 03/02/2016 01:55 PM, John Ferlan wrote:
> Move to secret_conf.c and rename to virSecretLoadAllConfigs. Also includes
> moving/renaming the supporting virSecretLoad, virSecretLoadValue, and
> virSecretLoadValidateUUID.
>
> Signed-off-by: John Ferlan <jferlan(a)redhat.com>
> ---
> src/conf/secret_conf.c | 175 +++++++++++++++++++++++++++++++++++++++++++++
> src/conf/secret_conf.h | 3 +
> src/libvirt_private.syms | 1 +
> src/secret/secret_driver.c | 174 +-------------------------------------------
> 4 files changed, 181 insertions(+), 172 deletions(-)
ACK, mirrors network_conf.c layout.
(though honestly I'd rather we have separate files for XML handling and object
handling... the existing conf.c files are too large anyways. I put an entry on
the LibvirtFirstBugs wiki page about that type of code reorg though it's
probably over an initial contributors head)
I could go the route of a "virsecretobj.c" (to partially mimic the
virdomainobjlist.c) instead of cramming everything into secret_conf -
there's about 1000 new lines in secret_conf just for this series (with
the reduction of lines in secret_driver).
It would mean a complete v2 of this series - although considering most
things have been ACK'd the second review should be easier. I think
there's only a couple of issues/questions to resolve from reviews.
Thanks for the review -
John