Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26d57306 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "vservices: block: add the block protocol and drivers"

parents 68cf83d5 402932a0
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -538,3 +538,23 @@ config BLK_DEV_RSXX
	  module will be called rsxx.

endif # BLK_DEV

config VSERVICES_BLOCK_SERVER
	tristate "Virtual Services block server"
	depends on BLOCK && VSERVICES_SUPPORT && VSERVICES_SERVER
	default y
	select VSERVICES_PROTOCOL_BLOCK_SERVER
	help
	  Select this option if you want support for server side Virtual
	  Services block. This allows any Linux block device to be
	  virtualized and exported as a virtual service.

config VSERVICES_BLOCK_CLIENT
	tristate "Virtual Services Block client device"
	depends on BLOCK && VSERVICES_SUPPORT && VSERVICES_CLIENT
	default y
	select VSERVICES_PROTOCOL_BLOCK_CLIENT
	help
	  Select this option if you want support for client side Virtual
	  Services block devices. The virtual block devices are typically
	  named /dev/vblock0, /dev/vblock1, etc.
+5 −0
Original line number Diff line number Diff line
@@ -44,3 +44,8 @@ obj-$(CONFIG_ZRAM) += zram/

skd-y		:= skd_main.o
swim_mod-y	:= swim.o swim_asm.o

obj-$(CONFIG_VSERVICES_BLOCK_SERVER)     += vs_block_server.o
CFLAGS_vs_block_server.o += -Werror
obj-$(CONFIG_VSERVICES_BLOCK_CLIENT)     += vs_block_client.o
CFLAGS_vs_block_client.o += -Werror
+956 −0

File added.

Preview size limit exceeded, changes collapsed.

+1179 −0

File added.

Preview size limit exceeded, changes collapsed.

+38 −0
Original line number Diff line number Diff line
@@ -631,3 +631,41 @@ config OKL4_PIPE
        Virtual pipe driver for the OKL4 Microvisor. This driver allows
        OKL4 Microvisor pipes to be exposed directly to user level as
        character devices.

config VSERVICES_SERIAL
	tristate

config VSERVICES_SERIAL_SERVER
	tristate "Virtual Services serial server"
	depends on VSERVICES_SUPPORT && VSERVICES_SERVER
	select VSERVICES_SERIAL
	select VSERVICES_PROTOCOL_SERIAL_SERVER
	default y
	help
	  Select this option if you want support for server side Virtual
	  Services serial. A virtual serial service behaves similarly to
	  a UNIX pseudo terminal (pty), and does not require any physical
	  serial hardware. Virtual serial devices are typically called
	  /dev/ttyVS0, /dev/ttyVS1, etc.

config VSERVICES_SERIAL_CLIENT
	tristate "Virtual Services serial client"
	depends on VSERVICES_SUPPORT && VSERVICES_CLIENT
	select VSERVICES_SERIAL
	select VSERVICES_PROTOCOL_SERIAL_CLIENT
	default y
	help
	  Select this option if you want support for client side Virtual
	  Services serial. A virtual serial service behaves similarly to
	  a UNIX pseudo terminal (pty), and does not require any physical
	  serial hardware. Virtual serial devices are typically called
	  /dev/ttyVS0, /dev/ttyVS1, etc.

config VSERVICES_VTTY_COUNT
	int "Maximum number of Virtual Services serial devices"
	depends on VSERVICES_SERIAL
	range 0 256
	default "8"
	help
	  The maximum number of Virtual Services serial devices to support.
	  This limit applies to both the client and server.
Loading