drivers/vhost: add vhost framework for NuttX

virtio is a framework to implement the virtio drivers
vhost (Virtual Host) is a framework to implement the virtio devices
With the virtio and vhost framework, we can use the virtio drivers
and vhost drivers to implement the cross-core communication.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang
2024-03-27 20:32:31 +08:00
committed by Xiang Xiao
parent 089b5e07c7
commit 7afbcc1a62
10 changed files with 603 additions and 0 deletions
+32
View File
@@ -2228,6 +2228,38 @@ config DEBUG_VIRTIO_INFO
endif # DEBUG_VIDEO
config DEBUG_VHOST
bool "Vhost Debug Features"
default n
depends on DRIVERS_VHOST
---help---
Enable vhost debug features.
if DEBUG_VHOST
config DEBUG_VHOST_ERROR
bool "Vhost Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable vhost error output to SYSLOG.
config DEBUG_VHOST_WARN
bool "Vhost Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable vhost warning output to SYSLOG.
config DEBUG_VHOST_INFO
bool "Vhost Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable vhost informational output to SYSLOG.
endif # DEBUG_VHOST
config DEBUG_RESET
bool "RESET Debug Features"
default n