Storage: add method volume_rollback_is_possible
add method volume_rollback_is_possible and redactor Improve error handling If snapshot is not reversible catch it before vm will lock and shutdown. This is the case if zfs has an younger snapshot. Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
a4034b9f19
commit
1597f1f9ad
@ -656,6 +656,12 @@ sub volume_snapshot {
|
||||
return undef;
|
||||
}
|
||||
|
||||
sub volume_rollback_is_possible {
|
||||
my ($class, $scfg, $storeid, $volname, $snap) = @_;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
sub volume_snapshot_rollback {
|
||||
my ($class, $scfg, $storeid, $volname, $snap) = @_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user