add subvol support for directory storage

This storage type does not support subvol quotas, so we
only allow this if vdisk_alloc is called with size=0.
This commit is contained in:
Dietmar Maurer
2015-08-12 06:04:41 +02:00
parent dec97937f2
commit 35533c68fb
3 changed files with 56 additions and 38 deletions

View File

@ -18,7 +18,7 @@ sub plugindata {
return {
content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1, backup => 1, none => 1 },
{ images => 1, rootdir => 1 }],
format => [ { raw => 1, qcow2 => 1, vmdk => 1 } , 'raw' ],
format => [ { raw => 1, qcow2 => 1, vmdk => 1, subvol => 1 } , 'raw' ],
};
}