[pve-devel] [PATCH 02/10] rbd : has_feature : copy

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


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

diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index c24becf..a460826 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage/RBDPlugin.pm
@@ -471,6 +471,7 @@ sub volume_has_feature {
    my $features = {
         snapshot => { current => 1, snap => 1},
         clone => { base => 1},
+        copy => { base => 1, current => 1, snap => 1},
     };
 
     my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =
-- 
1.7.10.4




More information about the pve-devel mailing list