xref: /linux/drivers/vhost/Kconfig (revision 304ba62fd4e670c1a5784585da0fac9f7309ef6c)
13a4d5c94SMichael S. Tsirkinconfig VHOST_NET
243893cbeSKees Cook	tristate "Host kernel accelerator for virtio net"
343893cbeSKees Cook	depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
46ac1afbfSAsias He	select VHOST
53a4d5c94SMichael S. Tsirkin	---help---
63a4d5c94SMichael S. Tsirkin	  This kernel module can be loaded in host kernel to accelerate
73a4d5c94SMichael S. Tsirkin	  guest networking with virtio_net. Not to be confused with virtio_net
83a4d5c94SMichael S. Tsirkin	  module itself which needs to be loaded in guest kernel.
93a4d5c94SMichael S. Tsirkin
103a4d5c94SMichael S. Tsirkin	  To compile this driver as a module, choose M here: the module will
113a4d5c94SMichael S. Tsirkin	  be called vhost_net.
123a4d5c94SMichael S. Tsirkin
13181c04a3SMichael S. Tsirkinconfig VHOST_SCSI
14181c04a3SMichael S. Tsirkin	tristate "VHOST_SCSI TCM fabric driver"
15181c04a3SMichael S. Tsirkin	depends on TARGET_CORE && EVENTFD && m
166ac1afbfSAsias He	select VHOST
17181c04a3SMichael S. Tsirkin	default n
18181c04a3SMichael S. Tsirkin	---help---
19181c04a3SMichael S. Tsirkin	Say M here to enable the vhost_scsi TCM fabric module
20181c04a3SMichael S. Tsirkin	for use with virtio-scsi guests
21f87d0fbbSRusty Russell
22*304ba62fSAsias Heconfig VHOST_VSOCK
23*304ba62fSAsias He	tristate "vhost virtio-vsock driver"
24*304ba62fSAsias He	depends on VSOCKETS && EVENTFD
25*304ba62fSAsias He	select VIRTIO_VSOCKETS_COMMON
26*304ba62fSAsias He	select VHOST
27*304ba62fSAsias He	default n
28*304ba62fSAsias He	---help---
29*304ba62fSAsias He	This kernel module can be loaded in the host kernel to provide AF_VSOCK
30*304ba62fSAsias He	sockets for communicating with guests.  The guests must have the
31*304ba62fSAsias He	virtio_transport.ko driver loaded to use the virtio-vsock device.
32*304ba62fSAsias He
33*304ba62fSAsias He	To compile this driver as a module, choose M here: the module will be called
34*304ba62fSAsias He	vhost_vsock.
35*304ba62fSAsias He
36f87d0fbbSRusty Russellconfig VHOST_RING
37f87d0fbbSRusty Russell	tristate
38f87d0fbbSRusty Russell	---help---
39f87d0fbbSRusty Russell	  This option is selected by any driver which needs to access
40f87d0fbbSRusty Russell	  the host side of a virtio ring.
416ac1afbfSAsias He
426ac1afbfSAsias Heconfig VHOST
436ac1afbfSAsias He	tristate
446ac1afbfSAsias He	---help---
456ac1afbfSAsias He	  This option is selected by any driver which needs to access
466ac1afbfSAsias He	  the core of vhost.
472751c988SGreg Kurz
482751c988SGreg Kurzconfig VHOST_CROSS_ENDIAN_LEGACY
492751c988SGreg Kurz	bool "Cross-endian support for vhost"
502751c988SGreg Kurz	default n
512751c988SGreg Kurz	---help---
522751c988SGreg Kurz	  This option allows vhost to support guests with a different byte
532751c988SGreg Kurz	  ordering from host while using legacy virtio.
542751c988SGreg Kurz
552751c988SGreg Kurz	  Userspace programs can control the feature using the
562751c988SGreg Kurz	  VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
572751c988SGreg Kurz
582751c988SGreg Kurz	  This is only useful on a few platforms (ppc64 and arm64). Since it
592751c988SGreg Kurz	  adds some overhead, it is disabled by default.
602751c988SGreg Kurz
612751c988SGreg Kurz	  If unsure, say "N".
62