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