Re: [PATCH 03/12] Move virDomainSnapshot related APIs out of libvirt.c

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

 



On Wed, Oct 22, 2014 at 05:06:54PM -0600, Eric Blake wrote:
> On 10/22/2014 11:14 AM, Daniel P. Berrange wrote:
> > Introduce a src/libvirt-domain-snapshot.c file to hold all the
> > methods related to the virDomainSnapshot type.
> > ---
> >  docs/apibuild.py              |    1 +
> >  po/POTFILES.in                |    1 +
> >  src/Makefile.am               |    2 +
> >  src/datatypes.h               |    1 +
> >  src/libvirt-domain-snapshot.c | 1222 +++++++++++++++++++++++++++++++++++++++++
> >  src/libvirt.c                 | 1194 ----------------------------------------
> >  6 files changed, 1227 insertions(+), 1194 deletions(-)
> >  create mode 100644 src/libvirt-domain-snapshot.c
> 
> Reviewed in a similar manner as I mentioned in 2/12, and this one was
> MUCH easier to validate.
> 
> ACK, with one question (that may be best handled in a followup for all
> of the files this series splits out):
> 
> 
> > +++ b/src/libvirt-domain-snapshot.c
> 
> > +
> > +VIR_LOG_INIT("libvirt.domain-snapshot");
> > +
> > +#define VIR_FROM_THIS VIR_FROM_NONE
> 
> Do we still need VIR_FROM_NONE, or can we switch this file to use
> VIR_FROM_DOMAIN_SNAPSHOT, now that we are isolated?

Yes, we might as well do that now.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]