Rusty Russell | ec3d41c | 2007-10-22 11:03:36 +1000 | [diff] [blame] | 1 | config VIRTIO |
Rusty Russell | c6fd470 | 2008-02-04 23:50:05 -0500 | [diff] [blame] | 2 | tristate |
Rusty Russell | 387daf1 | 2012-09-28 15:05:15 +0930 | [diff] [blame] | 3 | ---help--- |
| 4 | This option is selected by any driver which implements the virtio |
Juergen Gross | ecda85e | 2017-08-16 19:31:57 +0200 | [diff] [blame] | 5 | bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG |
| 6 | or CONFIG_S390_GUEST. |
Rusty Russell | 0a8a69d | 2007-10-22 11:03:40 +1000 | [diff] [blame] | 7 | |
Vincent Legoll | 7b95fec | 2018-01-07 12:33:56 +0100 | [diff] [blame] | 8 | menuconfig VIRTIO_MENU |
| 9 | bool "Virtio drivers" |
| 10 | default y |
| 11 | |
| 12 | if VIRTIO_MENU |
Ohad Ben-Cohen | e725421 | 2011-07-05 17:06:14 +0300 | [diff] [blame] | 13 | |
Anthony Liguori | 3343660 | 2007-11-12 21:30:26 -0600 | [diff] [blame] | 14 | config VIRTIO_PCI |
Kees Cook | d72c5a8 | 2012-10-02 11:19:07 -0700 | [diff] [blame] | 15 | tristate "PCI driver for virtio devices" |
| 16 | depends on PCI |
Anthony Liguori | 3343660 | 2007-11-12 21:30:26 -0600 | [diff] [blame] | 17 | select VIRTIO |
Anthony Liguori | 3343660 | 2007-11-12 21:30:26 -0600 | [diff] [blame] | 18 | ---help--- |
Michael S. Tsirkin | b2a6d51 | 2015-01-15 14:15:51 +0200 | [diff] [blame] | 19 | This driver provides support for virtio based paravirtual device |
Anthony Liguori | 3343660 | 2007-11-12 21:30:26 -0600 | [diff] [blame] | 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 | |
Anthony Liguori | 3343660 | 2007-11-12 21:30:26 -0600 | [diff] [blame] | 24 | If unsure, say M. |
| 25 | |
Michael S. Tsirkin | 46506da | 2015-01-15 16:06:26 +0200 | [diff] [blame] | 26 | config 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 | |
Rusty Russell | 6b35e40 | 2008-02-04 23:50:12 -0500 | [diff] [blame] | 45 | config VIRTIO_BALLOON |
Rusty Russell | 7a23eb2 | 2012-09-28 15:05:14 +0930 | [diff] [blame] | 46 | tristate "Virtio balloon driver" |
| 47 | depends on VIRTIO |
Konstantin Khlebnikov | 09316c0 | 2014-10-09 15:29:32 -0700 | [diff] [blame] | 48 | select MEMORY_BALLOON |
Rusty Russell | 6b35e40 | 2008-02-04 23:50:12 -0500 | [diff] [blame] | 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 | |
Gerd Hoffmann | 271c865 | 2015-03-27 12:46:12 +1030 | [diff] [blame] | 55 | config 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 | |
Pawel Moll | edfd52e | 2011-10-24 14:07:03 +0100 | [diff] [blame] | 65 | config VIRTIO_MMIO |
Kees Cook | d72c5a8 | 2012-10-02 11:19:07 -0700 | [diff] [blame] | 66 | tristate "Platform bus driver for memory mapped virtio devices" |
Andy Lutomirski | 780bc79 | 2016-02-02 21:46:36 -0800 | [diff] [blame] | 67 | depends on HAS_IOMEM && HAS_DMA |
Pawel Moll | edfd52e | 2011-10-24 14:07:03 +0100 | [diff] [blame] | 68 | select VIRTIO |
Pawel Moll | edfd52e | 2011-10-24 14:07:03 +0100 | [diff] [blame] | 69 | ---help--- |
| 70 | This drivers provides support for memory mapped virtio |
| 71 | platform device driver. |
| 72 | |
| 73 | If unsure, say N. |
| 74 | |
Pawel Moll | 81a054c | 2012-05-09 18:30:16 +0100 | [diff] [blame] | 75 | config 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. |
Mauro Carvalho Chehab | 8c27ceff3 | 2016-10-18 10:12:27 -0200 | [diff] [blame] | 82 | See Documentation/admin-guide/kernel-parameters.rst for details. |
Pawel Moll | 81a054c | 2012-05-09 18:30:16 +0100 | [diff] [blame] | 83 | |
| 84 | If unsure, say 'N'. |
| 85 | |
Vincent Legoll | 7b95fec | 2018-01-07 12:33:56 +0100 | [diff] [blame] | 86 | endif # VIRTIO_MENU |