Kconfig 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config VHOST_IOTLB
  3. tristate
  4. help
  5. Generic IOTLB implementation for vhost and vringh.
  6. This option is selected by any driver which needs to support
  7. an IOMMU in software.
  8. config VHOST_RING
  9. tristate
  10. select VHOST_IOTLB
  11. help
  12. This option is selected by any driver which needs to access
  13. the host side of a virtio ring.
  14. config VHOST
  15. tristate
  16. select VHOST_IOTLB
  17. help
  18. This option is selected by any driver which needs to access
  19. the core of vhost.
  20. menuconfig VHOST_MENU
  21. bool "VHOST drivers"
  22. default y
  23. if VHOST_MENU
  24. config VHOST_NET
  25. tristate "Host kernel accelerator for virtio net"
  26. depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
  27. select VHOST
  28. help
  29. This kernel module can be loaded in host kernel to accelerate
  30. guest networking with virtio_net. Not to be confused with virtio_net
  31. module itself which needs to be loaded in guest kernel.
  32. To compile this driver as a module, choose M here: the module will
  33. be called vhost_net.
  34. config VHOST_SCSI
  35. tristate "VHOST_SCSI TCM fabric driver"
  36. depends on TARGET_CORE && EVENTFD
  37. select VHOST
  38. default n
  39. help
  40. Say M here to enable the vhost_scsi TCM fabric module
  41. for use with virtio-scsi guests
  42. config VHOST_VSOCK
  43. tristate "vhost virtio-vsock driver"
  44. depends on VSOCKETS && EVENTFD
  45. select VHOST
  46. select VIRTIO_VSOCKETS_COMMON
  47. default n
  48. help
  49. This kernel module can be loaded in the host kernel to provide AF_VSOCK
  50. sockets for communicating with guests. The guests must have the
  51. virtio_transport.ko driver loaded to use the virtio-vsock device.
  52. To compile this driver as a module, choose M here: the module will be called
  53. vhost_vsock.
  54. config VHOST_VDPA
  55. tristate "Vhost driver for vDPA-based backend"
  56. depends on EVENTFD
  57. select VHOST
  58. select IRQ_BYPASS_MANAGER
  59. depends on VDPA
  60. help
  61. This kernel module can be loaded in host kernel to accelerate
  62. guest virtio devices with the vDPA-based backends.
  63. To compile this driver as a module, choose M here: the module
  64. will be called vhost_vdpa.
  65. config VHOST_CROSS_ENDIAN_LEGACY
  66. bool "Cross-endian support for vhost"
  67. default n
  68. help
  69. This option allows vhost to support guests with a different byte
  70. ordering from host while using legacy virtio.
  71. Userspace programs can control the feature using the
  72. VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
  73. This is only useful on a few platforms (ppc64 and arm64). Since it
  74. adds some overhead, it is disabled by default.
  75. If unsure, say "N".
  76. endif