[pve-devel] [PATCH 18/20] iscsidirect : add volume_clone

Alexandre Derumier aderumier at odiso.com
Mon Dec 3 14:32:43 CET 2012


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 ee9179a..b1c2e66 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -218,4 +218,10 @@ sub volume_unprotect {
     die "you can't unprotect an iscsi device";
 }
 
+sub volume_clone {
+    my ($class, $scfg, $storeid, $volname, $snap, $vmid) = @_;
+    die "volume cloning is not possible on iscsi device";
+
+}
+
 1;
-- 
1.7.10.4




More information about the pve-devel mailing list