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