[pve-devel] [PATCH 8/8] iscsidirect : add volume_clone
    Alexandre Derumier 
    aderumier at odiso.com
       
    Mon Nov  5 14:46:07 CET 2012
    
    
  
volume clone is not possible on iscsi devices
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/ISCSIDirectPlugin.pm |    6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index e2490e8..964550f 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -208,4 +208,10 @@ sub volume_snapshot_delete {
     die "volume snapshot delete is not possible on iscsi device";
 }
 
+sub volume_clone {
+    my ($class, $scfg, $storeid, $volnamesrc, $volnamedst, $snap, $running) = @_;
+    die "volume cloning is not possible on iscsi device";
+
+}
+
 1;
-- 
1.7.10.4
    
    
More information about the pve-devel
mailing list