Signed-off-by: Alexandre Derumier <[email protected]>
---
 PVE/Storage/ISCSIPlugin.pm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 7af9c7c..d150bb2 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -394,4 +394,9 @@ sub volume_protect {
     die "you can't protect 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

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to