Here's a final patch https://imil.net/NetBSD/GENPVH.patch

It implements PVH boot from both qemu with the -kernel flag and
Firecracker with Colin Perceval's PVH patches 
https://github.com/firecracker-microvm/firecracker/tree/feature/pvh
The patch should apply on current as-is 
https://github.com/NetBSD/src/compare/trunk...NetBSDfr:NetBSD-src:GENPVH

I've already explained the rationale in this thread, this iteration is
mostly refinements from Gregory, especially regarding the assembly
part.
Like previously asked, it works on GENERIC wihout modfication of
kernel's configuration.

Can we have a review before I do a PR?

Thanks,

------------------------------------------------------------------------
Emile `iMil' Heitor <imil@{home.imil.net,NetBSD.org}> | https://imil.net

Reply via email to