Kconfig 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. config VIRTIO
  2. tristate
  3. ---help---
  4. This option is selected by any driver which implements the virtio
  5. bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
  6. or CONFIG_S390_GUEST.
  7. menuconfig VIRTIO_MENU
  8. bool "Virtio drivers"
  9. default y
  10. if VIRTIO_MENU
  11. config VIRTIO_PCI
  12. tristate "PCI driver for virtio devices"
  13. depends on PCI
  14. select VIRTIO
  15. ---help---
  16. This driver provides support for virtio based paravirtual device
  17. drivers over PCI. This requires that your VMM has appropriate PCI
  18. virtio backends. Most QEMU based VMMs should support these devices
  19. (like KVM or Xen).
  20. If unsure, say M.
  21. config VIRTIO_PCI_LEGACY
  22. bool "Support for legacy virtio draft 0.9.X and older devices"
  23. default y
  24. depends on VIRTIO_PCI
  25. ---help---
  26. Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
  27. This option enables building a transitional driver, supporting
  28. both devices conforming to Virtio 1 specification, and legacy devices.
  29. If disabled, you get a slightly smaller, non-transitional driver,
  30. with no legacy compatibility.
  31. So look out into your driveway. Do you have a flying car? If
  32. so, you can happily disable this option and virtio will not
  33. break. Otherwise, leave it set. Unless you're testing what
  34. life will be like in The Future.
  35. If unsure, say Y.
  36. config VIRTIO_BALLOON
  37. tristate "Virtio balloon driver"
  38. depends on VIRTIO
  39. select MEMORY_BALLOON
  40. ---help---
  41. This driver supports increasing and decreasing the amount
  42. of memory within a KVM guest.
  43. If unsure, say M.
  44. config VIRTIO_INPUT
  45. tristate "Virtio input driver"
  46. depends on VIRTIO
  47. depends on INPUT
  48. ---help---
  49. This driver supports virtio input devices such as
  50. keyboards, mice and tablets.
  51. If unsure, say M.
  52. config VIRTIO_MMIO
  53. tristate "Platform bus driver for memory mapped virtio devices"
  54. depends on HAS_IOMEM && HAS_DMA
  55. select VIRTIO
  56. ---help---
  57. This drivers provides support for memory mapped virtio
  58. platform device driver.
  59. If unsure, say N.
  60. config VIRTIO_MMIO_CMDLINE_DEVICES
  61. bool "Memory mapped virtio devices parameter parsing"
  62. depends on VIRTIO_MMIO
  63. ---help---
  64. Allow virtio-mmio devices instantiation via the kernel command line
  65. or module parameters. Be aware that using incorrect parameters (base
  66. address in particular) can crash your system - you have been warned.
  67. See Documentation/admin-guide/kernel-parameters.rst for details.
  68. If unsure, say 'N'.
  69. endif # VIRTIO_MENU