[pve-devel] [PATCH 27/31] plugin : add copy feature

Alexandre Derumier aderumier at odiso.com
Tue Jan 8 15:45:33 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 b35d624..b222d13 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -574,6 +574,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