Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: non-Xen PVH boot



On Wed, Oct 25, 2023 at 06:45:23AM +0200, Emile `iMil' Heitor wrote:
> 
> I was reading Colin Percival's post about how he managed to make FreeBSD boot
> using PVH mode[1] and have been trying poking around to see if we could do the
> same.
> Adding the first change from the list[2] indeed makes the "Error loading
> uncompressed kernel without PVH ELF Note" disappear, but the NetBSD kernel
> still doesn't boot using qemu-system-x86_64 -kernel netbsd.
> I fail to see if FreeBSD's second change[3] would be necessary, and if yes, how
> to implement it.

I think 3 is already there, see x86_add_xen_clusters()

But overall I think more changes than this are needed; the PVH code is
really Xen-dependant. For example it expects a Xen-stype console not an
UART.

I think you may want to define a new VM_GUEST_* type for this

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index