Skip to content

feat(vm): boot sandboxes from ext4 root disks#1263

Draft
drew wants to merge 1 commit intomainfrom
fix/vm-sandbox-workdir-image
Draft

feat(vm): boot sandboxes from ext4 root disks#1263
drew wants to merge 1 commit intomainfrom
fix/vm-sandbox-workdir-image

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented May 8, 2026

Summary

Boot VM sandboxes from per-sandbox ext4 root disk images instead of exposing a prepared host rootfs directory to the guest.

Related Issue

N/A

Changes

  • Cache prepared VM root filesystems as rootfs.ext4 images keyed by source image identity and rootfs layout version.
  • Copy the cached root disk per sandbox and launch libkrun/QEMU with that disk as the guest root filesystem.
  • Move guest environment and TLS injection into the ext4 image, keep guest /sandbox ownership inside guest filesystem metadata, and update VM docs/e2e notes.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)
  • mise run e2e:vm passes

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@drew drew requested review from a team, derekwaynecarr, maxamillion and mrunalp as code owners May 8, 2026 07:21
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

@drew drew marked this pull request as draft May 8, 2026 07:29
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 8, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

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.

1 participant