1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 20bbe3066SJason Wangconfig VHOST_IOTLB 30bbe3066SJason Wang tristate 40bbe3066SJason Wang help 50bbe3066SJason Wang Generic IOTLB implementation for vhost and vringh. 63302363aSMichael S. Tsirkin This option is selected by any driver which needs to support 73302363aSMichael S. Tsirkin an IOMMU in software. 80bbe3066SJason Wang 920c384f1SJason Wangconfig VHOST_RING 1020c384f1SJason Wang tristate 119ad9c49cSJason Wang select VHOST_IOTLB 1220c384f1SJason Wang help 1320c384f1SJason Wang This option is selected by any driver which needs to access 1420c384f1SJason Wang the host side of a virtio ring. 1520c384f1SJason Wang 16*e297cd54SMike Christieconfig VHOST_TASK 17*e297cd54SMike Christie bool 18*e297cd54SMike Christie default n 19*e297cd54SMike Christie 2020c384f1SJason Wangconfig VHOST 2120c384f1SJason Wang tristate 2220c384f1SJason Wang select VHOST_IOTLB 23*e297cd54SMike Christie select VHOST_TASK 2420c384f1SJason Wang help 2520c384f1SJason Wang This option is selected by any driver which needs to access 2620c384f1SJason Wang the core of vhost. 2720c384f1SJason Wang 2820c384f1SJason Wangmenuconfig VHOST_MENU 2920c384f1SJason Wang bool "VHOST drivers" 3020c384f1SJason Wang default y 3120c384f1SJason Wang 3220c384f1SJason Wangif VHOST_MENU 3320c384f1SJason Wang 343a4d5c94SMichael S. Tsirkinconfig VHOST_NET 3543893cbeSKees Cook tristate "Host kernel accelerator for virtio net" 36213e7721SMichael S. Tsirkin depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) 376ac1afbfSAsias He select VHOST 38a7f7f624SMasahiro Yamada help 393a4d5c94SMichael S. Tsirkin This kernel module can be loaded in host kernel to accelerate 403a4d5c94SMichael S. Tsirkin guest networking with virtio_net. Not to be confused with virtio_net 413a4d5c94SMichael S. Tsirkin module itself which needs to be loaded in guest kernel. 423a4d5c94SMichael S. Tsirkin 433a4d5c94SMichael S. Tsirkin To compile this driver as a module, choose M here: the module will 443a4d5c94SMichael S. Tsirkin be called vhost_net. 453a4d5c94SMichael S. Tsirkin 46181c04a3SMichael S. Tsirkinconfig VHOST_SCSI 47181c04a3SMichael S. Tsirkin tristate "VHOST_SCSI TCM fabric driver" 48213e7721SMichael S. Tsirkin depends on TARGET_CORE && EVENTFD 496ac1afbfSAsias He select VHOST 50181c04a3SMichael S. Tsirkin default n 51a7f7f624SMasahiro Yamada help 52181c04a3SMichael S. Tsirkin Say M here to enable the vhost_scsi TCM fabric module 53181c04a3SMichael S. Tsirkin for use with virtio-scsi guests 54f87d0fbbSRusty Russell 55304ba62fSAsias Heconfig VHOST_VSOCK 56304ba62fSAsias He tristate "vhost virtio-vsock driver" 57213e7721SMichael S. Tsirkin depends on VSOCKETS && EVENTFD 58304ba62fSAsias He select VHOST 5920c384f1SJason Wang select VIRTIO_VSOCKETS_COMMON 60304ba62fSAsias He default n 61a7f7f624SMasahiro Yamada help 62304ba62fSAsias He This kernel module can be loaded in the host kernel to provide AF_VSOCK 63304ba62fSAsias He sockets for communicating with guests. The guests must have the 64304ba62fSAsias He virtio_transport.ko driver loaded to use the virtio-vsock device. 65304ba62fSAsias He 66304ba62fSAsias He To compile this driver as a module, choose M here: the module will be called 67304ba62fSAsias He vhost_vsock. 68304ba62fSAsias He 694c8cf318STiwei Bieconfig VHOST_VDPA 704c8cf318STiwei Bie tristate "Vhost driver for vDPA-based backend" 71213e7721SMichael S. Tsirkin depends on EVENTFD 724c8cf318STiwei Bie select VHOST 732cf1ba9aSZhu Lingshan select IRQ_BYPASS_MANAGER 7458ad1372SMichael S. Tsirkin depends on VDPA 754c8cf318STiwei Bie help 764c8cf318STiwei Bie This kernel module can be loaded in host kernel to accelerate 774c8cf318STiwei Bie guest virtio devices with the vDPA-based backends. 784c8cf318STiwei Bie 794c8cf318STiwei Bie To compile this driver as a module, choose M here: the module 804c8cf318STiwei Bie will be called vhost_vdpa. 814c8cf318STiwei Bie 822751c988SGreg Kurzconfig VHOST_CROSS_ENDIAN_LEGACY 832751c988SGreg Kurz bool "Cross-endian support for vhost" 842751c988SGreg Kurz default n 85a7f7f624SMasahiro Yamada help 862751c988SGreg Kurz This option allows vhost to support guests with a different byte 872751c988SGreg Kurz ordering from host while using legacy virtio. 882751c988SGreg Kurz 892751c988SGreg Kurz Userspace programs can control the feature using the 902751c988SGreg Kurz VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls. 912751c988SGreg Kurz 922751c988SGreg Kurz This is only useful on a few platforms (ppc64 and arm64). Since it 932751c988SGreg Kurz adds some overhead, it is disabled by default. 942751c988SGreg Kurz 952751c988SGreg Kurz If unsure, say "N". 960bbe3066SJason Wang 9720c384f1SJason Wangendif 98