public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server] OVMF: use Microsoft-keyed vars for aarch64 VMs
@ 2026-07-21 13:21 Lukas Sichert
  2026-07-21 14:57 ` Fiona Ebner
  0 siblings, 1 reply; 4+ messages in thread
From: Lukas Sichert @ 2026-07-21 13:21 UTC (permalink / raw)
  To: pve-devel; +Cc: Lukas Sichert

Currently, starting VMs on aarch64 warns that not all Microsoft UEFI
2023 certificates are enrolled.

Select AAVMF_VARS.ms.fd when pre-enrolled keys are requested to provide
the Microsoft-enrolled variable store.

Signed-off-by: Lukas Sichert <l.sichert@proxmox.com>
---
 src/PVE/QemuServer/OVMF.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/PVE/QemuServer/OVMF.pm b/src/PVE/QemuServer/OVMF.pm
index 7a765fad..ffb2b850 100644
--- a/src/PVE/QemuServer/OVMF.pm
+++ b/src/PVE/QemuServer/OVMF.pm
@@ -52,6 +52,9 @@ my $OVMF = {
         default => [
             "$EDK2_FW_BASE/AAVMF_CODE.fd", "$EDK2_FW_BASE/AAVMF_VARS.fd",
         ],
+        'default-ms' => [
+            "$EDK2_FW_BASE/AAVMF_CODE.fd", "$EDK2_FW_BASE/AAVMF_VARS.ms.fd",
+        ],
     },
 };
 
@@ -83,6 +86,8 @@ my sub get_ovmf_files($$$$) {
         } else {
             # TODO: log_warn about use of legacy images for x86_64 with Promxox VE 9
         }
+    } elsif ($arch eq 'aarch64') {
+        $type = 'default-ms' if $efidisk->{'pre-enrolled-keys'};
     }
 
     my ($ovmf_code, $ovmf_vars) = $types->{$type}->@*;
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-21 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21 13:21 [PATCH qemu-server] OVMF: use Microsoft-keyed vars for aarch64 VMs Lukas Sichert
2026-07-21 14:57 ` Fiona Ebner
2026-07-21 15:03   ` Lukas Sichert
2026-07-21 15:06     ` Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal