Am 19.02.24 um 15:47 schrieb Fiona Ebner: >> + >> + if (my $model = $builtin_models->{$cputype}) { >> + $cputype = $model->{'reported-model'}; >> + } elsif (is_custom_model($cputype)) { >> + my $custom_cpu = get_custom_model($cputype); >> + $cputype = $custom_cpu->{'reported-model'} // >> $cpu_fmt->{'reported-model'}->{default}; >> + } > > Missing the logic for the replacement type, i.e. > if (my $replacement_type = $depreacated_cpu_map->{$cputype}) { > $cputype = $replacement_type; > } >
Well, I suppose it doesn't matter, because we can expect the replacement type to have the same bitness. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel