Skip to content

Commit

Permalink
lxd/instance/drivers/driver/qemu: Improve error in checkFeatures
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Sep 3, 2024
1 parent 12ddefa commit 619dbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -8650,7 +8650,7 @@ func (d *qemu) checkFeatures(hostArch int, qemuPath string) (map[string]any, err
}

if efiPath == "" {
return nil, fmt.Errorf("Unable to locate a UEFI firmware")
return nil, fmt.Errorf("Unable to locate a VM UEFI firmware")
}

qemuArgs = append(qemuArgs, "-drive", fmt.Sprintf("if=pflash,format=raw,readonly=on,file=%s", efiPath))
Expand Down

0 comments on commit 619dbea

Please sign in to comment.