blob: 77590320d44ce218f31ba09b4420f6ee9e412561 [file] [log] [blame]
Rusty Russellec3d41c2007-10-22 11:03:36 +10001config VIRTIO
Rusty Russellc6fd4702008-02-04 23:50:05 -05002 tristate
Rusty Russell387daf12012-09-28 15:05:15 +09303 ---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.
Rusty Russell0a8a69d2007-10-22 11:03:40 +10007
Ohad Ben-Cohene7254212011-07-05 17:06:14 +03008menu "Virtio drivers"
9
Anthony Liguori33436602007-11-12 21:30:26 -060010config VIRTIO_PCI
Kees Cookd72c5a82012-10-02 11:19:07 -070011 tristate "PCI driver for virtio devices"
12 depends on PCI
Anthony Liguori33436602007-11-12 21:30:26 -060013 select VIRTIO
Anthony Liguori33436602007-11-12 21:30:26 -060014 ---help---
Michael S. Tsirkinb2a6d512015-01-15 14:15:51 +020015 This driver provides support for virtio based paravirtual device
Anthony Liguori33436602007-11-12 21:30:26 -060016 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
Anthony Liguori33436602007-11-12 21:30:26 -060020 If unsure, say M.
21
Michael S. Tsirkin46506da2015-01-15 16:06:26 +020022config VIRTIO_PCI_LEGACY
23 bool "Support for legacy virtio draft 0.9.X and older devices"
24 default y
25 depends on VIRTIO_PCI
26 ---help---
27 Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
28
29 This option enables building a transitional driver, supporting
30 both devices conforming to Virtio 1 specification, and legacy devices.
31 If disabled, you get a slightly smaller, non-transitional driver,
32 with no legacy compatibility.
33
34 So look out into your driveway. Do you have a flying car? If
35 so, you can happily disable this option and virtio will not
36 break. Otherwise, leave it set. Unless you're testing what
37 life will be like in The Future.
38
39 If unsure, say Y.
40
Rusty Russell6b35e402008-02-04 23:50:12 -050041config VIRTIO_BALLOON
Rusty Russell7a23eb22012-09-28 15:05:14 +093042 tristate "Virtio balloon driver"
43 depends on VIRTIO
Konstantin Khlebnikov09316c02014-10-09 15:29:32 -070044 select MEMORY_BALLOON
Rusty Russell6b35e402008-02-04 23:50:12 -050045 ---help---
46 This driver supports increasing and decreasing the amount
47 of memory within a KVM guest.
48
49 If unsure, say M.
50
Gerd Hoffmann271c8652015-03-27 12:46:12 +103051config VIRTIO_INPUT
52 tristate "Virtio input driver"
53 depends on VIRTIO
54 depends on INPUT
55 ---help---
56 This driver supports virtio input devices such as
57 keyboards, mice and tablets.
58
59 If unsure, say M.
60
Pawel Molledfd52e2011-10-24 14:07:03 +010061 config VIRTIO_MMIO
Kees Cookd72c5a82012-10-02 11:19:07 -070062 tristate "Platform bus driver for memory mapped virtio devices"
Andy Lutomirski780bc792016-02-02 21:46:36 -080063 depends on HAS_IOMEM && HAS_DMA
Pawel Molledfd52e2011-10-24 14:07:03 +010064 select VIRTIO
Pawel Molledfd52e2011-10-24 14:07:03 +010065 ---help---
66 This drivers provides support for memory mapped virtio
67 platform device driver.
68
69 If unsure, say N.
70
Pawel Moll81a054c2012-05-09 18:30:16 +010071config VIRTIO_MMIO_CMDLINE_DEVICES
72 bool "Memory mapped virtio devices parameter parsing"
73 depends on VIRTIO_MMIO
74 ---help---
75 Allow virtio-mmio devices instantiation via the kernel command line
76 or module parameters. Be aware that using incorrect parameters (base
77 address in particular) can crash your system - you have been warned.
78 See Documentation/kernel-parameters.txt for details.
79
80 If unsure, say 'N'.
81
Ohad Ben-Cohene7254212011-07-05 17:06:14 +030082endmenu