[pve-devel] [PATCH 17/31] lvm: add volume_clone
Alexandre Derumier
aderumier at odiso.com
Tue Jan 8 15:45:23 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 21d3ec9..5a0962c 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -456,4 +456,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