* [pve-devel] [PATCH qemu-server] vm start: check efi vars: avoid undef Perl warning when no OS type is set
@ 2025-12-03 10:36 Fiona Ebner
2025-12-03 10:56 ` Thomas Lamprecht
0 siblings, 1 reply; 3+ messages in thread
From: Fiona Ebner @ 2025-12-03 10:36 UTC (permalink / raw)
To: pve-devel
Fixes: c5b3a314 ("fix #6985: ovmf: auto-enroll Microsoft UEFI CA 2023 for Windows")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
src/PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index a7fbec14..d634251b 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -5421,6 +5421,7 @@ my sub check_efi_vars {
return if PVE::QemuConfig->is_template($conf);
return if !$conf->{efidisk0};
+ return if !$conf->{ostype};
return if $conf->{ostype} ne 'win10' && $conf->{ostype} ne 'win11';
if (PVE::QemuServer::OVMF::should_enroll_ms_2023_cert($conf->{efidisk0})) {
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [pve-devel] [PATCH qemu-server] vm start: check efi vars: avoid undef Perl warning when no OS type is set
2025-12-03 10:36 [pve-devel] [PATCH qemu-server] vm start: check efi vars: avoid undef Perl warning when no OS type is set Fiona Ebner
@ 2025-12-03 10:56 ` Thomas Lamprecht
2025-12-04 9:42 ` [pve-devel] applied: " Fiona Ebner
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Lamprecht @ 2025-12-03 10:56 UTC (permalink / raw)
To: Proxmox VE development discussion, Fiona Ebner
Am 03.12.25 um 11:35 schrieb Fiona Ebner:
> Fixes: c5b3a314 ("fix #6985: ovmf: auto-enroll Microsoft UEFI CA 2023 for Windows")
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Consider above for similar future fixes of you, just apply them directly.
You could still send it to the list with an "applied:" prefix already added to
the subject in that submission, if you still want to keep the list/others informed.
> ---
> src/PVE/QemuServer.pm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
> index a7fbec14..d634251b 100644
> --- a/src/PVE/QemuServer.pm
> +++ b/src/PVE/QemuServer.pm
> @@ -5421,6 +5421,7 @@ my sub check_efi_vars {
>
> return if PVE::QemuConfig->is_template($conf);
> return if !$conf->{efidisk0};
> + return if !$conf->{ostype};
> return if $conf->{ostype} ne 'win10' && $conf->{ostype} ne 'win11';
>
> if (PVE::QemuServer::OVMF::should_enroll_ms_2023_cert($conf->{efidisk0})) {
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* [pve-devel] applied: [PATCH qemu-server] vm start: check efi vars: avoid undef Perl warning when no OS type is set
2025-12-03 10:56 ` Thomas Lamprecht
@ 2025-12-04 9:42 ` Fiona Ebner
0 siblings, 0 replies; 3+ messages in thread
From: Fiona Ebner @ 2025-12-04 9:42 UTC (permalink / raw)
To: Thomas Lamprecht, Proxmox VE development discussion
Am 03.12.25 um 11:56 AM schrieb Thomas Lamprecht:
> Am 03.12.25 um 11:35 schrieb Fiona Ebner:
>> Fixes: c5b3a314 ("fix #6985: ovmf: auto-enroll Microsoft UEFI CA 2023 for Windows")
>> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
>
> Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
>
> Consider above for similar future fixes of you, just apply them directly.
> You could still send it to the list with an "applied:" prefix already added to
> the subject in that submission, if you still want to keep the list/others informed.
Alright!
Applied as 967064c98f1c7266634f22580bb746deaf249156
"check efi vars: avoid undef Perl warning when no OS type is set"
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-04 9:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-03 10:36 [pve-devel] [PATCH qemu-server] vm start: check efi vars: avoid undef Perl warning when no OS type is set Fiona Ebner
2025-12-03 10:56 ` Thomas Lamprecht
2025-12-04 9:42 ` [pve-devel] applied: " Fiona Ebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox