Skip to content

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

Description

@Rucha0901

Problem Description

Solo5 hypervisors (solo5-hvt, solo5-spt) expect block device IDs to match the names specified in the unikernel's manifest. Currently, urunc simplifies this by only supporting a single block device, hardcoded as rootfs. Users cannot attach secondary volume disks to Rumprun unikernel instances, which limits database or log storage use cases.

Proposed Solution

  1. Update Rumprun struct to track all block devices provided in UnikernelParams.Block.
  2. Update MonitorBlockCli in rumprun.go to iterate over all devices in UnikernelParams.Block rather than returning only the hardcoded rootfs entry.
  3. Support custom block device IDs when specified in BlockDevParams, falling back to rootfs for index 0 and vol<index> for secondary volumes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions