[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/4] Split libvirtd config file loading out into separate files



On 04/04/2012 08:07 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> To enable creation of unit tests, split the libvirtd config file
> loading code out into separate files.
> 
> * daemon/libvirtd.c: Delete config loading code / structs
> * daemon/libvirtd-config.c, daemon/libvirtd-config.h: Config
>   file loading APIs
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  daemon/Makefile.am       |    1 +
>  daemon/libvirtd-config.c |  456 +++++++++++++++++++++++++++++++++++++++++++
>  daemon/libvirtd-config.h |   91 +++++++++
>  daemon/libvirtd.c        |  479 +---------------------------------------------
>  4 files changed, 549 insertions(+), 478 deletions(-)
>  create mode 100644 daemon/libvirtd-config.c
>  create mode 100644 daemon/libvirtd-config.h

ACK.  Looks straightforward.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]