[pve-devel] [PATCH 17/20] lvm: add volume_clone
Alexandre Derumier
aderumier at odiso.com
Mon Dec 3 14:32:42 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 4fb786a..f708fe0 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -450,4 +450,11 @@ sub volume_unprotect {
die "you can't unprotect a lvm device";
}
+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