vm-virtio: Move fs.rs to vhost_user module

vhost-user-net introduced a new module vhost_user inside the vm-virtio
crate. Because virtio-fs is actually vhost-user-fs, it belongs to this
new module and needs to be moved there.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-08-30 09:16:32 -07:00
committed by Rob Bradford
parent cc7a96e9d3
commit 56cad00f2e
4 changed files with 10 additions and 10 deletions
+4
View File
@@ -12,10 +12,12 @@ use std::io;
use vhost_rs::Error as VhostError;
use vm_memory::Error as MmapError;
pub mod fs;
mod handler;
pub mod net;
pub mod vu_common_ctrl;
pub use self::fs::*;
pub use self::net::Net;
pub use self::vu_common_ctrl::VhostUserConfig;
@@ -81,6 +83,8 @@ pub enum Error {
VhostIrqRead(io::Error),
/// Failed to read vhost eventfd.
VhostUserMemoryRegion(MmapError),
/// Failed to handle vhost-user slave request.
VhostUserSlaveRequest(vhost_rs::vhost_user::Error),
/// Invalid used address.
UsedAddress,
}