1 Star 0 Fork 233

rayylee / stratovirt

forked from openEuler / stratovirt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MulanPSL-2.0

StratoVirt:

StratoVirt是计算产业中面向云数据中心的企业级虚拟化平台,实现了一套架构统一支持虚拟机、容器、Serverless三种场景。StratoVirt在轻量低噪、软硬协同、Rust语言级安全等方面具备关键技术竞争优势。

StratoVirt预留了接口和设计来支持更多特性,未来甚至向标准虚拟化演进。

如何开始

环境准备

在编译StratoVirt前,请确保Rust语言环境和Cargo软件已经安装成功。如果没有安装,请参考以下链接的指导进行安装:

https://www.rust-lang.org/tools/install

编译软件

为了编译StratoVirt,需要先克隆代码工程,然后执行编译命令,如下:

$ git clone https://gitee.com/openeuler/stratovirt.git
$ cd stratovirt
$ cargo build --release

可以在target/release/stratovirt路径下找到生成的二进制文件

运行软件

为了快速上手StratoVirt,需要准备

  • PE格式的Linux内核镜像
  • EXT4格式的rootfs镜像
# 如果-api-channel的socket文件已经存在,请先删除它
$ ./target/release/stratovirt \
    -kernel /path/to/kernel \
    -append console=ttyS0 root=/dev/vda reboot=k panic=1 \
    -drive file=/path/to/rootfs,id=rootfs,readonly=off \
    -api-channel unix:/path/to/socket \
    -serial stdio

关于制作rootfs镜像、编译内核镜像以及编译StratoVirt的详细指导,请参考StratoVirt Quickstart

StratoVirt所支持更多特性,详细指导请参考Configuration Guidebook

设计

想获取更多的StratoVirt核心架构设计信息,请参考StratoVirt design

如何贡献

我们非常欢迎新贡献者的加入,并且非常乐意为新的贡献者提供指导和帮助。 StratoVirt遵循Rust语言编程规范,请参考以下链接:

https://github.com/rust-dev-tools/fmt-rfcs/tree/master/guide

https://github.com/rust-lang/rust-clippy

如果你想获取更多关于StratoVirt的信息,请参考以下链接:

https://gitee.com/openeuler/stratovirt/wikis

如果您发现了一个bug或者有一些想法想要交流,欢迎发邮件到virt邮件列表或者提交一个issue

许可

StratoVirt使用Mulan PSL v2开源协议许可

空文件

简介

StratoVirt is an opensource VMM(Virtual Machine Manager) which aims to perform next generation virtualization.StratoVirt is based on Rust programming language.StratoVirt is lightweight, efficient and safe.It also has features like Full Sence Support and Modules Flexible Splitting. 展开 收起
MulanPSL-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hbuxiaofei/stratovirt.git
git@gitee.com:hbuxiaofei/stratovirt.git
hbuxiaofei
stratovirt
stratovirt
master

搜索帮助

14c37bed 8189591 565d56ea 8189591