diff options
author | Eryu Guan <eguan@linux.alibaba.com> | 2020-02-24 17:27:42 +0800 |
---|---|---|
committer | Andreea Florescu <andreea.florescu15@gmail.com> | 2020-09-04 17:59:53 +0300 |
commit | 9593c2a3e53a41d2e101e42bbb34f0199d3a618b (patch) | |
tree | 87cac5fa4e111144a7c58ce318988126c312e3be /src | |
parent | f178b08d273558b7f730de14a7f6364aafe821df (diff) | |
download | vmm_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.rs | 1 |
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; |