Skip to content

Commit

Permalink
incusd/instance/qemu: Start using seabios as CSM firmware
Browse files Browse the repository at this point in the history
This adds support for directly using seabios as the CSM firmware rather
than using EDK2's chain boot feature. It also makes this behavior be the
preferred one for new CSM-enabled VMs.

The reason for this change is the removal of CSM support from recent EDK2.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Jan 16, 2024
1 parent 3cad640 commit 1fcae66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/server/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ var ovmfSecurebootFirmwares = []ovmfFirmware{
}

var ovmfCSMFirmwares = []ovmfFirmware{
{code: "seabios.bin", vars: "seabios.bin"},
{code: "OVMF_CODE.4MB.CSM.fd", vars: "OVMF_VARS.4MB.CSM.fd"},
{code: "OVMF_CODE.2MB.CSM.fd", vars: "OVMF_VARS.2MB.CSM.fd"},
{code: "OVMF_CODE.CSM.fd", vars: "OVMF_VARS.CSM.fd"},
Expand Down

0 comments on commit 1fcae66

Please sign in to comment.