Skip to content

unikernels/rumprun: add support for multiple block devices - #888

Open
Rucha0901 wants to merge 1 commit into
urunc-dev:mainfrom
Rucha0901:rumprun-multi-block-support
Open

unikernels/rumprun: add support for multiple block devices#888
Rucha0901 wants to merge 1 commit into
urunc-dev:mainfrom
Rucha0901:rumprun-multi-block-support

Conversation

@Rucha0901

Copy link
Copy Markdown

Description

This PR adds support for multiple block devices in Rumprun unikernels running over Solo5 hypervisors (solo5-hvt and solo5-spt).

Key changes:

  1. Updated Rumprun struct to retain all block devices passed in UnikernelParams.Block.
  2. Updated MonitorBlockCli in pkg/unikontainers/unikernels/rumprun.go to iterate over all devices in UnikernelParams.Block.
  3. Auto-assigns ID rootfs to the 0-th block device (if non-explicit) and vol<index> to secondary block devices, while preserving any custom ID set in BlockDevParams.
  4. Added unit tests in pkg/unikontainers/unikernels/rumprun_test.go covering single block, multi-block, custom IDs, and empty block configurations.

Related issues

How was this tested?

  • Added new unit test suite TestRumprunMonitorBlockCli in pkg/unikontainers/unikernels/rumprun_test.go.
  • Verified Linux cross-compilation of unit test packages:
    GOOS=linux go test -c ./pkg/unikontainers/unikernels

LLM usage

  • Antigravity AI assistant

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

Signed-off-by: Rucha0901 <imt_2025071@iiitm.ac.in>
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit ee86da8
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a704b86feaf890008f87f52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support Multiple Block Devices in Rumprun / Solo5

2 participants