diff --git a/vmm/src/lib.rs b/vmm/src/lib.rs index 1fbf5c41c..0e6246816 100644 --- a/vmm/src/lib.rs +++ b/vmm/src/lib.rs @@ -215,7 +215,7 @@ impl EpollContext { Ok(EpollContext { epoll_file }) } - fn add_event(&mut self, fd: &T, token: EpollDispatch) -> result::Result<(), io::Error> + pub fn add_event(&mut self, fd: &T, token: EpollDispatch) -> result::Result<(), io::Error> where T: AsRawFd, {