mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu_snapshot: allow snapshot revert for external snapshots
Now that the support to revert external snapshots is implemented we can drop this check. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
88d0e6748d
commit
cb3bc96e67
@ -1892,12 +1892,6 @@ qemuSnapshotRevertValidate(virDomainObj *vm,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (virDomainSnapshotIsExternal(snap)) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("revert to external snapshot not supported yet"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!snap->def->dom) {
|
||||
virReportError(VIR_ERR_SNAPSHOT_REVERT_RISKY,
|
||||
_("snapshot '%1$s' lacks domain '%2$s' rollback info"),
|
||||
|
Loading…
Reference in New Issue
Block a user