hypercraft is a VMM library written in Rust.
MIT License
hypercraft is a VMM library written in Rust. If you are interested in Design & Implement about this project, please see this discussion. Currently, hypercraft relies heavily on the Arceos crate, reusing multiple crates and modules from arceos for development.
Clone project
# create workspace
mkdir $(WORKSPACE)
cd $(WORKSPACE)
# clone project
git clone https://github.com/KuangjuX/arceos.git
git checkout hypervisor
git submodule update --init --recursive
Download Disk File & Linux Binary
Download disk file from Baidu Cloud Disk to $(WORKSPACE)/guest/linux
:
链接: https://pan.baidu.com/s/1OGuOjMe0VEFvDhPg3nzSjA?pwd=5ewv 提取码: 5ewv 复制这段内容后打开百度网盘手机App,操作更方便哦 --来自百度网盘超级会员v2的分享
Build & Run
# build & run
cd arceos
make ARCH=riscv64 A=apps/hv HV=y LOG=info run
Note
The hypercraft
requires upgrading the qemu version to 7.1/7.2, and it has not been tested with version 8.x.
vcpu_create()
, vcpu_read()
, vcpu_write()
, vcpu_run()
)PerCpu
struct Design to support SMP.