IncludeOS icon indicating copy to clipboard operation
IncludeOS copied to clipboard

Adding native support on MacOS using Hypervisor Framework.

Open ArKam opened this issue 7 years ago • 5 comments

As Apple now provides a native C APIs to manage VMs in userspace as referenced here, wouldn’t it be nice to have it supported as a native hypervisor instead of having to install VBox?

ArKam avatar Jul 27 '16 14:07 ArKam

It’s also worth being aware of projects that make use of Hypervisor.framework. i.e. https://github.com/docker/hyperkit

On 27 Jul 2016, at 15:28, arkam [email protected] wrote:

As Apple now provides a native C APIs to manage VMs in userspace as referenced here, wouldn’t it be nice to have it supported as a native hypervisor instead of having to install VBox?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

amirmc avatar Jul 27 '16 14:07 amirmc

Yes, we're happy to have contributions to HyperKit that improve its ability to interface with support libraries such as IncludeOS. There is already some scaffolding in there to link to MirageOS to provide the QCow block layer. Feel free to raise issues at https://github.com/docker/hyperkit/issues with any specific questions that arise during IncludeOS integration...

avsm avatar Jul 27 '16 14:07 avsm

Will take a look at implementation after vacation, and maybe as late as after CppCon. :sunny:

fwsGonzo avatar Jul 27 '16 15:07 fwsGonzo

@avsm As hyperKit is specifically develop for Docker, I don’t think IncludeOS should use it or base any development on it as it’ll add another layer on top of something really OS Specific.

In my humble opinion, IncludeOS should keep it on its own and properly integrate Hypervisor framework and not an abstract of it especially when hyperkit is only available on MacOS for now and so do not add a multi-plateform layer that could be a valid argument at integrating it instead of having your own implementation.

@fwsGonzo Wonderful!!! That is just an enhancement issue, not a bug or a critical, but I think it could help developers interested on the “Unikernel” topic to adopt IncludeOS as their preferred framework.

ArKam avatar Jul 27 '16 15:07 ArKam

@ArKam thanks for posting - and @amirmc thanks for the link - I was looking for it earlier :-) I'm currently working on multiboot support for IncludeOS which should make it much easier to boot on various platforms. Looks like hyperkit/xhyve has virtio block and virtio net so that's a big plus.

alfreb avatar Jul 27 '16 18:07 alfreb