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 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?


-- 
Eric Blake   eblake redhat com    +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

[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]