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

Alexandre Derumier aderumier at odiso.com
Tue Dec 18 10:15:56 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 c627766..d27dd1e 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