From d4c0d1e7689efc6bd288bf023bc4c75b8eb5a057 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 3 Apr 2025 20:47:52 +0200 Subject: [PATCH] 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 --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";