98 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config VHOST_IOTLB3 tristate4 help5 Generic IOTLB implementation for vhost and vringh.6 This option is selected by any driver which needs to support7 an IOMMU in software.8 9config VHOST_RING10 tristate11 select VHOST_IOTLB12 help13 This option is selected by any driver which needs to access14 the host side of a virtio ring.15 16config VHOST_TASK17 bool18 default n19 20config VHOST21 tristate22 select VHOST_IOTLB23 select VHOST_TASK24 help25 This option is selected by any driver which needs to access26 the core of vhost.27 28menuconfig VHOST_MENU29 bool "VHOST drivers"30 default y31 32if VHOST_MENU33 34config VHOST_NET35 tristate "Host kernel accelerator for virtio net"36 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)37 select VHOST38 help39 This kernel module can be loaded in host kernel to accelerate40 guest networking with virtio_net. Not to be confused with virtio_net41 module itself which needs to be loaded in guest kernel.42 43 To compile this driver as a module, choose M here: the module will44 be called vhost_net.45 46config VHOST_SCSI47 tristate "VHOST_SCSI TCM fabric driver"48 depends on TARGET_CORE && EVENTFD49 select VHOST50 default n51 help52 Say M here to enable the vhost_scsi TCM fabric module53 for use with virtio-scsi guests54 55config VHOST_VSOCK56 tristate "vhost virtio-vsock driver"57 depends on VSOCKETS && EVENTFD58 select VHOST59 select VIRTIO_VSOCKETS_COMMON60 default n61 help62 This kernel module can be loaded in the host kernel to provide AF_VSOCK63 sockets for communicating with guests. The guests must have the64 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 called67 vhost_vsock.68 69config VHOST_VDPA70 tristate "Vhost driver for vDPA-based backend"71 depends on EVENTFD72 select VHOST73 select IRQ_BYPASS_MANAGER74 depends on VDPA75 help76 This kernel module can be loaded in host kernel to accelerate77 guest virtio devices with the vDPA-based backends.78 79 To compile this driver as a module, choose M here: the module80 will be called vhost_vdpa.81 82config VHOST_CROSS_ENDIAN_LEGACY83 bool "Cross-endian support for vhost"84 default n85 help86 This option allows vhost to support guests with a different byte87 ordering from host while using legacy virtio.88 89 Userspace programs can control the feature using the90 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.91 92 This is only useful on a few platforms (ppc64 and arm64). Since it93 adds some overhead, it is disabled by default.94 95 If unsure, say "N".96 97endif98