ovmf: style nit for SEV error with OVMF pflash

s/flash/pflash/ and separate by an empty line for readability.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-04-03 20:47:52 +02:00
parent 135270e7e7
commit d4c0d1e768

View File

@ -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";