Re: [PATCH v6 8/8] backup: Introduce virDomainCheckpointPtr

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

 



On Fri, Mar 15, 2019 at 12:02:33AM -0500, Eric Blake wrote:
Prepare for introducing a bunch of new public APIs related to backup
checkpoints by first introducing a new internal type and errors
associated with that type.  Checkpoints are modeled heavily after
virDomainSnapshotPtr (both represent a point in time of the guest),
although a snapshot exists with the intent of rolling back to that
state, while a checkpoint exists to make it possible to create an
incremental backup at a later time.  Thus, it shares the common
virDomainMoment base class created in the previous patches.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---
include/libvirt/virterror.h |  6 +++++-
src/util/virerror.c         | 12 ++++++++++-
include/libvirt/libvirt.h   |  6 +++++-
src/datatypes.h             | 42 ++++++++++++++++++++++++++++++++++++-
src/datatypes.c             | 22 +++++++++++++++++++
src/libvirt_private.syms    |  2 ++
6 files changed, 86 insertions(+), 4 deletions(-)

diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h
index 3c19ff5e2e..bccf3c731e 100644
--- a/include/libvirt/virterror.h
+++ b/include/libvirt/virterror.h
@@ -4,7 +4,7 @@
 * Description: Provides the interfaces of the libvirt library to handle
 *              errors raised while using the library.
 *
- * Copyright (C) 2006-2016 Red Hat, Inc.
+ * Copyright (C) 2006-2019 Red Hat, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
@@ -132,6 +132,7 @@ typedef enum {
    VIR_FROM_LIBSSH = 66,       /* Error from libssh connection transport */
    VIR_FROM_RESCTRL = 67,      /* Error from resource control */
    VIR_FROM_FIREWALLD = 68,    /* Error from firewalld */
+    VIR_FROM_DOMAIN_CHECKPOINT = 69,/* Error from domain checkpoint */

Missing space


# ifdef VIR_ENUM_SENTINELS
    VIR_ERR_DOMAIN_LAST

Jano

Attachment: signature.asc
Description: 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]

  Powered by Linux