Skip to content

feat: add support for PVH boot protocol#284

Closed
dsseng wants to merge 8 commits intocontainers:mainfrom
dsseng:external-kernel-pvh
Closed

feat: add support for PVH boot protocol#284
dsseng wants to merge 8 commits intocontainers:mainfrom
dsseng:external-kernel-pvh

Conversation

@dsseng
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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

@jakecorrenti
Copy link
Copy Markdown
Member

Hi @dsseng, is this still being worked on at all? If not, should I close it?

@dsseng
Copy link
Copy Markdown
Author

dsseng commented Aug 26, 2025

It's not being actively worked on at the moment, however it is working code and needs to have config and tests added. Perhaps this needs to be put on hold, may be closed I guess (will reopen once work on it resumes)

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.

3 participants