1 Star 0 Fork 112

smcopen / stratovirt

forked from openEuler / stratovirt 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

StratoVirt

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.

How to start

Preparation

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

Build StratoVirt

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.

Run a VM with StratoVirt

To run StratoVirt quickly, requires

  • A PE format Linux kernel
  • An EXT4-format rootfs image
# 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.

Design

To get more details about StratoVirt's core architecture design, refer to StratoVirt design.

How to contribute

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

Licensing

StratoVirt is licensed under the Mulan PSL v2.

Repository Comments ( 0 )

Sign in to post a comment

About

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. expand collapse
MulanPSL-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://git.oschina.net/smcopen/stratovirt.git
git@git.oschina.net:smcopen/stratovirt.git
smcopen
stratovirt
stratovirt
master

Search

182229 41614e54 1850385 182230 7885ed45 1850385