0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config VHOST_IOTLB
0003 tristate
0004 help
0005 Generic IOTLB implementation for vhost and vringh.
0006 This option is selected by any driver which needs to support
0007 an IOMMU in software.
0008
0009 config VHOST_RING
0010 tristate
0011 select VHOST_IOTLB
0012 help
0013 This option is selected by any driver which needs to access
0014 the host side of a virtio ring.
0015
0016 config VHOST
0017 tristate
0018 select VHOST_IOTLB
0019 help
0020 This option is selected by any driver which needs to access
0021 the core of vhost.
0022
0023 menuconfig VHOST_MENU
0024 bool "VHOST drivers"
0025 default y
0026
0027 if VHOST_MENU
0028
0029 config VHOST_NET
0030 tristate "Host kernel accelerator for virtio net"
0031 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
0032 select VHOST
0033 help
0034 This kernel module can be loaded in host kernel to accelerate
0035 guest networking with virtio_net. Not to be confused with virtio_net
0036 module itself which needs to be loaded in guest kernel.
0037
0038 To compile this driver as a module, choose M here: the module will
0039 be called vhost_net.
0040
0041 config VHOST_SCSI
0042 tristate "VHOST_SCSI TCM fabric driver"
0043 depends on TARGET_CORE && EVENTFD
0044 select VHOST
0045 default n
0046 help
0047 Say M here to enable the vhost_scsi TCM fabric module
0048 for use with virtio-scsi guests
0049
0050 config VHOST_VSOCK
0051 tristate "vhost virtio-vsock driver"
0052 depends on VSOCKETS && EVENTFD
0053 select VHOST
0054 select VIRTIO_VSOCKETS_COMMON
0055 default n
0056 help
0057 This kernel module can be loaded in the host kernel to provide AF_VSOCK
0058 sockets for communicating with guests. The guests must have the
0059 virtio_transport.ko driver loaded to use the virtio-vsock device.
0060
0061 To compile this driver as a module, choose M here: the module will be called
0062 vhost_vsock.
0063
0064 config VHOST_VDPA
0065 tristate "Vhost driver for vDPA-based backend"
0066 depends on EVENTFD
0067 select VHOST
0068 select IRQ_BYPASS_MANAGER
0069 depends on VDPA
0070 help
0071 This kernel module can be loaded in host kernel to accelerate
0072 guest virtio devices with the vDPA-based backends.
0073
0074 To compile this driver as a module, choose M here: the module
0075 will be called vhost_vdpa.
0076
0077 config VHOST_CROSS_ENDIAN_LEGACY
0078 bool "Cross-endian support for vhost"
0079 default n
0080 help
0081 This option allows vhost to support guests with a different byte
0082 ordering from host while using legacy virtio.
0083
0084 Userspace programs can control the feature using the
0085 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
0086
0087 This is only useful on a few platforms (ppc64 and arm64). Since it
0088 adds some overhead, it is disabled by default.
0089
0090 If unsure, say "N".
0091
0092 endif