All of lore.kernel.org
 help / color / mirror / Atom feed
* adding support for a hypervisor
@ 2020-08-25  0:58 Chuck Tuffli
  0 siblings, 0 replies; only message in thread
From: Chuck Tuffli @ 2020-08-25  0:58 UTC (permalink / raw)
  To: grub-devel

Hi

I work on FreeBSD's hypervisor, bhyve. We have been using a modified
version of grub 2.02 (a.k.a. grub2-bhyve [1]) to load Linux guests
into the virtual machine's memory. Recently, I've needed a more up to
date version of grub with support for things like XFS. Instead of
porting the existing changes to a later version of grub, I wanted to
find out how to approach this such that the changes might be accepted
upstream.

grub2-bhyve leverages grub-emu and adds compile-time #ifdef's to parse
new command line options and do back-end things like create a virtual
machine and map memory. Looking at the documentation, my guess is the
right way to do this is by adding a new platform for bhyve. I started
down this path by following the Porting section of the developer's
manual [2], but am running into issues and wanted to check if this was
the right approach. If so, is the emu platform a good example to
reference, or should I be modeling this after the qemu platform as
bhyve is conceptually similar to qemu?

--chuck

[1] https://github.com/grehan-freebsd/grub2-bhyve
[2] https://www.gnu.org/software/grub/manual/grub-dev/grub-dev.html#Porting


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-25  0:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25  0:58 adding support for a hypervisor Chuck Tuffli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.