-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
feat: quickget should detect or allow specify the host architecture when fetching iso #916
Comments
There has been talk about architecture support for a while. I don't have capable ARM64 hardware, so someone else will have to do the work on quickemu. I've created a PR with ARM64 support in quickget for certain operating systems, but it'll have to wait until quickemu supports other architectures. #917 |
Since qemu can emulate various architectures selecting the image should not be based solely on the current machines architecture. While that may be an appropriate default user should be able to select any supported architecture to get then have quickemu generate correct emulation environment for it. |
This was specifically part of my draft PR, although the way the original quickget creates a subshell to access the ISO URL caused it to be nearly impossible for the function to directly relay that. Instead, I had to check for strings like 'aarch64' in the filename, which is obviously not as reliable. Still, it leaves an "arch" value in the config file, but only if it's not amd64 (which in my eyes should undoubtedly remain as a default for quickemu). |
Expected behaviour
I'm on Apple MacBook Pro with Apple Silicon M1 chip. When running 'quickget' to fetch the iso, it doesn't detect the host architecture and attempt the fetch one that works on the host, and appear to favor x86_64/amd64 iso.
Supporting command line argument allowing user to specify the preferred architecture would also be a good option.
Actual behaviour
Seems to favor x86_64/amd architecture.
Steps to reproduce the behaviour
Quickemu output
See above.
Linux Distribution & Kernel
❯ uname -a Darwin mbp-2021.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: