[pve-devel] [PATCH 19/20] iscsi : add volume_clone
Alexandre Derumier
aderumier at odiso.com
Wed Dec 12 13:55:02 CET 2012
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/Storage/ISCSIPlugin.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 9e53167..3af01e3 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -388,6 +388,11 @@ 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
More information about the pve-devel
mailing list