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