[pve-devel] [PATCH 14/21] iscsidirect : add volume_snapshot_rollback

Alexandre Derumier aderumier at odiso.com
Thu Sep 6 10:28:04 CEST 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/ISCSIDirectPlugin.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index 0267a22..f054a3b 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -198,4 +198,9 @@ sub volume_snapshot {
     die "volume snapshot is not possible on iscsi device";
 }
 
+sub volume_snapshot_rollback {
+    my ($class, $scfg, $storeid, $volname, $snap) = @_;
+    die "volume snapshot rollback is not possible on iscsi device";
+}
+
 1;
-- 
1.7.2.5



More information about the pve-devel mailing list