From d9d5cb75b6cd7058455ce7d08f93e5303e4787c5 Mon Sep 17 00:00:00 2001 From: yuqitao Date: Mon, 11 Sep 2023 14:36:43 +0800 Subject: [PATCH] add kuasar copyright Signed-off-by: yuqitao --- vmm/sandbox/src/cgroup.rs | 16 ++++++++++++++++ vmm/sandbox/src/stratovirt/qmp.rs | 16 ++++++++++++++++ wasm/src/utils.rs | 16 ++++++++++++++++ wasm/src/wasmtime.rs | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) diff --git a/vmm/sandbox/src/cgroup.rs b/vmm/sandbox/src/cgroup.rs index db9500d8..22850bb8 100644 --- a/vmm/sandbox/src/cgroup.rs +++ b/vmm/sandbox/src/cgroup.rs @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Kuasar Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + use anyhow::{anyhow, Ok, Result}; use cgroups_rs::{ cgroup_builder::*, cpu::CpuController, cpuset::CpuSetController, hugetlb::HugeTlbController, diff --git a/vmm/sandbox/src/stratovirt/qmp.rs b/vmm/sandbox/src/stratovirt/qmp.rs index 185357c9..135cf4e5 100644 --- a/vmm/sandbox/src/stratovirt/qmp.rs +++ b/vmm/sandbox/src/stratovirt/qmp.rs @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Kuasar Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #![allow(warnings)] use qapi::qmp::QmpCommand; diff --git a/wasm/src/utils.rs b/wasm/src/utils.rs index 5686f787..0b2a6ef4 100644 --- a/wasm/src/utils.rs +++ b/wasm/src/utils.rs @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Kuasar Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + use oci_spec::runtime::Spec; #[cfg(feature = "wasmedge")] diff --git a/wasm/src/wasmtime.rs b/wasm/src/wasmtime.rs index 3713da34..e862e18f 100644 --- a/wasm/src/wasmtime.rs +++ b/wasm/src/wasmtime.rs @@ -1,3 +1,19 @@ +/* +Copyright 2023 The Kuasar Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + use std::{path::Path, sync::Arc}; use containerd_shim::{