]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - drivers/virtio/Kconfig
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[thirdparty/kernel/stable.git] / drivers / virtio / Kconfig
CommitLineData
ec3d41c4 1config VIRTIO
c6fd4701 2 tristate
387daf17
RR
3 ---help---
4 This option is selected by any driver which implements the virtio
ecda85e7
JG
5 bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
6 or CONFIG_S390_GUEST.
0a8a69dd 7
7b95fec6
VL
8menuconfig VIRTIO_MENU
9 bool "Virtio drivers"
10 default y
11
12if VIRTIO_MENU
e7254219 13
3343660d 14config VIRTIO_PCI
d72c5a8c
KC
15 tristate "PCI driver for virtio devices"
16 depends on PCI
3343660d 17 select VIRTIO
3343660d 18 ---help---
b2a6d51d 19 This driver provides support for virtio based paravirtual device
3343660d
AL
20 drivers over PCI. This requires that your VMM has appropriate PCI
21 virtio backends. Most QEMU based VMMs should support these devices
22 (like KVM or Xen).
23
3343660d
AL
24 If unsure, say M.
25
46506da5
MT
26config VIRTIO_PCI_LEGACY
27 bool "Support for legacy virtio draft 0.9.X and older devices"
28 default y
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 So look out into your driveway. Do you have a flying car? If
39 so, you can happily disable this option and virtio will not
40 break. Otherwise, leave it set. Unless you're testing what
41 life will be like in The Future.
42
43 If unsure, say Y.
44
6b35e407 45config VIRTIO_BALLOON
7a23eb28
RR
46 tristate "Virtio balloon driver"
47 depends on VIRTIO
09316c09 48 select MEMORY_BALLOON
6b35e407
RR
49 ---help---
50 This driver supports increasing and decreasing the amount
51 of memory within a KVM guest.
52
53 If unsure, say M.
54
271c8651
GH
55config VIRTIO_INPUT
56 tristate "Virtio input driver"
57 depends on VIRTIO
58 depends on INPUT
59 ---help---
60 This driver supports virtio input devices such as
61 keyboards, mice and tablets.
62
63 If unsure, say M.
64
edfd52e6 65 config VIRTIO_MMIO
d72c5a8c 66 tristate "Platform bus driver for memory mapped virtio devices"
780bc790 67 depends on HAS_IOMEM && HAS_DMA
edfd52e6 68 select VIRTIO
edfd52e6
PM
69 ---help---
70 This drivers provides support for memory mapped virtio
71 platform device driver.
72
73 If unsure, say N.
74
81a054ce
PM
75config VIRTIO_MMIO_CMDLINE_DEVICES
76 bool "Memory mapped virtio devices parameter parsing"
77 depends on VIRTIO_MMIO
78 ---help---
79 Allow virtio-mmio devices instantiation via the kernel command line
80 or module parameters. Be aware that using incorrect parameters (base
81 address in particular) can crash your system - you have been warned.
8c27ceff 82 See Documentation/admin-guide/kernel-parameters.rst for details.
81a054ce
PM
83
84 If unsure, say 'N'.
85
7b95fec6 86endif # VIRTIO_MENU