runtime-rs: add dbs-upcall feature

add dbs-upcall feature to dragonball

Fixes:#5949

Depends-on: github.com/kata-containers/tests#5355

Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
This commit is contained in:
Zhongtao Hu 2022-12-23 14:03:45 +08:00
parent dc9c8d3357
commit 3605062258
2 changed files with 16 additions and 1 deletions

View File

@ -651,6 +651,20 @@ dependencies = [
"mio",
]
[[package]]
name = "dbs-upcall"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2fa8b67657cd71779eaceea1b5fa989b62a1be629a07be8498417772e5a8d35"
dependencies = [
"anyhow",
"dbs-utils",
"dbs-virtio-devices",
"log",
"thiserror",
"timerfd",
]
[[package]]
name = "dbs-utils"
version = "0.2.1"
@ -743,6 +757,7 @@ dependencies = [
"dbs-device",
"dbs-interrupt",
"dbs-legacy-devices",
"dbs-upcall",
"dbs-utils",
"dbs-virtio-devices",
"kvm-bindings",

View File

@ -30,6 +30,6 @@ kata-types = { path = "../../../libs/kata-types" }
logging = { path = "../../../libs/logging" }
shim-interface = { path = "../../../libs/shim-interface" }
dragonball = { path = "../../../dragonball", features = ["atomic-guest-memory", "virtio-vsock", "hotplug", "virtio-blk", "virtio-net", "virtio-fs"] }
dragonball = { path = "../../../dragonball", features = ["atomic-guest-memory", "virtio-vsock", "hotplug", "virtio-blk", "virtio-net", "virtio-fs","dbs-upcall"] }
[features]