summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-06-12 11:16:12 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-06-12 11:16:12 +0000
commit7d7ccd1e3fd41c4173aa2c95c84c4ea68fcf58b2 (patch)
tree42f59f5588cdee3453352f7a03e1d31e0478a795
parent4b9ade1328451d6e77a8bf17bd43124903d38816 (diff)
downloadvyos-build-7d7ccd1e3fd41c4173aa2c95c84c4ea68fcf58b2.tar.gz
vyos-build-7d7ccd1e3fd41c4173aa2c95c84c4ea68fcf58b2.zip
T5281: Add kernel options for vhost-net
The kernel 'vhost-net' options required for creating TAP devices vpp# create tap create tap: open '/dev/vhost-net': No such file or directory vpp# vpp# create tap id 1 host-if-name tap1 create tap: open '/dev/vhost-net': No such file or directory vpp#
-rw-r--r--packages/linux-kernel/arch/x86/configs/vyos_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/linux-kernel/arch/x86/configs/vyos_defconfig b/packages/linux-kernel/arch/x86/configs/vyos_defconfig
index 042b5bdb..6f69adeb 100644
--- a/packages/linux-kernel/arch/x86/configs/vyos_defconfig
+++ b/packages/linux-kernel/arch/x86/configs/vyos_defconfig
@@ -4880,6 +4880,11 @@ CONFIG_VIRTIO_MMIO=m
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
# CONFIG_VDPA is not set
# CONFIG_VHOST_MENU is not set
+CONFIG_VHOST_RING=m
+CONFIG_VHOST_NET=m
+CONFIG_VHOST_SCSI=m
+CONFIG_VHOST_VSOCK=m
+CONFIG_VHOST=m
#
# Microsoft Hyper-V guest support