]> git.proxmox.com Git - pve-storage.git/commitdiff
plugin : has_feature : copy
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 14 Feb 2013 16:27:31 +0000 (17:27 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Feb 2013 06:27:07 +0000 (07:27 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Storage/Plugin.pm

index 445afe759a463525543d8e261e6f8f07e1e6e773..5ff114a5364c9562daed51755d96ed88228b2e14 100644 (file)
@@ -684,6 +684,9 @@ sub volume_has_feature {
     my $features = {
         snapshot => { current => { qcow2 => 1}, snap => { qcow2 => 1} },
         clone => { base => {qcow2 => 1, raw => 1, vmdk => 1} },
+        copy => { base => {qcow2 => 1, raw => 1, vmdk => 1},
+                 current => {qcow2 => 1, raw => 1, vmdk => 1},
+                 snap => {qcow2 => 1} },
     };
 
     my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =