machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 353 forks source link

Support for multiboot protocol among firmwares #54

Open proger opened 9 years ago

proger commented 9 years ago

Multiboot is used to boot Xen and other GNU stuff. FreeBSD and NetBSD kernels seem to be multiboot-compliant as well.

Do you have any plans to add multiboot support to xhyve or is there any other simple(r) hack that can be used to boot Xen? Looks like there is EFI support but I'm not sure what your plans towards EFI are.

xez commented 9 years ago

Multiboot should be pretty straightforward to implement, just a matter of priorities and spare time.

Do you have any particular use cases for xen in xhyve in mind? The only thing that would work is full PV, not HVM (since bhyve does not yet support nested hardware virtualization).

A more general solution would be EFI in the guest to boot arbitrary operating systems. There is some work in the bhyve community to make that happen. Once this is done this will likely just work (tm) in xhyve.

proger commented 9 years ago

Yep, I'd like to use PV as it's necessary (and sufficient) for Erlang on Xen. (Probably Mirage as well but I haven't verified)

max-mapper commented 8 years ago

+1, found this issue trying to boot http://runtimejs.org/ on xhyve. currently doesn't work due to lack of multiboot

stv0g commented 8 years ago

I started implementing the Multiboot specification v1 here: https://github.com/stv0g/xhyve/tree/multiboot

I would like to use it, to boot eduOS.

Grub2 itself is also a valid Multiboot image. So we can chainload Grub2 with it.

rickpayne commented 8 years ago

Chalk me up as another one interested in Xen, again for Erlang on Xen...

stv0g commented 8 years ago

Multiboot support is almost ready :-) Expect it in a week or two. I will notify you. Testers are welcome.

rickpayne commented 8 years ago

Any progress on this stv0g?