Skip to content

syswonder/sysHyper-t1

Repository files navigation

sysHyper-t1

A minimal Type-I hypervisor based on AArch64 & implemented in rust, capable of booting Linux / ArceOS on qemu.

Ported from RVM-Tutorial.

Features

  • Lightweight enough, only 3K+ LoC
  • Supported guest OS: ArceOS, Linux
  • Guest/host memory isolation with nested paging
  • Device emulation and passthrough
  • multi-vCPU and multi-guest support (without schedule)

Install Build Dependencies

Install cargo-binutils to use rust-objcopy and rust-objdump tools:

$ cargo install cargo-binutils

cross compilation tool chain (>= 12.2.Rel1) and QEMU (>= 7.0.0) are also needed.

Run Arceos

cd hypervisor
make run LOG=info SMP=4 GUEST=arceos NET=y FS=y

Run Linux

git apply run_linux.patch
cd hypervisor
make run LOG=info SMP=2 GUEST=linux NET=y FS=y

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published