diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index a8a68cb4..17a7bd25 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3356,8 +3356,9 @@ my sub print_ovmf_drive_commandlines { my $d = $conf->{efidisk0} ? parse_drive('efidisk0', $conf->{efidisk0}) : undef; my $amd_sev_type = get_amd_sev_type($conf); - die "Attempting to configure SEV-SNP with flash devices instead of using `-bios`\n" + die "Attempting to configure SEV-SNP with pflash devices instead of using `-bios`\n" if $amd_sev_type && $amd_sev_type eq 'snp'; + my ($ovmf_code, $ovmf_vars) = get_ovmf_files($arch, $d, $q35, $amd_sev_type); my $var_drive_str = "if=pflash,unit=1,id=drive-efidisk0";