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
About Virtual Machines #21
Comments
qemu with kvm works well out of the box on M1 Pro/Max/Ultra. On the original M1 it needs an unreleased qemu version to work well out of the box. It work afaik with |
You mean it is work from MacOS not from Asahi Linux? |
no, it works in Asahi Linux. On the original M1 it will be easier to setup with the soon to be released qemu 7.0. |
Thanks for the clarification :) |
I have just found this issue while I was looking to see if I can use AsahiLinux as a more powerful platform for my virtualization development activities. According to this, I should be able to buy MacMini M1 (2020), install AsahiLinux on it, and run QEMU 7.0 with KVM on, right? Will I need to do anything special to enable KVM? On a side note, I would imagine MacMini M1 is way more powerful than Odroid N2+ (https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram-2/), no? |
@jannau: To install on a MacMini M1, |
@wintifrosch , I don't see |
@jannau I receive several non-resolvable dependencies for qemu-headless:
With the new QEMU Release 7, the package setup changed (ArchLinux News posted 2022-05-09 by David Runge).
I receive the same three errors after As it seems, QEMU was adapted for ALARM, since there's a folder on github archlinuxarm/PKGBUILDs/extra/QEMU, but I don't know how to use the files published there. My
|
My bad, I was in a hurry and didn't want to update. Reproduced with the restructured qemu 7.0 package. The qemu update in archlinuxarm/PKGBUILDs@dff79d9 missed to add the additional dependencies. |
I don't know how to fix this. I cloned the repo
Who might help me to build or install qemu-base: SBDY of the ASHAI team @marcan or kmihelich over at archlinuxarm.org? Open a new Issue here for qemu-base-aarch64? |
Hi there, Well I am still unable to run a vm with kvm... What i tried:
Am I doing something wrong? EDIT: ok... forget it, debian 11 runs just fine, it's my attempt to install windows 11 that does not work |
As that issue explains, the problem is that KVM cannot handle heterogeneous CPUs like the performance/efficiency cores in M1 machines (this used to sort of work but was never correct). You need to use |
I think that the problem is something else, efi related. |
For those looking at @marcan Can we assume that this order is reasonably stable and won't change, for example, after a kernel upgrade? |
yes, the order matches how CPU cores are layout in hardware |
This is the output I get on M1 from
I am fuzzy on the exact meaning, but the |
Anyone was able to install qemu? I have the same errors as @wintifrosch |
I was able to get qemu working by downloading each individual file from a mirror (note that even though this is an x86 mirror, the packages are "any"), then using |
@np22-jpg You mean every package or some specific ones? Isn't it unsecure to mass-install packages? |
@sheerun Just the 3 that aren't in the ARM repos. So |
I added to Ubuntu Asahi section of wiki https://github.com/AsahiLinux/docs/wiki/SW:Alternative-Distros links how did I build and install at Ubuntu 22.10 Asahi these: |
Is it possible to use QEMU (in this case manager - https://virt-manager.org/)? I mean create virtual machines from the Host - which is Arch Linux on Apple M1.
The text was updated successfully, but these errors were encountered: