[pve-devel] [PATCH 7/7] iscsidirect : add volume_snapshot

Alexandre Derumier aderumier at odiso.com
Wed Sep 5 10:08:56 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 82c6879..0267a22 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -193,4 +193,9 @@ sub volume_resize {
     die "volume resize is not possible on iscsi device";
 }
 
+sub volume_snapshot {
+    my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;
+    die "volume snapshot is not possible on iscsi device";
+}
+
 1;
-- 
1.7.2.5



More information about the pve-devel mailing list