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