-
Notifications
You must be signed in to change notification settings - Fork 81
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
macOS x86-64 support #34
Comments
Looks like https://github.com/containers/libkrun/tree/main/src/arch/src/x86_64 needs to be modified not to use the kvm_bindings crate, which is linux specific. The aarch64 functionality in https://github.com/containers/libkrun/tree/main/src/arch/src/aarch64 appears to work without that, which is why that works for macos. This would be really nice to have on macOS x86_64... |
Supporting macOS's Hypervisor.framework on x86_64 is doable, but requires some work, given that we need to emulate more devices than with KVM (which provides in-kernel implementations of them). So far nobody has volunteer to work on that. |
I'm not seeing a rust implementation for using the macOS Hypervisor.framework, but I am seeing: Objective C implementation: https://github.com/evansm7/vftool |
@satmandu There is C API for hypervisor framework. I think you could use that and FFI into libkrun. |
This would be nice to have. What all needs to be done to make it work?
The text was updated successfully, but these errors were encountered: