Skip to content

Commit aaa0377

Browse files
committed
drivers: vhost: add Xen MMIO VirtIO backend
Implements VirtIO backend over Xen MMIO interface Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 658e64e commit aaa0377

File tree

4 files changed

+1369
-0
lines changed

4 files changed

+1369
-0
lines changed

drivers/vhost/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
zephyr_library()
55

66
zephyr_library_sources_ifdef(CONFIG_VHOST vringh.c)
7+
zephyr_library_sources_ifdef(CONFIG_VHOST_XEN_MMIO vhost_xen_mmio.c)

drivers/vhost/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ config VHOST
88

99
if VHOST
1010

11+
config VHOST_XEN_MMIO
12+
bool "support for MMIO-based VIRTIO backend on Xen hypervisor"
13+
default y
14+
depends on DT_HAS_XEN_VHOST_MMIO_ENABLED
15+
help
16+
Enable VIRTIO-MMIO backedn on Xen hypervisor
17+
1118
endif # VIRTIO
1219

1320
module = VHOST

0 commit comments

Comments
 (0)