1 # SPDX-License-Identifier: GPL-2.0-only
5 Generic IOTLB implementation for vhost and vringh.
6 This option is selected by any driver which needs to support
13 This option is selected by any driver which needs to access
14 the host side of a virtio ring.
18 depends on !ARM || AEABI
21 Anything selecting VHOST or VHOST_RING must depend on VHOST_DPN.
22 This excludes the deprecated ARM ABI since that forces a 4 byte
23 alignment on all structs - incompatible with virtio spec requirements.
29 This option is selected by any driver which needs to access
39 tristate "Host kernel accelerator for virtio net"
40 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) && VHOST_DPN
43 This kernel module can be loaded in host kernel to accelerate
44 guest networking with virtio_net. Not to be confused with virtio_net
45 module itself which needs to be loaded in guest kernel.
47 To compile this driver as a module, choose M here: the module will
51 tristate "VHOST_SCSI TCM fabric driver"
52 depends on TARGET_CORE && EVENTFD && VHOST_DPN
56 Say M here to enable the vhost_scsi TCM fabric module
57 for use with virtio-scsi guests
60 tristate "vhost virtio-vsock driver"
61 depends on VSOCKETS && EVENTFD && VHOST_DPN
63 select VIRTIO_VSOCKETS_COMMON
66 This kernel module can be loaded in the host kernel to provide AF_VSOCK
67 sockets for communicating with guests. The guests must have the
68 virtio_transport.ko driver loaded to use the virtio-vsock device.
70 To compile this driver as a module, choose M here: the module will be called
74 tristate "Vhost driver for vDPA-based backend"
75 depends on EVENTFD && VHOST_DPN
79 This kernel module can be loaded in host kernel to accelerate
80 guest virtio devices with the vDPA-based backends.
82 To compile this driver as a module, choose M here: the module
83 will be called vhost_vdpa.
85 config VHOST_CROSS_ENDIAN_LEGACY
86 bool "Cross-endian support for vhost"
89 This option allows vhost to support guests with a different byte
90 ordering from host while using legacy virtio.
92 Userspace programs can control the feature using the
93 VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
95 This is only useful on a few platforms (ppc64 and arm64). Since it
96 adds some overhead, it is disabled by default.