Signed-off-by: Claudio Fontana <cfontana(a)suse.de>
---
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