dragonball: add InsertHostDevice vmm action

Introduce a new vmm action InsertHostDevice to passthrough
host pci devices like NIC or GPU devices into guest so that
users could have high performance usage of those devices.

fixes: #8741

Signed-off-by: Gerry Liu <gerry@linux.alibaba.com>
Signed-off-by: Zizheng Bian <zizheng.bian@linux.alibaba.com>
Signed-off-by: Zha Bin <zhabin@linux.alibaba.com>
Signed-off-by: Helin Guo <helinguo@linux.alibaba.com>
Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
This commit is contained in:
Chao Wu
2023-12-07 15:00:49 +08:00
parent 35f88dfc93
commit 0f402a14f9
13 changed files with 961 additions and 9 deletions

View File

@@ -829,6 +829,7 @@ dependencies = [
"serde_json",
"thiserror",
"threadpool",
"timerfd",
"vhost",
"virtio-bindings",
"virtio-queue",