[pve-devel] [PATCH 01/10] plugin : has_feature : copy

Alexandre Derumier aderumier at odiso.com
Thu Feb 14 17:27:31 CET 2013


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

diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 445afe7..5ff114a 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -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) =
-- 
1.7.10.4




More information about the pve-devel mailing list