domain_snapshot: update virDomainRevertToSnapshot description

We've changed the behavior of this API that from now on it will always
restart the VM process and we are no longer able to revert to snapshots
created by libvirt older then 0.9.5.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Pavel Hrdina 2021-11-15 15:52:39 +01:00
parent 5956eddf9f
commit 9b0a6d959b

View File

@ -960,6 +960,10 @@ virDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot,
* implies the intent to roll back state, no additional confirmation is
* normally required for these lossy effects.
*
* Since libvirt 7.10.0 the VM process is always restarted so the following
* paragraph is no longer valid. If the snapshot metadata lacks the full
* VM XML it's no longer possible to revert to such snapshot.
*
* However, there are two particular situations where reverting will
* be refused by default, and where @flags must include
* VIR_DOMAIN_SNAPSHOT_REVERT_FORCE to acknowledge the risks. 1) Any