同步操作将从 openEuler/stratovirt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
StratoVirt is an opensource VMM(Virtual Machine Manager) which aims to perform next generation virtualization.
Based on Rust programming language, StratoVirt is lightweight, efficient and safe. StratoVirt reduces memory resource consumption and improves VM startup speed while retains isolation capability and security capability of traditional virtualization.
StratoVirt supports communicating with external systems using OCI compatible Interface, and can be applied to microservices or serverless scenarios.
StratoVirt reserves interface and design for importing more features, even standard virtualization.
Before building StratoVirt, make sure that Rust language and Cargo have already been installed. If not, you can find installation guidance from the following link:
https://www.rust-lang.org/tools/install
To build StratoVirt, clone the project and build it first:
$ git clone https://gitee.com/openeuler/stratovirt.git
$ cd stratovirt
$ cargo build --release
Now you can find StratoVirt binary in target/release/stratovirt
.
To run StratoVirt quickly, requires
# If the socket of api-channel exists, remove if first.
$ ./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
The detailed guidance of making rootfs, compiling kernel and building StratoVirt can be found in StratoVirt QuickStart.
StratoVirt supports much more features, the detailed guidance can be found in Configuration Guidebook.
To get more details about StratoVirt's core architecture design, refer to StratoVirt design.
We welcome new contributors! And we are happy to provide guidance and help for new contributors. StratoVirt follows Rust formatting conventions, which can be found at:
https://github.com/rust-dev-tools/fmt-rfcs/tree/master/guide https://github.com/rust-lang/rust-clippy
You can get more information about StratoVirt at:
https://gitee.com/openeuler/stratovirt/wikis
StratoVirt is licensed under the Mulan PSL v2.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。