[pve-devel] [PATCH 28/48] plugin : add copy feature

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


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

diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 6ec02de..07c6fc2 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -575,6 +575,7 @@ sub volume_has_feature {
     my $features = {
         snapshot => { current => { qcow2 => 1}, snap => { qcow2 => 1} },
         clone => { current => {qcow2 => 1, raw => 1, vmdk => 1} },
+        copy => { current => {qcow2 => 1, raw => 1, vmdk => 1}, snap => {qcow2 => 1, raw => 1, vmdk => 1} },
     };
 
     if ($volname =~ m!^(\d+)/(\S+)$!) {
-- 
1.7.10.4




More information about the pve-devel mailing list