On 04/04/2012 08:07 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > > 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@xxxxxxxxxx> > --- > 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@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list