xref: /openbmc/linux/drivers/virtio/Kconfig (revision a5f6ea29)
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	---help---
29	 This driver supports increasing and decreasing the amount
30	 of memory within a KVM guest.
31
32	 If unsure, say M.
33
34 config VIRTIO_MMIO
35	tristate "Platform bus driver for memory mapped virtio devices"
36	depends on HAS_IOMEM
37 	select VIRTIO
38 	---help---
39 	 This drivers provides support for memory mapped virtio
40	 platform device driver.
41
42 	 If unsure, say N.
43
44config VIRTIO_MMIO_CMDLINE_DEVICES
45	bool "Memory mapped virtio devices parameter parsing"
46	depends on VIRTIO_MMIO
47	---help---
48	 Allow virtio-mmio devices instantiation via the kernel command line
49	 or module parameters. Be aware that using incorrect parameters (base
50	 address in particular) can crash your system - you have been warned.
51	 See Documentation/kernel-parameters.txt for details.
52
53	 If unsure, say 'N'.
54
55endmenu
56