[pve-devel] [PATCH 21/21] iscsidirect : add volume_snapshot_delete

Alexandre Derumier aderumier at odiso.com
Thu Sep 6 10:28:11 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 f054a3b..e2490e8 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -203,4 +203,9 @@ sub volume_snapshot_rollback {
     die "volume snapshot rollback is not possible on iscsi device";
 }
 
+sub volume_snapshot_delete {
+    my ($class, $scfg, $storeid, $volname, $snap) = @_;
+    die "volume snapshot delete is not possible on iscsi device";
+}
+
 1;
-- 
1.7.2.5



More information about the pve-devel mailing list