Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / vhost / Kconfig
CommitLineData
3a4d5c94 1config VHOST_NET
43893cbe
KC
2 tristate "Host kernel accelerator for virtio net"
3 depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
6ac1afbf 4 select VHOST
f87d0fbb 5 select VHOST_RING
3a4d5c94
MT
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
181c04a3
MT
14config VHOST_SCSI
15 tristate "VHOST_SCSI TCM fabric driver"
16 depends on TARGET_CORE && EVENTFD && m
6ac1afbf 17 select VHOST
736a2dd2 18 select VHOST_RING
181c04a3
MT
19 default n
20 ---help---
21 Say M here to enable the vhost_scsi TCM fabric module
22 for use with virtio-scsi guests
f87d0fbb
RR
23
24config VHOST_RING
25 tristate
26 ---help---
27 This option is selected by any driver which needs to access
28 the host side of a virtio ring.
6ac1afbf
AH
29
30config VHOST
31 tristate
32 ---help---
33 This option is selected by any driver which needs to access
34 the core of vhost.
2751c988
GK
35
36config VHOST_CROSS_ENDIAN_LEGACY
37 bool "Cross-endian support for vhost"
38 default n
39 ---help---
40 This option allows vhost to support guests with a different byte
41 ordering from host while using legacy virtio.
42
43 Userspace programs can control the feature using the
44 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
45
46 This is only useful on a few platforms (ppc64 and arm64). Since it
47 adds some overhead, it is disabled by default.
48
49 If unsure, say "N".