1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

docs: update refs to virDomainSaveParams and virDomainRestoreParams

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Claudio Fontana <cfontana@suse.de>
This commit is contained in:
Claudio Fontana 2022-05-06 15:11:15 +02:00 committed by Daniel P. Berrangé
parent 9759639dd4
commit 3342278539
3 changed files with 7 additions and 5 deletions

View File

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

View File

@ -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.
*

View File

@ -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.
*