mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost_rs: control SlaveFsCacheReq with vhost-user-slave 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>
This commit is contained in:
@@ -43,6 +43,7 @@ mod slave_req_handler;
|
|||||||
pub use self::slave_req_handler::{SlaveReqHandler, VhostUserSlaveReqHandler};
|
pub use self::slave_req_handler::{SlaveReqHandler, VhostUserSlaveReqHandler};
|
||||||
#[cfg(feature = "vhost-user-slave")]
|
#[cfg(feature = "vhost-user-slave")]
|
||||||
mod slave_fs_cache;
|
mod slave_fs_cache;
|
||||||
|
#[cfg(feature = "vhost-user-slave")]
|
||||||
pub use self::slave_fs_cache::SlaveFsCacheReq;
|
pub use self::slave_fs_cache::SlaveFsCacheReq;
|
||||||
|
|
||||||
pub mod sock_ctrl_msg;
|
pub mod sock_ctrl_msg;
|
||||||
|
|||||||
Reference in New Issue
Block a user