[pve-devel] [PATCH 18/48] lvm: add volume_clone

Alexandre Derumier aderumier at odiso.com
Tue Jan 29 17:14:00 CET 2013


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 f68ae73..ea0b634 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -470,4 +470,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