Rust KVM

Open-source Rust projects categorized as KVM

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It was merged into the mainline Linux kernel in version 2.6.20, which was released on February 5, 2007.

Top 3 Rust KVM Projects

  • kata-containers

    Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/

    Project mention: Unfashionably secure: why we use isolated VMs | news.ycombinator.com | 2024-07-25

    > I actually wonder how much "overhead" a VM actually has. i.e. a linux kernel that doesn't do anything (say perhaps just boots to an init that mounts proc and every n seconds read in/prints out /proc/meminfo) how much memory would the kernel actually be using?

    There's already some memory sharing available using DAX in Kata Containers at least: https://github.com/kata-containers/kata-containers/blob/main...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • cloud-hypervisor

    A Virtual Machine Monitor for modern Cloud workloads. Features include CPU, memory and device hotplug, support for running Windows and Linux guests, device offload with vhost-user and a minimal compact footprint. Written in Rust with a strong focus on security.

    Project mention: Our container platform is in production. It has GPUs. Here's an early look | news.ycombinator.com | 2024-09-27

    If the calls first pass through a memory safe language as what gvisor does, isn’t the attack surface greatly reduced?

    It does seem however that Firecracker + GPU support (or https://github.com/cloud-hypervisor/cloud-hypervisor) is most promising though.

  • rkvm

    Virtual KVM switch for Linux machines

    Project mention: LAN Mouse is a mouse and keyboard sharing software | news.ycombinator.com | 2024-01-02

    You might take some inspiration (or some code) from https://github.com/htrefil/rkvm

    I've used it and it works pretty well, is written in rust, and it has one big advantage - by emulating the keyboard and mouse at the linux evdev layer it avoids touching any of the desktop-specific apis. (It also has encryption, though over TCP so has issues with managing connections. I think your choice of UDP was a good one)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust KVM discussion

Log in or Post with

Rust KVM related posts

Index

What are some of the best open-source KVM projects in Rust? This list will help you:

Project Stars
1 kata-containers 5,414
2 cloud-hypervisor 3,918
3 rkvm 414

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com