From 9af30427e83e1ae0b9dfc9b54db50e24542b9e7f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 4 Dec 2025 11:25:33 -0800 Subject: [PATCH] Use 2M not 4M UEFI firmware images to workaround #2417734 https://bugzilla.redhat.com/show_bug.cgi?id=2417734 is about a bug we've seen with edk2 20250812 and later where VMs quite often seem to hang on boot, or at least boot extremely slowly so the test times out waiting for them to reach a login screen. We found out in testing that using the smaller-sized edk2 images seems to avoid the problem, so let's do that until it can be fixed properly. Signed-off-by: Adam Williamson --- templates.fif.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates.fif.json b/templates.fif.json index 8855358c..42a68ee8 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -65,8 +65,8 @@ "settings": { "ARCH_BASE_MACHINE": "64bit", "CONSOLE_EXTRA_ARGS": "", - "INSECURE_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE_4M.qcow2", - "INSECURE_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS_4M.qcow2", + "INSECURE_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE.fd", + "INSECURE_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS.fd", "MINCPU": "Nehalem", "PART_TABLE_TYPE": "gpt", "QEMUCPU": "host", @@ -80,8 +80,8 @@ "QEMU_MAX_MIGRATION_TIME": "720", "QEMU_VIRTIO_RNG": "1", "UEFI": "1", - "UEFI_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE_4M.secboot.qcow2", - "UEFI_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS_4M.secboot.qcow2", + "UEFI_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd", + "UEFI_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd", "UEFI_SECURE": "1", "WORKER_CLASS": "qemu_x86_64" }