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

Fix incorrect firmware path suggestion for aarch64 in qemu.go #3225

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

kairveeehh
Copy link
Contributor

closes (#3154)
Previously, the error message in qemu.go incorrectly suggested copying "edk-/usr/bin/qemu-system-aarch64-code.fd" instead of the correct firmware file, "edk-aarch64-code.fd". This was due to qemuExe containing the full path to the QEMU binary instead of just the architecture name.

This commit ensures that only "aarch64" is used in the error message, resulting in the correct suggestion: "edk-aarch64-code.fd".

@kairveeehh
Copy link
Contributor Author

@AkihiroSuda @msgilligan , made the told changes , thanks for the review.

@AkihiroSuda
Copy link
Member

Thanks, but please sign the commit for DCO
https://github.com/apps/dco

(run git commit -a -s --amend, and make sure that the Signed-off-by: NAME <EMAIL> line with your real name is included in the commit message)

Previously, the error message in qemu.go incorrectly suggested copying
"edk-/usr/bin/qemu-system-aarch64-code.fd" instead of the correct firmware file,
"edk-aarch64-code.fd". This was due to qemuExe containing the full path to the
QEMU binary instead of just the architecture name.

This commit ensures that only "aarch64" is used in the error message, resulting
in the correct suggestion: "edk-aarch64-code.fd".

Signed-off-by: Kairvee Vaswani <[email protected]>
@kairveeehh
Copy link
Contributor Author

kairveeehh commented Feb 12, 2025

Thanks, but please sign the commit for DCO https://github.com/apps/dco

(run git commit -a -s --amend, and make sure that the Signed-off-by: NAME <EMAIL> line with your real name is included in the commit message)

done , it was new thing learnt , thanks @AkihiroSuda

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit b3c2590 into lima-vm:master Feb 12, 2025
30 checks passed
@AkihiroSuda AkihiroSuda added this to the v1.1 (tentative) milestone Feb 12, 2025
@AkihiroSuda AkihiroSuda linked an issue Feb 12, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad error message when firmware for "aarch64" not found.
2 participants