Simplify the auto-generated vhost binding

The auto-generated vhost binding is small, it would be better
to include it into the vhost crate instead of building another
dedicated crate for it.

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
This commit is contained in:
Liu Jiang 2019-04-12 00:10:26 +08:00 committed by Andreea Florescu
parent bcbbaaabb3
commit f697910ec2
4 changed files with 426 additions and 0 deletions

View file

@ -8,7 +8,10 @@ license = "Apache-2.0 or BSD-3-Clause"
[features]
default = []
vhost-vsock = []
vhost-kern = ["vm-memory"]
[dependencies]
libc = ">=0.2.39"
vmm-sys-util = ">=0.3.1"
vm-memory = { version = "0.2.0", optional = true }