[pve-devel] [qemu-container] Add unused mountpoints.
Dietmar Maurer
dietmar at proxmox.com
Mon Jun 12 16:01:00 CEST 2017
> + # add 'unusedX' volumes to volhash
> + foreach my $key (keys %$conf) {
> + my $value = $conf->{$key};
> + if ($key =~ m/^unused/) {
> + my $drive = PVE::QemuServer::parse_drive($key, $value);
AFAIR $value is already a volid, so what is the purpose of this parse_drive
call?
> + $test_volid->($drive->{file}, $drive);
> + }
> + }
> +
> return $volhash;
> }
>
> --
> 2.11.0
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list