From 8835db6b0f8990398cc877ca43ea81a2c1c09078 Mon Sep 17 00:00:00 2001 From: wllenyj Date: Fri, 29 Apr 2022 15:00:19 +0800 Subject: [PATCH] dragonball: initial commit The dragonball crate initial commit that includes dragonball README and basic code structure. Fixes: #4257 Signed-off-by: wllenyj Signed-off-by: Chao Wu --- src/dragonball/.gitignore | 3 +++ src/dragonball/Cargo.toml | 15 +++++++++++++++ src/dragonball/LICENSE | 1 + src/dragonball/README.md | 28 ++++++++++++++++++++++++++++ src/dragonball/src/lib.rs | 5 +++++ 5 files changed, 52 insertions(+) create mode 100644 src/dragonball/.gitignore create mode 100644 src/dragonball/Cargo.toml create mode 120000 src/dragonball/LICENSE create mode 100644 src/dragonball/README.md create mode 100644 src/dragonball/src/lib.rs diff --git a/src/dragonball/.gitignore b/src/dragonball/.gitignore new file mode 100644 index 000000000..64f40ab29 --- /dev/null +++ b/src/dragonball/.gitignore @@ -0,0 +1,3 @@ +target +Cargo.lock +.idea diff --git a/src/dragonball/Cargo.toml b/src/dragonball/Cargo.toml new file mode 100644 index 000000000..2ffc85334 --- /dev/null +++ b/src/dragonball/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "dragonball" +version = "0.1.0" +authors = ["The Kata Containers community "] +description = "A secure sandbox for Kata Containers" +keywords = ["kata-containers", "sandbox", "vmm", "dragonball"] +homepage = "https://katacontainers.io/" +repository = "https://github.com/kata-containers/kata-containers.git" +license = "Apache-2.0" +edition = "2018" + +[dependencies] +arc-swap = "1.5.0" +dbs-device = "0.1.0" +thiserror = "1" diff --git a/src/dragonball/LICENSE b/src/dragonball/LICENSE new file mode 120000 index 000000000..30cff7403 --- /dev/null +++ b/src/dragonball/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file diff --git a/src/dragonball/README.md b/src/dragonball/README.md new file mode 100644 index 000000000..dcc066424 --- /dev/null +++ b/src/dragonball/README.md @@ -0,0 +1,28 @@ +# Dragonball + +## Introduction +Dragonball Sandbox is a light-weight virtual machine manager(VMM) based on Linux Kernel-based Virtual Machine(KVM), +which is optimized for container workloads with: +- container image management and acceleration service +- flexible and high-performance virtual device drivers +- low cpu & memory overhead +- industry-leading startup time +- high concurrent startup throughput + +Dragonball Sandbox aims to provide a turnkey solution for the Kata Containers community. It is integrated into Kata 3.0 +runtime as a built-in VMM and gives users an out-of-the-box Kata Containers experience without complex environment setup +and configuration process. + +## Getting Start +[TODO] + +## Supported Architectures +- x86-64 +- AArch64 + +## Supported Kernel +[TODO] + +## License + +Dragonball is licensed under [Apache License](http://www.apache.org/licenses/LICENSE-2.0), Version 2.0. \ No newline at end of file diff --git a/src/dragonball/src/lib.rs b/src/dragonball/src/lib.rs new file mode 100644 index 000000000..df47da6aa --- /dev/null +++ b/src/dragonball/src/lib.rs @@ -0,0 +1,5 @@ +// Copyright (C) 2018-2022 Alibaba Cloud. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +//! Dragonball is a light-weight virtual machine manager(VMM) based on Linux Kernel-based Virtual +//! Machine(KVM) which is optimized for container workloads.