xref: /linux/drivers/virtio/Kconfig (revision ecda85e70277ef24e44a1f6bc00243cebd19f985)
1ec3d41c4SRusty Russellconfig VIRTIO
2c6fd4701SRusty Russell	tristate
3387daf17SRusty Russell	---help---
4387daf17SRusty Russell	  This option is selected by any driver which implements the virtio
5*ecda85e7SJuergen Gross	  bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
6*ecda85e7SJuergen Gross	  or CONFIG_S390_GUEST.
70a8a69ddSRusty Russell
8e7254219SOhad Ben-Cohenmenu "Virtio drivers"
9e7254219SOhad Ben-Cohen
103343660dSAnthony Liguoriconfig VIRTIO_PCI
11d72c5a8cSKees Cook	tristate "PCI driver for virtio devices"
12d72c5a8cSKees Cook	depends on PCI
133343660dSAnthony Liguori	select VIRTIO
143343660dSAnthony Liguori	---help---
15b2a6d51dSMichael S. Tsirkin	  This driver provides support for virtio based paravirtual device
163343660dSAnthony Liguori	  drivers over PCI.  This requires that your VMM has appropriate PCI
173343660dSAnthony Liguori	  virtio backends.  Most QEMU based VMMs should support these devices
183343660dSAnthony Liguori	  (like KVM or Xen).
193343660dSAnthony Liguori
203343660dSAnthony Liguori	  If unsure, say M.
213343660dSAnthony Liguori
2246506da5SMichael S. Tsirkinconfig VIRTIO_PCI_LEGACY
2346506da5SMichael S. Tsirkin	bool "Support for legacy virtio draft 0.9.X and older devices"
2446506da5SMichael S. Tsirkin	default y
2546506da5SMichael S. Tsirkin	depends on VIRTIO_PCI
2646506da5SMichael S. Tsirkin	---help---
2746506da5SMichael S. Tsirkin          Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
2846506da5SMichael S. Tsirkin
2946506da5SMichael S. Tsirkin	  This option enables building a transitional driver, supporting
3046506da5SMichael S. Tsirkin	  both devices conforming to Virtio 1 specification, and legacy devices.
3146506da5SMichael S. Tsirkin	  If disabled, you get a slightly smaller, non-transitional driver,
3246506da5SMichael S. Tsirkin	  with no legacy compatibility.
3346506da5SMichael S. Tsirkin
3446506da5SMichael S. Tsirkin          So look out into your driveway.  Do you have a flying car?  If
3546506da5SMichael S. Tsirkin          so, you can happily disable this option and virtio will not
3646506da5SMichael S. Tsirkin          break.  Otherwise, leave it set.  Unless you're testing what
3746506da5SMichael S. Tsirkin          life will be like in The Future.
3846506da5SMichael S. Tsirkin
3946506da5SMichael S. Tsirkin	  If unsure, say Y.
4046506da5SMichael S. Tsirkin
416b35e407SRusty Russellconfig VIRTIO_BALLOON
427a23eb28SRusty Russell	tristate "Virtio balloon driver"
437a23eb28SRusty Russell	depends on VIRTIO
4409316c09SKonstantin Khlebnikov	select MEMORY_BALLOON
456b35e407SRusty Russell	---help---
466b35e407SRusty Russell	 This driver supports increasing and decreasing the amount
476b35e407SRusty Russell	 of memory within a KVM guest.
486b35e407SRusty Russell
496b35e407SRusty Russell	 If unsure, say M.
506b35e407SRusty Russell
51271c8651SGerd Hoffmannconfig VIRTIO_INPUT
52271c8651SGerd Hoffmann	tristate "Virtio input driver"
53271c8651SGerd Hoffmann	depends on VIRTIO
54271c8651SGerd Hoffmann	depends on INPUT
55271c8651SGerd Hoffmann	---help---
56271c8651SGerd Hoffmann	 This driver supports virtio input devices such as
57271c8651SGerd Hoffmann	 keyboards, mice and tablets.
58271c8651SGerd Hoffmann
59271c8651SGerd Hoffmann	 If unsure, say M.
60271c8651SGerd Hoffmann
61edfd52e6SPawel Moll config VIRTIO_MMIO
62d72c5a8cSKees Cook	tristate "Platform bus driver for memory mapped virtio devices"
63780bc790SAndy Lutomirski	depends on HAS_IOMEM && HAS_DMA
64edfd52e6SPawel Moll 	select VIRTIO
65edfd52e6SPawel Moll 	---help---
66edfd52e6SPawel Moll 	 This drivers provides support for memory mapped virtio
67edfd52e6SPawel Moll	 platform device driver.
68edfd52e6SPawel Moll
69edfd52e6SPawel Moll 	 If unsure, say N.
70edfd52e6SPawel Moll
7181a054ceSPawel Mollconfig VIRTIO_MMIO_CMDLINE_DEVICES
7281a054ceSPawel Moll	bool "Memory mapped virtio devices parameter parsing"
7381a054ceSPawel Moll	depends on VIRTIO_MMIO
7481a054ceSPawel Moll	---help---
7581a054ceSPawel Moll	 Allow virtio-mmio devices instantiation via the kernel command line
7681a054ceSPawel Moll	 or module parameters. Be aware that using incorrect parameters (base
7781a054ceSPawel Moll	 address in particular) can crash your system - you have been warned.
788c27ceffSMauro Carvalho Chehab	 See Documentation/admin-guide/kernel-parameters.rst for details.
7981a054ceSPawel Moll
8081a054ceSPawel Moll	 If unsure, say 'N'.
8181a054ceSPawel Moll
82e7254219SOhad Ben-Cohenendmenu
83