1# SPDX-License-Identifier: GPL-2.0-only 2config VIRTIO 3 tristate 4 ---help--- 5 This option is selected by any driver which implements the virtio 6 bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG 7 or CONFIG_S390_GUEST. 8 9menuconfig VIRTIO_MENU 10 bool "Virtio drivers" 11 default y 12 13if VIRTIO_MENU 14 15config VIRTIO_PCI 16 tristate "PCI driver for virtio devices" 17 depends on PCI 18 select VIRTIO 19 ---help--- 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 23 (like KVM or Xen). 24 25 If unsure, say M. 26 27config VIRTIO_PCI_LEGACY 28 bool "Support for legacy virtio draft 0.9.X and older devices" 29 depends on VIRTIO_PCI 30 ---help--- 31 Virtio PCI Card 0.9.X Draft (circa 2014) and older device support. 32 33 This option enables building a transitional driver, supporting 34 both devices conforming to Virtio 1 specification, and legacy devices. 35 If disabled, you get a slightly smaller, non-transitional driver, 36 with no legacy compatibility. 37 38 If unsure, say Y. 39 40config VIRTIO_PMEM 41 tristate "Support for virtio pmem driver" 42 depends on VIRTIO 43 depends on LIBNVDIMM 44 help 45 This driver provides access to virtio-pmem devices, storage devices 46 that are mapped into the physical address space - similar to NVDIMMs 47 - with a virtio-based flushing interface. 48 49 If unsure, say Y. 50 51config VIRTIO_BALLOON 52 tristate "Virtio balloon driver" 53 depends on VIRTIO 54 select MEMORY_BALLOON 55 ---help--- 56 This driver supports increasing and decreasing the amount 57 of memory within a KVM guest. 58 59 If unsure, say M. 60 61config VIRTIO_INPUT 62 tristate "Virtio input driver" 63 depends on VIRTIO 64 depends on INPUT 65 ---help--- 66 This driver supports virtio input devices such as 67 keyboards, mice and tablets. 68 69 If unsure, say M. 70 71config VIRTIO_MMIO 72 tristate "Platform bus driver for memory mapped virtio devices" 73 depends on HAS_IOMEM && HAS_DMA 74 select VIRTIO 75 ---help--- 76 This drivers provides support for memory mapped virtio 77 platform device driver. 78 79 If unsure, say N. 80 81config VIRTIO_MMIO_CMDLINE_DEVICES 82 bool "Memory mapped virtio devices parameter parsing" 83 depends on VIRTIO_MMIO 84 ---help--- 85 Allow virtio-mmio devices instantiation via the kernel command line 86 or module parameters. Be aware that using incorrect parameters (base 87 address in particular) can crash your system - you have been warned. 88 See Documentation/admin-guide/kernel-parameters.rst for details. 89 90 If unsure, say 'N'. 91 92endif # VIRTIO_MENU 93