vhost_user_fs: Add new crate

This new crate will be dedicated to vhost_user_fs specific code that can
be used as a library from the vhost-user-fs daemon.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2019-10-31 10:16:28 -07:00 committed by Samuel Ortiz
parent 8845326aa2
commit 03361a6c29
4 changed files with 16 additions and 0 deletions

5
Cargo.lock generated
View File

@ -182,6 +182,7 @@ dependencies = [
"tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"vhost_rs 0.1.0",
"vhost_user_backend 0.1.0",
"vhost_user_fs 0.1.0",
"virtio-bindings 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"vm-device 0.1.0",
"vm-memory 0.1.0 (git+https://github.com/rust-vmm/vm-memory)",
@ -1008,6 +1009,10 @@ dependencies = [
"vmm-sys-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "vhost_user_fs"
version = "0.1.0"
[[package]]
name = "virtio-bindings"
version = "0.1.0"

View File

@ -14,6 +14,7 @@ net_gen = { path = "net_gen" }
net_util = { path = "net_util" }
qcow = { path = "qcow" }
vhost_user_backend = { path = "vhost_user_backend"}
vhost_user_fs = { path = "vhost_user_fs"}
virtio-bindings = "0.1.0"
vmm = { path = "vmm" }
vm-device = { path = "vm-device" }

7
vhost_user_fs/Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "vhost_user_fs"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
edition = "2018"
[dependencies]

3
vhost_user_fs/src/lib.rs Normal file
View File

@ -0,0 +1,3 @@
// Copyright © 2019 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause