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
- Update
Rumprun struct to track all block devices provided in UnikernelParams.Block.
- Update
MonitorBlockCli in rumprun.go to iterate over all devices in UnikernelParams.Block rather than returning only the hardcoded rootfs entry.
- Support custom block device IDs when specified in
BlockDevParams, falling back to rootfs for index 0 and vol<index> for secondary volumes.
Problem Description
Solo5 hypervisors (
solo5-hvt,solo5-spt) expect block device IDs to match the names specified in the unikernel's manifest. Currently,uruncsimplifies this by only supporting a single block device, hardcoded asrootfs. Users cannot attach secondary volume disks to Rumprun unikernel instances, which limits database or log storage use cases.Proposed Solution
Rumprunstruct to track all block devices provided inUnikernelParams.Block.MonitorBlockCliinrumprun.goto iterate over all devices inUnikernelParams.Blockrather than returning only the hardcodedrootfsentry.BlockDevParams, falling back torootfsfor index 0 andvol<index>for secondary volumes.