all lists on 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

* Re: [PATCH qemu-server] OVMF: use Microsoft-keyed vars for aarch64 VMs
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Fiona Ebner @ 2026-07-21 14:57 UTC (permalink / raw)
  To: Lukas Sichert, pve-devel

The CODE image is not secure-boot enabled yet. I already sent a series
in May which also covers that:
https://lore.proxmox.com/pve-devel/20260520142044.502304-1-f.ebner@proxmox.com/

Am 21.07.26 um 3:21 PM schrieb 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}->@*;





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

* Re: [PATCH qemu-server] OVMF: use Microsoft-keyed vars for aarch64 VMs
  2026-07-21 14:57 ` Fiona Ebner
@ 2026-07-21 15:03   ` Lukas Sichert
  2026-07-21 15:06     ` Fiona Ebner
  0 siblings, 1 reply; 4+ messages in thread
From: Lukas Sichert @ 2026-07-21 15:03 UTC (permalink / raw)
  To: Fiona Ebner, pve-devel

On 2026-07-21 16:57, Fiona Ebner <f.ebner@proxmox.com> wrote:

> The CODE image is not secure-boot enabled yet. I already sent a series
> in May which also covers that:
> https://lore.proxmox.com/pve-devel/20260520142044.502304-1-f.ebner@proxmox.com/

I must have overlooked that. I will test your patch series instead.
Sorry for the noise.




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

* Re: [PATCH qemu-server] OVMF: use Microsoft-keyed vars for aarch64 VMs
  2026-07-21 15:03   ` Lukas Sichert
@ 2026-07-21 15:06     ` Fiona Ebner
  0 siblings, 0 replies; 4+ messages in thread
From: Fiona Ebner @ 2026-07-21 15:06 UTC (permalink / raw)
  To: Lukas Sichert, pve-devel

Am 21.07.26 um 5:03 PM schrieb Lukas Sichert:
> On 2026-07-21 16:57, Fiona Ebner <f.ebner@proxmox.com> wrote:
> 
>> The CODE image is not secure-boot enabled yet. I already sent a series
>> in May which also covers that:
>> https://lore.proxmox.com/pve-devel/20260520142044.502304-1-f.ebner@proxmox.com/
> 
> I must have overlooked that. I will test your patch series instead.
> Sorry for the noise.

Thanks! And no worries, there is a lot of traffic on here and it has
been a while ^^




^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal