Am 16.09.24 um 18:38 schrieb Daniel Kral: > diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm > index a0abe44f..13c1c4e0 100644 > --- a/PVE/API2/Qemu.pm > +++ b/PVE/API2/Qemu.pm > @@ -220,18 +220,6 @@ my $check_storage_access_clone = sub { > return $sharedvm; > }; > > -my $check_storage_access_migrate = sub { > - my ($rpcenv, $authuser, $storecfg, $storage, $node) = @_; > - > - PVE::Storage::storage_check_enabled($storecfg, $storage, $node); > - > - $rpcenv->check($authuser, "/storage/$storage", > ['Datastore.AllocateSpace']); > - > - my $scfg = PVE::Storage::storage_config($storecfg, $storage); > - die "storage '$storage' does not support vm images\n" > - if !$scfg->{content}->{images}; > -};
I'd prefer to keep this helper and have it call the new ones. > - > my $import_from_volid = sub { > my ($storecfg, $src_volid, $dest_info, $vollist) = @_; > _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel