[pve-devel] [PATCH 18/20] iscsidirect : add volume_clone
Alexandre Derumier
aderumier at odiso.com
Tue Dec 4 12:20:32 CET 2012
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/Storage/ISCSIDirectPlugin.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index 2378163..0018ed9 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -213,5 +213,10 @@ 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