Merge tag 'pinctrl-v6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-block.git] / drivers / vhost / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
0bbe3066
JW
2config VHOST_IOTLB
3 tristate
4 help
5 Generic IOTLB implementation for vhost and vringh.
3302363a
MT
6 This option is selected by any driver which needs to support
7 an IOMMU in software.
0bbe3066 8
20c384f1
JW
9config VHOST_RING
10 tristate
9ad9c49c 11 select VHOST_IOTLB
20c384f1
JW
12 help
13 This option is selected by any driver which needs to access
14 the host side of a virtio ring.
15
e297cd54
MC
16config VHOST_TASK
17 bool
18 default n
19
20c384f1
JW
20config VHOST
21 tristate
22 select VHOST_IOTLB
e297cd54 23 select VHOST_TASK
20c384f1
JW
24 help
25 This option is selected by any driver which needs to access
26 the core of vhost.
27
28menuconfig VHOST_MENU
29 bool "VHOST drivers"
30 default y
31
32if VHOST_MENU
33
3a4d5c94 34config VHOST_NET
43893cbe 35 tristate "Host kernel accelerator for virtio net"
213e7721 36 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
6ac1afbf 37 select VHOST
a7f7f624 38 help
3a4d5c94
MT
39 This kernel module can be loaded in host kernel to accelerate
40 guest networking with virtio_net. Not to be confused with virtio_net
41 module itself which needs to be loaded in guest kernel.
42
43 To compile this driver as a module, choose M here: the module will
44 be called vhost_net.
45
181c04a3
MT
46config VHOST_SCSI
47 tristate "VHOST_SCSI TCM fabric driver"
213e7721 48 depends on TARGET_CORE && EVENTFD
6ac1afbf 49 select VHOST
181c04a3 50 default n
a7f7f624 51 help
181c04a3
MT
52 Say M here to enable the vhost_scsi TCM fabric module
53 for use with virtio-scsi guests
f87d0fbb 54
304ba62f
AH
55config VHOST_VSOCK
56 tristate "vhost virtio-vsock driver"
213e7721 57 depends on VSOCKETS && EVENTFD
304ba62f 58 select VHOST
20c384f1 59 select VIRTIO_VSOCKETS_COMMON
304ba62f 60 default n
a7f7f624 61 help
304ba62f
AH
62 This kernel module can be loaded in the host kernel to provide AF_VSOCK
63 sockets for communicating with guests. The guests must have the
64 virtio_transport.ko driver loaded to use the virtio-vsock device.
65
66 To compile this driver as a module, choose M here: the module will be called
67 vhost_vsock.
68
4c8cf318
TB
69config VHOST_VDPA
70 tristate "Vhost driver for vDPA-based backend"
213e7721 71 depends on EVENTFD
4c8cf318 72 select VHOST
2cf1ba9a 73 select IRQ_BYPASS_MANAGER
58ad1372 74 depends on VDPA
4c8cf318
TB
75 help
76 This kernel module can be loaded in host kernel to accelerate
77 guest virtio devices with the vDPA-based backends.
78
79 To compile this driver as a module, choose M here: the module
80 will be called vhost_vdpa.
81
2751c988
GK
82config VHOST_CROSS_ENDIAN_LEGACY
83 bool "Cross-endian support for vhost"
84 default n
a7f7f624 85 help
2751c988
GK
86 This option allows vhost to support guests with a different byte
87 ordering from host while using legacy virtio.
88
89 Userspace programs can control the feature using the
90 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
91
92 This is only useful on a few platforms (ppc64 and arm64). Since it
93 adds some overhead, it is disabled by default.
94
95 If unsure, say "N".
0bbe3066 96
20c384f1 97endif