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