Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. config VHOST_NET
  2. tristate "Host kernel accelerator for virtio net"
  3. depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
  4. select VHOST
  5. select VHOST_RING
  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. To compile this driver as a module, choose M here: the module will
  11. be called vhost_net.
  12. config VHOST_SCSI
  13. tristate "VHOST_SCSI TCM fabric driver"
  14. depends on TARGET_CORE && EVENTFD && m
  15. select VHOST
  16. select VHOST_RING
  17. default n
  18. ---help---
  19. Say M here to enable the vhost_scsi TCM fabric module
  20. for use with virtio-scsi guests
  21. config VHOST_RING
  22. tristate
  23. ---help---
  24. This option is selected by any driver which needs to access
  25. the host side of a virtio ring.
  26. config VHOST
  27. tristate
  28. ---help---
  29. This option is selected by any driver which needs to access
  30. the core of vhost.
  31. config VHOST_CROSS_ENDIAN_LEGACY
  32. bool "Cross-endian support for vhost"
  33. default n
  34. ---help---
  35. This option allows vhost to support guests with a different byte
  36. ordering from host while using legacy virtio.
  37. Userspace programs can control the feature using the
  38. VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
  39. This is only useful on a few platforms (ppc64 and arm64). Since it
  40. adds some overhead, it is disabled by default.
  41. If unsure, say "N".