[pve-devel] [PATCH] check has_feature copy for full clone

Dietmar Maurer dietmar at proxmox.com
Thu May 2 06:43:56 CEST 2013


> +	    die "Full copy feature is not available" if $param->{full} &&
> +!PVE::QemuServer::has_feature('copy', $oldconf, $storecfg, $snapname);
> +

I guess testing 'if $param->{full}' is not good enough, because later on we do:


if (!$param->{full} && PVE::Storage::volume_is_base($storecfg,  $drive->{file})) {
# clone
} else {
# copy
}






More information about the pve-devel mailing list