All Projects → rcore-os → RVM

rcore-os / RVM

Licence: MIT license
Rcore Virtual Machine

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to RVM

Hyperplatform
Intel VT-x based hypervisor aiming to provide a thin VM-exit filtering platform on Windows.
Stars: ✭ 925 (+1467.8%)
Mutual labels:  virtual-machine, hypervisor
Simplesvm
A minimalistic educational hypervisor for Windows on AMD processors.
Stars: ✭ 152 (+157.63%)
Mutual labels:  virtual-machine, hypervisor
Microverse
macOS virtualization app for M1/Apple Silicon
Stars: ✭ 71 (+20.34%)
Mutual labels:  virtual-machine, hypervisor
Kvm Vmi
KVM-based Virtual Machine Introspection
Stars: ✭ 153 (+159.32%)
Mutual labels:  virtual-machine, hypervisor
Vsock
Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.
Stars: ✭ 181 (+206.78%)
Mutual labels:  virtual-machine, hypervisor
uvmm
Virtual machine monitor for L4Re
Stars: ✭ 22 (-62.71%)
Mutual labels:  virtual-machine, hypervisor
Awesome Virtualization
Collection of resources about Virtualization
Stars: ✭ 846 (+1333.9%)
Mutual labels:  virtual-machine, hypervisor
Simplesvmhook
SimpleSvmHook is a research purpose hypervisor for Windows on AMD processors.
Stars: ✭ 159 (+169.49%)
Mutual labels:  virtual-machine, hypervisor
Hdk
(unofficial) Hyper-V® Development Kit
Stars: ✭ 166 (+181.36%)
Mutual labels:  virtual-machine, hypervisor
Invtero.net
inVtero.net: A high speed (Gbps) Forensics, Memory integrity & assurance. Includes offensive & defensive memory capabilities. Find/Extract processes, hypervisors (including nested) in memory dumps using microarchitechture independent Virtual Machiene Introspection techniques
Stars: ✭ 237 (+301.69%)
Mutual labels:  virtual-machine, hypervisor
wiser
🐎 Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.
Stars: ✭ 249 (+322.03%)
Mutual labels:  virtual-machine, hypervisor
codezero
Codezero Microkernel
Stars: ✭ 93 (+57.63%)
Mutual labels:  hypervisor
qubes-video-companion
Securely stream webcams and share screens across virtual machines *THIS PROJECT IS CURRENTLY STILL IN DEVELOPMENT (Mostly finishing switch to MJPEG for big performance boost; see FAQ)*
Stars: ✭ 38 (-35.59%)
Mutual labels:  virtual-machine
ugo
Script Language for Go
Stars: ✭ 75 (+27.12%)
Mutual labels:  virtual-machine
wasm-joey
Serverless Wasm - A lightweight Node.js application for deploying and executing WebAssembly(Wasm) binary-code via HTTP
Stars: ✭ 48 (-18.64%)
Mutual labels:  virtual-machine
Core
Free, easy to setup PBX for small business based on Asterisk 16 core
Stars: ✭ 190 (+222.03%)
Mutual labels:  virtual-machine
haneul
누리 프로그래밍 언어의 RPython 백엔드입니다.
Stars: ✭ 19 (-67.8%)
Mutual labels:  virtual-machine
Plotty
C language compiler from scratch for a custom architecture, with virtual machine and all
Stars: ✭ 33 (-44.07%)
Mutual labels:  virtual-machine
jMiniLang
用Kotlin实现的编译器和虚拟机,并在此基础上构建操作系统。
Stars: ✭ 62 (+5.08%)
Mutual labels:  virtual-machine
Arduino-FVM
Byte Token Threaded Forth Virtual Machine (FVM) for Arduino
Stars: ✭ 35 (-40.68%)
Mutual labels:  virtual-machine

RVM -- Rcore Virtual Machine

CI

An experimental hypervisor library written in Rust to build both type-1 and type-2 hypervisors.

Supported architecture: x86_64 (Intel VMX).

rustc info

  • current rustc -- rustc 1.56.0-nightly (08095fc1f 2021-07-26)
  • current rust-toolchain -- nightly

Basic usage

See the UEFI example for more details.

use rvm::*;

const ENTRY: u64 = 0x2000;

fn run_hypervisor() -> RvmResult {
    // create a guest physical memory set.
    let gpm = DefaultGuestPhysMemorySet::new();

    // create a guest.
    let guest = Guest::new(gpm)?;

    // create a vcpu.
    let mut vcpu = Vcpu::new(ENTRY, guest.clone())?;

    // map the guest physical memory region [0, 0x8000) to the host phyical
    // memory region [0xC0000, 0xC8000).
    let host_paddr = 0xC0000;
    guest.add_memory_region(0, 0x8000, Some(0xC0000))?;

    // I/O instructions with port 0x233-0x234 can cause VM exit and `vcpu.resume()`
    // to return.
    guest.set_trap(TrapKind::GuestTrapIo, 0x233, 2, None, 0xdeadbeef)?;

    // The bootstrap processor is in IA-32e mode and enabled paging, you need to
    // setup guest page table.
    setup_guest_page_table(host_paddr);

    // run the VCPU and block, until the specified traps occurs.
    let packet = vcpu.resume()?;

    // get the VCPU state.
    let state = vcpu.read_state()?;

    Ok(())
}

More examples

RVM is used as the hypervisor module of the following OSes:

It can also run in linux as a kernel module and replace the KVM hypervisor to support simple guest OSes such as uCore. See the ko example and rcore-vmm for more details.

Documents

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].