-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature Request] Mac support on M2 and M3 #4426
Comments
Hi @gedw99 , Thank you very much for your request. It is always interesting see the penetration of Firecracker use, outside of its original intentions. Unfortunately as you may be already aware, Firecracker heavily rely on KVM to perform its virtualization and emulation duties. KVM is not supported on MacOS and it is instead replaced by Hypervisor Framework which is quite different. I do not know if it helps, but in the past, there were some attempts close to Firecracker to support a VMM based on Hypervisor framework. As you know, Firecracker use KVM bindings imported from our rust-vmm crate. One of our ex intern built runst-vmm bindings for Hypervisor Framework and a VMM which can run on x86 MacOS machine here https://github.com/fabianpatras/vmm. It can be a good inspiration for the future. Kind Regards, |
Hey Marco yesterday I found a hyper visor lib for Mac. Is used by redhat for Podman . Also by Lima. So I could work on integrating by I don’t know if the Apple Hypervisor API allows nested virtualisation which Firecracker requires. |
https://discussions.apple.com/thread/255314811?sortBy=best Looks like no nested virt, but perhaps in M3, but who knows with apple |
Hi, As per previous message, and considering nothing really changed in our usecase meanwhile, we are closing this issue as we do not plan to support MAC hypervisor framework for the foreseeable future. |
Mac’s now support nested virtualisation. so firecracker can run on Apple m2 snd m3 |
Feature Request
Mac support.
The Apple M1 CPU does not support hardware assisted nested virtualisation at all.
The Apple M2 and M3 CPUs support the v8.4-A level of hardware assisted nested virtualisation.
Describe the desired solution
Please see utmapp/UTM#6053
Basically I need to run firecracker on Macs as well as use it with UTM. I know firecracker is a Server only use case in general, but it would really make development of Firecracker on a Mac so much easier.
I have use cases where I want a Mac to act as an edge server also for production.
Describe possible alternatives
none.
Additional context
Checks
The text was updated successfully, but these errors were encountered: