epoll: use epoll wrapper from vmm-sys-util

There's a wrapper for epoll from vmm-sys-util, so use the wrapper
instead of the epoll crate directly. It may help to ease dependency
management.

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
This commit is contained in:
Liu Jiang 2021-10-15 10:11:07 +08:00 committed by Jiang Liu
parent f22c4af539
commit 6d5fccefc7
6 changed files with 44 additions and 57 deletions

View file

@ -8,7 +8,6 @@ edition = "2018"
license = "Apache-2.0"
[dependencies]
epoll = ">=4.0.1"
libc = ">=0.2.39"
log = ">=0.4.6"
vhost = { version = "0.2", features = ["vhost-user-slave"] }