xref: /linux/drivers/virtio/Kconfig (revision 46506da5f365efe7fe3e4c9da73ab679c0382fac)
1ec3d41c4SRusty Russellconfig VIRTIO
2c6fd4701SRusty Russell	tristate
3387daf17SRusty Russell	---help---
4387daf17SRusty Russell	  This option is selected by any driver which implements the virtio
5387daf17SRusty Russell	  bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_LGUEST,
6387daf17SRusty Russell	  CONFIG_RPMSG 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
22*46506da5SMichael S. Tsirkinconfig VIRTIO_PCI_LEGACY
23*46506da5SMichael S. Tsirkin	bool "Support for legacy virtio draft 0.9.X and older devices"
24*46506da5SMichael S. Tsirkin	default y
25*46506da5SMichael S. Tsirkin	depends on VIRTIO_PCI
26*46506da5SMichael S. Tsirkin	---help---
27*46506da5SMichael S. Tsirkin          Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
28*46506da5SMichael S. Tsirkin
29*46506da5SMichael S. Tsirkin	  This option enables building a transitional driver, supporting
30*46506da5SMichael S. Tsirkin	  both devices conforming to Virtio 1 specification, and legacy devices.
31*46506da5SMichael S. Tsirkin	  If disabled, you get a slightly smaller, non-transitional driver,
32*46506da5SMichael S. Tsirkin	  with no legacy compatibility.
33*46506da5SMichael S. Tsirkin
34*46506da5SMichael S. Tsirkin          So look out into your driveway.  Do you have a flying car?  If
35*46506da5SMichael S. Tsirkin          so, you can happily disable this option and virtio will not
36*46506da5SMichael S. Tsirkin          break.  Otherwise, leave it set.  Unless you're testing what
37*46506da5SMichael S. Tsirkin          life will be like in The Future.
38*46506da5SMichael S. Tsirkin
39*46506da5SMichael S. Tsirkin	  If unsure, say Y.
40*46506da5SMichael 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
51edfd52e6SPawel Moll config VIRTIO_MMIO
52d72c5a8cSKees Cook	tristate "Platform bus driver for memory mapped virtio devices"
53d72c5a8cSKees Cook	depends on HAS_IOMEM
54edfd52e6SPawel Moll 	select VIRTIO
55edfd52e6SPawel Moll 	---help---
56edfd52e6SPawel Moll 	 This drivers provides support for memory mapped virtio
57edfd52e6SPawel Moll	 platform device driver.
58edfd52e6SPawel Moll
59edfd52e6SPawel Moll 	 If unsure, say N.
60edfd52e6SPawel Moll
6181a054ceSPawel Mollconfig VIRTIO_MMIO_CMDLINE_DEVICES
6281a054ceSPawel Moll	bool "Memory mapped virtio devices parameter parsing"
6381a054ceSPawel Moll	depends on VIRTIO_MMIO
6481a054ceSPawel Moll	---help---
6581a054ceSPawel Moll	 Allow virtio-mmio devices instantiation via the kernel command line
6681a054ceSPawel Moll	 or module parameters. Be aware that using incorrect parameters (base
6781a054ceSPawel Moll	 address in particular) can crash your system - you have been warned.
6881a054ceSPawel Moll	 See Documentation/kernel-parameters.txt for details.
6981a054ceSPawel Moll
7081a054ceSPawel Moll	 If unsure, say 'N'.
7181a054ceSPawel Moll
72e7254219SOhad Ben-Cohenendmenu
73