1# SPDX-License-Identifier: GPL-2.0-only 2config VHOST_IOTLB 3 tristate 4 help 5 Generic IOTLB implementation for vhost and vringh. 6 7config VHOST_RING 8 tristate 9 help 10 This option is selected by any driver which needs to access 11 the host side of a virtio ring. 12 13config VHOST 14 tristate 15 select VHOST_IOTLB 16 help 17 This option is selected by any driver which needs to access 18 the core of vhost. 19 20menuconfig VHOST_MENU 21 bool "VHOST drivers" 22 default y 23 24if VHOST_MENU 25 26config VHOST_NET 27 tristate "Host kernel accelerator for virtio net" 28 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) 29 select VHOST 30 ---help--- 31 This kernel module can be loaded in host kernel to accelerate 32 guest networking with virtio_net. Not to be confused with virtio_net 33 module itself which needs to be loaded in guest kernel. 34 35 To compile this driver as a module, choose M here: the module will 36 be called vhost_net. 37 38config VHOST_SCSI 39 tristate "VHOST_SCSI TCM fabric driver" 40 depends on TARGET_CORE && EVENTFD 41 select VHOST 42 default n 43 ---help--- 44 Say M here to enable the vhost_scsi TCM fabric module 45 for use with virtio-scsi guests 46 47config VHOST_VSOCK 48 tristate "vhost virtio-vsock driver" 49 depends on VSOCKETS && EVENTFD 50 select VHOST 51 select VIRTIO_VSOCKETS_COMMON 52 default n 53 ---help--- 54 This kernel module can be loaded in the host kernel to provide AF_VSOCK 55 sockets for communicating with guests. The guests must have the 56 virtio_transport.ko driver loaded to use the virtio-vsock device. 57 58 To compile this driver as a module, choose M here: the module will be called 59 vhost_vsock. 60 61config VHOST_CROSS_ENDIAN_LEGACY 62 bool "Cross-endian support for vhost" 63 default n 64 ---help--- 65 This option allows vhost to support guests with a different byte 66 ordering from host while using legacy virtio. 67 68 Userspace programs can control the feature using the 69 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls. 70 71 This is only useful on a few platforms (ppc64 and arm64). Since it 72 adds some overhead, it is disabled by default. 73 74 If unsure, say "N". 75 76endif 77