Skip to content

Commit

Permalink
lxd/instance/drivers/driver/qemu: Log the VM UEFI firmware found in c…
Browse files Browse the repository at this point in the history
…heckFeatures

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Sep 3, 2024
1 parent 0af1629 commit 12ddefa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lxd/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -8643,6 +8643,7 @@ func (d *qemu) checkFeatures(hostArch int, qemuPath string) (map[string]any, err
var efiPath string
for _, firmwarePair := range edk2.GetArchitectureFirmwarePairsForUsage(hostArch, edk2.GENERIC) {
if shared.PathExists(firmwarePair.Code) {
logger.Info("Found VM UEFI firmware", logger.Ctx{"code": firmwarePair.Code, "vars": firmwarePair.Vars})
efiPath = firmwarePair.Code
break
}
Expand Down

0 comments on commit 12ddefa

Please sign in to comment.