Hey,

> For boot I can only rely on a bunch of provided Linux kernels or the 
> pvgrub stuff to boot from the disks.

There is no possibility to run HVM / PVHVM guests over there?

PVGRUB will only boot PV guests, not even PVH.  To run a PVH guest, the only 
method available today is Direct Kernel Boot *1.  And I don't think OpenBSD 
supports PVH just yet anyhow.  Besides, I've read somewhere you might need some 
exotic cpu flags to run a PVH domain, such as `ept`, not just `vmx`.

> Would there be a chance to hack on the Linux-bootcode to boot the 
> BSD-kernel? Makes it sense to look into how this boot works or doesn't 
> it make sense at all?!

GRUB2 should be able to boot an OpenBSD kernel natively *2.  Thing is, PVGRUB 
works for PV, not PVH nor PVHVM.  However you might get NetBSD XEN/PV up and 
running at your XEN ISP *3, by leveraging PVGRUB indeed *3.  And in case UFS is 
not built-into their PVGRUB binary (that would be weird, as one usually builds 
pvgrub with all possible modules within), you would still be able to boot it on 
EXT2 with poor disk performance *4.

*1 http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#Direct-Kernel-Boot
*2 
https://www.gnu.org/software/grub/manual/grub/html_node/Supported-kernels.html
*3 https://pub.nethence.com/booting/grub
*4 https://pub.nethence.com/bsd/malabar

-- 
Pierre-Philipp

Reply via email to