Skip to content

Support Running on Hyperlight #2636

@craciunoiuc

Description

@craciunoiuc

Feature request summary

KraftKit, the companion tool used by Unikraft can be used also to run unikernels locally using various hypervisors. Currently, KraftKit supports both QEMU and Firecracker as KVM VMMs. It also supports Xen through the use of xl toolstack.

To increase support for other tools, this project aims to add support for Hyperlight, a new VMM using the Linux kvm module for lightweight virtualization.
Similar to both the QEMU and Firecracker packages, a new one needs to be created for Hyperlight, such that the command kraft run would be able to run unikernels using Hyperlight as the underlying VMM.

Development will be incremental, starting with basic "Hello World" functionality, and later adding support for networking, storage and other features.

It is not guaranteed that the current Unikraft kernel has support for running under hyperlight. Even so, work on kraftkit can happen in parallel to that track as kraftkit should correctly interface with hyperlight first.
Afterwards, preliminary work should be done to have at least the hello-world C kernel running under it.

Describe alternatives

Only alternative right now is to build it and run it by hand.

Related architectures

x86_64

Related platforms

hyperlight

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🚀 Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions