Skip to content

CJacob314/rust-hypervisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Run

Prerequisites

  • A Rust toolchain (including cargo)
  • libclang (for bindgen to work properly)
  • The Linux kernel with the KVM module running
  • Standard C tooling (gcc, objcopy, GNU make)
  • An AMD64 CPU (or rewrite the assembly in guest.S)

Actually Running

You should just be able to run make, which will

  1. Assembly the assembly in guest.S into guest.o
  2. Rip just the binary .text section from guest.o into guest.bin (VM's instruction pointer will start at the first byte of guest.bin)
  3. Compile and run the Rust KVM hypervisor using cargo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published