summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEryu Guan <eguan@linux.alibaba.com>2020-02-24 17:27:42 +0800
committerAndreea Florescu <andreea.florescu15@gmail.com>2020-09-04 17:59:53 +0300
commit9593c2a3e53a41d2e101e42bbb34f0199d3a618b (patch)
tree87cac5fa4e111144a7c58ce318988126c312e3be /src
parentf178b08d273558b7f730de14a7f6364aafe821df (diff)
downloadvmm_vhost-9593c2a3e53a41d2e101e42bbb34f0199d3a618b.tar.gz
vhost-user: control SlaveFsCacheReq with feature
We import slave_fs_cache mod under vhost-user-slave feature control, but not the self::slave_fs_cache::SlaveFsCacheReq import. Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
Diffstat (limited to 'src')
-rw-r--r--src/vhost_user/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhost_user/mod.rs b/src/vhost_user/mod.rs
index b1f724e..521c61e 100644
--- a/src/vhost_user/mod.rs
+++ b/src/vhost_user/mod.rs
@@ -43,6 +43,7 @@ mod slave_req_handler;
pub use self::slave_req_handler::{SlaveReqHandler, VhostUserSlaveReqHandler};
#[cfg(feature = "vhost-user-slave")]
mod slave_fs_cache;
+#[cfg(feature = "vhost-user-slave")]
pub use self::slave_fs_cache::SlaveFsCacheReq;
pub mod sock_ctrl_msg;