How to bypass UTM and run QEMU under the hood on Mac M1? #3128
Unanswered
jamesmortensen
asked this question in
UTM Help (macOS)
Replies: 2 comments 2 replies
-
UTM builds QEMU into a dynamic library. You can find these inside the Frameworks/ folder of the bundle. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you download the sysroot from GitHub you can run the ./bin/qemu* binaries. But if it complains about dylibs not found you may need to symlink them to /Users/runner/UTM |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UTM on the Mac M1 has been a lifesaver for virtualization. I wanted to learn more about QEMU and have attempted to get it running on my Mac M1; however, I've not been successful, even following various instructions regarding applying QEMU patches to add the necessary hypervisor support.
Since UTM is using QEMU, I assumed I'd find a qemu-system-aarch64 binary buried somewhere in the application package, but I have not found it. I see Docker has one, and I assume QEMU is how Docker is able to run on the Mac OS.
Can someone shed light on how UTM uses QEMU? I'd like to be able to start my VMs from the terminal to learn more about QEMU and am assuming that there is a binary packaged with UTM that already has all of the necessary patches applied for the Mac M1.
Here is what I find on my system:
ACVM comes with QEMU, and the one in the libvirt-qemu folder is from my failed attempt to patch QEMU, and the one installed in brew I don't think is being used by UTM at all, especially since I see v6.1 in the UTM interface, and the homebrew qemu-system-aarch64 binary is in v6.0.0 folder.
Beta Was this translation helpful? Give feedback.
All reactions