Skip to content

implement scoutd vsock bootsrap and fatal panic reporting#16

Merged
t0gun merged 2 commits intodevfrom
feat/vsock-foundation
Apr 16, 2026
Merged

implement scoutd vsock bootsrap and fatal panic reporting#16
t0gun merged 2 commits intodevfrom
feat/vsock-foundation

Conversation

@t0gun
Copy link
Copy Markdown
Member

@t0gun t0gun commented Apr 16, 2026

This PR adds the first real vsock transport foundation for scoutd. The guest now establishes separate control and log channels to the host during early boot, sends an initial hello on the control channel, and keeps control traffic separate from raw log output from the start.

It also moves vsock bootstrap earlier in the init path so the control channel exists before the rest of guest setup continues. That lets the panic path send a final fatal report and stack trace to the host over vsock before powering the microVM off, instead of relying on stderr as a fallback observability path.

Overall, this change establishes the long term host guest communication model for scoutd and gives the guest a deterministic failure reporting path before networking, MMDS, and workload launch are layered on top. closes #4

@t0gun t0gun self-assigned this Apr 16, 2026
@t0gun t0gun added the enhancement New feature or request label Apr 16, 2026
gemini-code-assist[bot]

This comment was marked as outdated.

@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@spacescale spacescale deleted a comment from gemini-code-assist Bot Apr 16, 2026
@t0gun t0gun linked an issue Apr 16, 2026 that may be closed by this pull request
@t0gun t0gun merged commit 4498786 into dev Apr 16, 2026
3 checks passed
@t0gun t0gun deleted the feat/vsock-foundation branch April 17, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement vsock transport foundation for scoutd

1 participant