Skip to content

Commit

Permalink
Enable VSOCKETS in nw linux kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Szaknis <m.szaknis@samsung.com>
  • Loading branch information
L0czek authored and Havner committed Sep 23, 2024
1 parent cd9d6f0 commit 7533353
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fvp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ edk2-clean: edk2-clean-common
LINUX_DEFCONFIG_COMMON_ARCH := arm64
LINUX_DEFCONFIG_COMMON_FILES := \
$(LINUX_PATH)/arch/arm64/configs/host \
$(CURDIR)/kconfigs/fvp.conf
$(CURDIR)/kconfigs/fvp.conf \
$(CURDIR)/kconfigs/vsock.conf

.PHONY: linux-ftpm-module
linux-ftpm-module: linux
Expand Down
10 changes: 10 additions & 0 deletions kconfigs/vsock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CONFIG_VHOST=y
CONFIG_VHOST_VSOCK=y
# CONFIG_VHOST_TASK is not set
# CONFIG_VHOST_IOTLB is not set
# CONFIG_VSOCKMON is not set
CONFIG_VSOCKETS=y
# CONFIG_VSOCKETS_LOOPBACK is not set
# CONFIG_VSOCKETS_DIAG is not set
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
3 changes: 2 additions & 1 deletion qemu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ u-boot-cscope:
LINUX_DEFCONFIG_COMMON_ARCH := arm
LINUX_DEFCONFIG_COMMON_FILES := \
$(LINUX_PATH)/arch/arm/configs/vexpress_defconfig \
$(CURDIR)/kconfigs/qemu.conf
$(CURDIR)/kconfigs/qemu.conf \
$(CURDIR)/kconfigs/vsock.conf

linux-defconfig: $(LINUX_PATH)/.config

Expand Down

0 comments on commit 7533353

Please sign in to comment.