Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for PVH boot protocol #284

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

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
Contributor

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