[pve-devel] [PATCH 17/20] lvm: add volume_clone

Alexandre Derumier aderumier at odiso.com
Tue Dec 4 12:20:31 CET 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/LVMPlugin.pm |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/PVE/Storage/LVMPlugin.pm b/PVE/Storage/LVMPlugin.pm
index 712ca1d..8ebceb0 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -450,4 +450,11 @@ sub volume_protect {
 
 }
 
+sub volume_clone {
+    my ($class, $scfg, $storeid, $volname, $snap, $vmid) = @_;
+
+    die "lvm cloning  is not implemented";
+
+}
+
 1;
-- 
1.7.10.4




More information about the pve-devel mailing list