[pve-devel] [PATCH v7 qemu-server 2/4] Prevent starting a 32-bit VM using a 64-bit OVMF BIOS
Fiona Ebner
f.ebner at proxmox.com
Mon Feb 19 15:58:02 CET 2024
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.
More information about the pve-devel
mailing list