vm-virtio: Add vhost-user-fs support

The vhost-user-fs or virtio-fs device allows files and directories to
be shared between host and guest. This patch adds the implementation
of this device to the cloud-hypervisor device model.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-05-21 11:54:53 -07:00
committed by Samuel Ortiz
parent 8f70771b1d
commit 1ddc8f2f0d
4 changed files with 460 additions and 1 deletions

View File

@@ -18,6 +18,10 @@ virtio-bindings = { path = "../virtio-bindings" }
vm-allocator = { path = "../vm-allocator" }
vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
[dependencies.vhost_rs]
path = "../vhost_rs"
features = ["vhost-user-master"]
[dependencies.vm-memory]
git = "https://github.com/rust-vmm/vm-memory"
features = ["backend-mmap"]