Hi tech-kern@, TL;DR this adds support for booting NetBSD/amd64 with QEMU’s -kernel/-initrd combination. I did not exactly do a good job at pushing for reviews or setting a deadline for my patch adding support for ramdisks when booting NetBSD/amd64 in PVH mode, and it no longer applied on -current for a while now. (See https://mail-index.netbsd.org/tech-kern/2025/03/31/msg030298.html) Thankfully I managed to make it work again last week-end, and I am attaching the updated patch to this message. Important note when testing: it works with plain filesystem images, but not with modules yet. I suppose supporting any combination of filesystem, modules or splash screen images could be done. Please review; with no objections I intend to commit it around this time next week. Thanks! Would have been great to have this in -11, but my bad for waiting/taking too long. Sorry!
Attachment:
patch-amd64-add-support-for-initrd-with-VM_GUEST_GENPVH.patch
Description: Binary data
Cheers & HTH, -- khorben
Attachment:
signature.asc
Description: Message signed with OpenPGP