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:
parent
bcbbaaabb3
commit
f697910ec2
4 changed files with 426 additions and 0 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue