Skip to content

Commit 331d2bc

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Support OVMF with 4M flash storage"
2 parents 4fb02a9 + 46e23a1 commit 331d2bc

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

playbooks/roles/bifrost-create-vm-nodes/defaults/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,30 @@ copy_from_local_path: false
7070
# NOTE(dtantsur): secure boot capable firmware goes second because some systems
7171
# (e.g. Ubuntu) provide it but refuse to boot. However, CentOS provides only
7272
# secure boot capable firmware, and it works for both secure und normal boot.
73+
# Detailed information on Debian/Ubuntu files:
74+
# https://salsa.debian.org/qemu-team/edk2/-/blob/debian/debian/ovmf.README.Debian?ref_type=heads
7375
efi_loader_locations_normal:
7476
- /usr/share/edk2/ovmf/OVMF_CODE.fd
7577
- /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
78+
- /usr/share/OVMF/OVMF_CODE_4M.fd
7679
- /usr/share/OVMF/OVMF_CODE.fd
80+
- /usr/share/OVMF/OVMF_CODE_4M.secboot.fd
7781
- /usr/share/OVMF/OVMF_CODE.secboot.fd
7882
- /usr/share/qemu/ovmf-x86_64-code.bin
7983
efi_loader_locations_secboot:
8084
- /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
85+
- /usr/share/OVMF/OVMF_CODE_4M.secboot.fd
8186
- /usr/share/OVMF/OVMF_CODE.secboot.fd
8287
efi_loader_locations: >-
8388
{{ efi_loader_locations_secboot if test_vm_secure_boot | bool else efi_loader_locations_normal }}
8489
efi_nvram_locations_normal:
8590
- /usr/share/edk2/ovmf/OVMF_VARS.fd
91+
- /usr/share/OVMF/OVMF_VARS_4M.fd
8692
- /usr/share/OVMF/OVMF_VARS.fd
8793
- /usr/share/qemu/ovmf-x86_64-vars.bin
8894
efi_nvram_locations_secboot:
8995
- /usr/share/edk2/ovmf/OVMF_VARS.secboot.fd
96+
- /usr/share/OVMF/OVMF_VARS_4M.ms.fd
9097
- /usr/share/OVMF/OVMF_VARS.secboot.fd
9198
efi_nvram_locations: >-
9299
{{ efi_nvram_locations_secboot if test_vm_secure_boot | bool else efi_nvram_locations_normal }}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
When creating a virtual testing environment on newer distributions such as
5+
Ubuntu 24.04, UEFI firmware with 4M flash storage will be used. Existing
6+
virtual machines may need to be migrated if they were created on an older
7+
distribution.

0 commit comments

Comments
 (0)