Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incusd/instance/qemu: Add some ArchLinux EDK2 filenames #430

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions internal/server/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ type ovmfFirmware struct {
var ovmfGenericFirmwares = []ovmfFirmware{
{code: "OVMF_CODE.4MB.fd", vars: "OVMF_VARS.4MB.fd"},
{code: "OVMF_CODE_4M.fd", vars: "OVMF_VARS_4M.fd"},
{code: "OVMF_CODE.4m.fd", vars: "OVMF_VARS.4m.fd"},
{code: "OVMF_CODE.2MB.fd", vars: "OVMF_VARS.2MB.fd"},
{code: "OVMF_CODE.fd", vars: "OVMF_VARS.fd"},
{code: "OVMF_CODE.fd", vars: "qemu.nvram"},
Expand All @@ -138,8 +139,10 @@ 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.csm.4m.fd", vars: "OVMF_VARS.4m.fd"},
{code: "OVMF_CODE.2MB.CSM.fd", vars: "OVMF_VARS.2MB.CSM.fd"},
{code: "OVMF_CODE.CSM.fd", vars: "OVMF_VARS.CSM.fd"},
{code: "OVMF_CODE.csm.fd", vars: "OVMF_VARS.fd"},
}

// qemuSparseUSBPorts is the amount of sparse USB ports for VMs.
Expand Down