Skip to content

Conversation

dsseng
Copy link

@dsseng dsseng commented Mar 21, 2025

WIP support for PVH boot, enabling e.g. smolBSD to boot.

Parts copied from:

dsseng added 8 commits March 21, 2025 13:40
Both krunfw + virtio-blk and external kernel (with support) + virtio-fs are valid scenarios, so reduce the amount of code
Confirm kernel is running when console doesn't work

To test: ./chroot_vm --kernel-cmdline='"console=com root=ld0a"' --loglevel=7 --kernel-format=1 --kernel /tmp/netbsd-SMOL --boot-disk /tmp/rescue-amd64-ro.img
@slp
Copy link
Collaborator

slp commented Mar 27, 2025

Do you want us to start reviewing this PR or do you prefer us to wait for the clean up?

@dsseng
Copy link
Author

dsseng commented Mar 27, 2025

I'm okay with you reviewing it currently. What's left: propagate Linux/PVH boot mode switch to all these places, fix and extend tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants