Am 17.11.23 um 13:17 schrieb Hannes Duerr:
> +
> +     # for compatibility only, we prefer scsi-hd (#2408, #2355, #2380)
> +     if ($path =~ m/^iscsi\:\/\// &&
> +        !min_version($machine_version, 4, 1)) {

min_version is not defined in the Drive.pm module, you need to import it
from PVE::QemuServer::Helpers or you'll get:

Undefined subroutine &PVE::QemuServer::Drive::min_version called

when Perl actually tries to execute it.

> +         $devicetype = 'generic';
> +     }
> +    }
> +
> +    return $devicetype;
> +}
>  1;


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to