1 # SPDX-License-Identifier: GPL-2.0-only
5 This option is selected by any driver which implements the virtio
6 bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
16 tristate "PCI driver for virtio devices"
20 This driver provides support for virtio based paravirtual device
21 drivers over PCI. This requires that your VMM has appropriate PCI
22 virtio backends. Most QEMU based VMMs should support these devices
27 config VIRTIO_PCI_LEGACY
28 bool "Support for legacy virtio draft 0.9.X and older devices"
32 Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
34 This option enables building a transitional driver, supporting
35 both devices conforming to Virtio 1 specification, and legacy devices.
36 If disabled, you get a slightly smaller, non-transitional driver,
37 with no legacy compatibility.
39 So look out into your driveway. Do you have a flying car? If
40 so, you can happily disable this option and virtio will not
41 break. Otherwise, leave it set. Unless you're testing what
42 life will be like in The Future.
47 tristate "Support for virtio pmem driver"
51 This driver provides access to virtio-pmem devices, storage devices
52 that are mapped into the physical address space - similar to NVDIMMs
53 - with a virtio-based flushing interface.
58 tristate "Virtio balloon driver"
62 This driver supports increasing and decreasing the amount
63 of memory within a KVM guest.
68 tristate "Virtio input driver"
72 This driver supports virtio input devices such as
73 keyboards, mice and tablets.
78 tristate "Platform bus driver for memory mapped virtio devices"
79 depends on HAS_IOMEM && HAS_DMA
82 This drivers provides support for memory mapped virtio
83 platform device driver.
87 config VIRTIO_MMIO_CMDLINE_DEVICES
88 bool "Memory mapped virtio devices parameter parsing"
89 depends on VIRTIO_MMIO
91 Allow virtio-mmio devices instantiation via the kernel command line
92 or module parameters. Be aware that using incorrect parameters (base
93 address in particular) can crash your system - you have been warned.
94 See Documentation/admin-guide/kernel-parameters.rst for details.