[libvirt RFCv7 31/40] docs: update refs to virDomainSaveParams and virDomainRestoreParams

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

 



Signed-off-by: Claudio Fontana <cfontana@xxxxxxx>
---
 docs/formatsnapshot.rst          | 5 +++--
 include/libvirt/libvirt-domain.h | 1 +
 src/libvirt-domain.c             | 6 +++---
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/docs/formatsnapshot.rst b/docs/formatsnapshot.rst
index 9b874e4890..dd742a3063 100644
--- a/docs/formatsnapshot.rst
+++ b/docs/formatsnapshot.rst
@@ -38,8 +38,9 @@ full system
 
 Libvirt can manage all three types of snapshots. For now, VM state (memory)
 snapshots are created only by the ``virDomainSave()``, ``virDomainSaveFlags``,
-and ``virDomainManagedSave()`` functions, and restored via the
-``virDomainRestore()``, ``virDomainRestoreFlags()``, ``virDomainCreate()``, and
+``virDomainSaveParams`` and ``virDomainManagedSave()`` functions, and restored
+via the ``virDomainRestore()``, ``virDomainRestoreFlags()``,
+``virDomainRestoreParams``, ``virDomainCreate()``, and
 ``virDomainCreateWithFlags()`` functions (as well as via domain autostart). With
 managed snapshots, libvirt tracks all information internally; with save images,
 the user tracks the snapshot file, but libvirt provides functions such as
diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index d130fbf481..5e858f854b 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -1544,6 +1544,7 @@ int                     virDomainPMWakeup       (virDomainPtr domain,
  * virDomainSaveRestoreFlags:
  *
  * Flags for use in virDomainSaveFlags(), virDomainManagedSave(),
+ * virDomainSaveParams(), virDomainRestoreParams(),
  * virDomainRestoreFlags(), and virDomainSaveImageDefineXML().  Not all
  * flags apply to all these functions.
  *
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index 0d6afcc1c6..d1d62daa71 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -859,9 +859,9 @@ virDomainPMWakeup(virDomainPtr dom,
  * listed as running anymore (this ends the life of a transient domain).
  * Use virDomainRestore() to restore a domain after saving.
  *
- * See virDomainSaveFlags() for more control.  Also, a save file can
- * be inspected or modified slightly with virDomainSaveImageGetXMLDesc()
- * and virDomainSaveImageDefineXML().
+ * See virDomainSaveFlags() and virDomainSaveParams() for more control.
+ * Also, a save file can be inspected or modified slightly with
+ * virDomainSaveImageGetXMLDesc() and virDomainSaveImageDefineXML().
  *
  * Returns 0 in case of success and -1 in case of failure.
  *
-- 
2.35.3





[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