Kconfig 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. config VHOST_NET
  2. tristate "Host kernel accelerator for virtio net"
  3. depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
  4. select VHOST
  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. To compile this driver as a module, choose M here: the module will
  10. be called vhost_net.
  11. config VHOST_SCSI
  12. tristate "VHOST_SCSI TCM fabric driver"
  13. depends on TARGET_CORE && EVENTFD && m
  14. select VHOST
  15. default n
  16. ---help---
  17. Say M here to enable the vhost_scsi TCM fabric module
  18. for use with virtio-scsi guests
  19. config VHOST_VSOCK
  20. tristate "vhost virtio-vsock driver"
  21. depends on VSOCKETS && EVENTFD
  22. select VIRTIO_VSOCKETS_COMMON
  23. select VHOST
  24. default n
  25. ---help---
  26. This kernel module can be loaded in the host kernel to provide AF_VSOCK
  27. sockets for communicating with guests. The guests must have the
  28. virtio_transport.ko driver loaded to use the virtio-vsock device.
  29. To compile this driver as a module, choose M here: the module will be called
  30. vhost_vsock.
  31. config VHOST
  32. tristate
  33. ---help---
  34. This option is selected by any driver which needs to access
  35. the core of vhost.
  36. config 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. Userspace programs can control the feature using the
  43. VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
  44. This is only useful on a few platforms (ppc64 and arm64). Since it
  45. adds some overhead, it is disabled by default.
  46. If unsure, say "N".