Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 2 | config VHOST_NET |
Kees Cook | 43893cb | 2013-01-16 18:53:56 -0800 | [diff] [blame] | 3 | tristate "Host kernel accelerator for virtio net" |
Sainath Grandhi | 9a393b5 | 2017-02-10 16:03:51 -0800 | [diff] [blame] | 4 | depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) |
Asias He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 5 | select VHOST |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 6 | ---help--- |
| 7 | This kernel module can be loaded in host kernel to accelerate |
| 8 | guest networking with virtio_net. Not to be confused with virtio_net |
| 9 | module itself which needs to be loaded in guest kernel. |
| 10 | |
| 11 | To compile this driver as a module, choose M here: the module will |
| 12 | be called vhost_net. |
| 13 | |
Michael S. Tsirkin | 181c04a | 2013-05-02 03:52:59 +0300 | [diff] [blame] | 14 | config VHOST_SCSI |
| 15 | tristate "VHOST_SCSI TCM fabric driver" |
Greg Edwards | 84f3396 | 2018-08-10 10:45:49 -0600 | [diff] [blame] | 16 | depends on TARGET_CORE && EVENTFD |
Asias He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 17 | select VHOST |
Michael S. Tsirkin | 181c04a | 2013-05-02 03:52:59 +0300 | [diff] [blame] | 18 | default n |
| 19 | ---help--- |
| 20 | Say M here to enable the vhost_scsi TCM fabric module |
| 21 | for use with virtio-scsi guests |
Rusty Russell | f87d0fb | 2013-03-20 13:50:14 +1030 | [diff] [blame] | 22 | |
Asias He | 304ba62 | 2016-07-28 15:36:35 +0100 | [diff] [blame] | 23 | config VHOST_VSOCK |
| 24 | tristate "vhost virtio-vsock driver" |
| 25 | depends on VSOCKETS && EVENTFD |
| 26 | select VIRTIO_VSOCKETS_COMMON |
| 27 | select VHOST |
| 28 | default n |
| 29 | ---help--- |
| 30 | This kernel module can be loaded in the host kernel to provide AF_VSOCK |
| 31 | sockets for communicating with guests. The guests must have the |
| 32 | virtio_transport.ko driver loaded to use the virtio-vsock device. |
| 33 | |
| 34 | To compile this driver as a module, choose M here: the module will be called |
| 35 | vhost_vsock. |
| 36 | |
Asias He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 37 | config VHOST |
| 38 | tristate |
| 39 | ---help--- |
| 40 | This option is selected by any driver which needs to access |
| 41 | the core of vhost. |
Greg Kurz | 2751c98 | 2015-04-24 14:27:24 +0200 | [diff] [blame] | 42 | |
| 43 | config VHOST_CROSS_ENDIAN_LEGACY |
| 44 | bool "Cross-endian support for vhost" |
| 45 | default n |
| 46 | ---help--- |
| 47 | This option allows vhost to support guests with a different byte |
| 48 | ordering from host while using legacy virtio. |
| 49 | |
| 50 | Userspace programs can control the feature using the |
| 51 | VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls. |
| 52 | |
| 53 | This is only useful on a few platforms (ppc64 and arm64). Since it |
| 54 | adds some overhead, it is disabled by default. |
| 55 | |
| 56 | If unsure, say "N". |