xref: /openbmc/linux/drivers/virtio/Kconfig (revision 609e478b)
1config 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_LGUEST,
6	  CONFIG_RPMSG or CONFIG_S390_GUEST.
7
8menu "Virtio drivers"
9
10config VIRTIO_PCI
11	tristate "PCI driver for virtio devices"
12	depends on PCI
13	select VIRTIO
14	---help---
15	  This drivers provides support for virtio based paravirtual device
16	  drivers over PCI.  This requires that your VMM has appropriate PCI
17	  virtio backends.  Most QEMU based VMMs should support these devices
18	  (like KVM or Xen).
19
20	  Currently, the ABI is not considered stable so there is no guarantee
21	  that this version of the driver will work with your VMM.
22
23	  If unsure, say M.
24
25config VIRTIO_BALLOON
26	tristate "Virtio balloon driver"
27	depends on VIRTIO
28	select MEMORY_BALLOON
29	---help---
30	 This driver supports increasing and decreasing the amount
31	 of memory within a KVM guest.
32
33	 If unsure, say M.
34
35 config VIRTIO_MMIO
36	tristate "Platform bus driver for memory mapped virtio devices"
37	depends on HAS_IOMEM
38 	select VIRTIO
39 	---help---
40 	 This drivers provides support for memory mapped virtio
41	 platform device driver.
42
43 	 If unsure, say N.
44
45config VIRTIO_MMIO_CMDLINE_DEVICES
46	bool "Memory mapped virtio devices parameter parsing"
47	depends on VIRTIO_MMIO
48	---help---
49	 Allow virtio-mmio devices instantiation via the kernel command line
50	 or module parameters. Be aware that using incorrect parameters (base
51	 address in particular) can crash your system - you have been warned.
52	 See Documentation/kernel-parameters.txt for details.
53
54	 If unsure, say 'N'.
55
56endmenu
57