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

[Proof of Concept] Running Firecracker on macOS with Apple Silicon #5017

Closed
drink7036290 opened this issue Jan 29, 2025 · 1 comment
Closed

Comments

@drink7036290
Copy link

Hi Firecracker Team,

As discussed in issues #2845 and #4426, I’m aware that running Firecracker on macOS is generally out of scope. However, I’d like to share a minimal proof of concept demonstrating Firecracker booting an aarch64 Linux guest on macOS with Apple Silicon using Apple’s Virtualization Framework.

The proof of concept is on my forked repository here:
https://github.com/drink7036290/firecracker/blob/macos_avf/docs/macos-avf-notes.md

This required disabling many KVM-specific features, so it’s definitely not production-ready. It was more of an experiment (originating from my exploration of Rust and the question, “Why rust-vmm supports KVM only and can’t run on macOS with Apple Silicon?”). In this demo, I can run openssl speed within the guest to confirm near-native performance, suggesting hardware acceleration is working via the Apple Virtualization Framework.

I’m opening this issue primarily to share my findings. Please feel free to close it if it falls outside the project’s goals. Feedback is also welcome if you have any thoughts or insights.

Thank you!

@xmarcalx
Copy link
Contributor

Hi @drink7036290 ,

Thank you very much for your interest in Firecracker and for your work in this issues.

As you already pointed out we do not have plans to support MacOS. However i created this discussion #5019 to showcase your work and make sure you have a space to collect feedback and help other community members interested into this capability.

I am closing the issue in favor of the discussion #5019.

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

No branches or pull requests

2 participants