Blame view

drivers/virtio/Kconfig 4.2 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
ec3d41c4d   Rusty Russell   Virtio interface
2
  config VIRTIO
c6fd47011   Rusty Russell   virtio: Allow vir...
3
  	tristate
a7f7f6248   Masahiro Yamada   treewide: replace...
4
  	help
387daf171   Rusty Russell   virtio: add help ...
5
  	  This option is selected by any driver which implements the virtio
ecda85e70   Juergen Gross   x86/lguest: Remov...
6
7
  	  bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
  	  or CONFIG_S390_GUEST.
0a8a69dd7   Rusty Russell   Virtio helper rou...
8

0afa15e1a   Pierre Morel   virtio: let arch ...
9
10
11
12
13
  config ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS
  	bool
  	help
  	  This option is selected if the architecture may need to enforce
  	  VIRTIO_F_ACCESS_PLATFORM
7b95fec6d   Vincent Legoll   virtio: make VIRT...
14
15
16
17
18
  menuconfig VIRTIO_MENU
  	bool "Virtio drivers"
  	default y
  
  if VIRTIO_MENU
e72542191   Ohad Ben-Cohen   virtio: expose fo...
19

3343660d8   Anthony Liguori   virtio: PCI device
20
  config VIRTIO_PCI
d72c5a8c8   Kees Cook   drivers/virtio: r...
21
22
  	tristate "PCI driver for virtio devices"
  	depends on PCI
3343660d8   Anthony Liguori   virtio: PCI device
23
  	select VIRTIO
a7f7f6248   Masahiro Yamada   treewide: replace...
24
  	help
b2a6d51dd   Michael S. Tsirkin   virtio_pci: Kconf...
25
  	  This driver provides support for virtio based paravirtual device
3343660d8   Anthony Liguori   virtio: PCI device
26
27
28
  	  drivers over PCI.  This requires that your VMM has appropriate PCI
  	  virtio backends.  Most QEMU based VMMs should support these devices
  	  (like KVM or Xen).
3343660d8   Anthony Liguori   virtio: PCI device
29
  	  If unsure, say M.
46506da5f   Michael S. Tsirkin   virtio_pci: add a...
30
31
32
33
  config VIRTIO_PCI_LEGACY
  	bool "Support for legacy virtio draft 0.9.X and older devices"
  	default y
  	depends on VIRTIO_PCI
a7f7f6248   Masahiro Yamada   treewide: replace...
34
  	help
46506da5f   Michael S. Tsirkin   virtio_pci: add a...
35
36
37
38
39
40
41
42
43
44
45
46
47
            Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
  
  	  This option enables building a transitional driver, supporting
  	  both devices conforming to Virtio 1 specification, and legacy devices.
  	  If disabled, you get a slightly smaller, non-transitional driver,
  	  with no legacy compatibility.
  
            So look out into your driveway.  Do you have a flying car?  If
            so, you can happily disable this option and virtio will not
            break.  Otherwise, leave it set.  Unless you're testing what
            life will be like in The Future.
  
  	  If unsure, say Y.
c043b4a8c   Jason Wang   virtio: introduce...
48
49
  config VIRTIO_VDPA
  	tristate "vDPA driver for virtio devices"
58ad13729   Michael S. Tsirkin   vdpa: make vhost,...
50
  	depends on VDPA
c043b4a8c   Jason Wang   virtio: introduce...
51
52
53
54
55
56
57
58
59
  	select VIRTIO
  	help
  	  This driver provides support for virtio based paravirtual
  	  device driver over vDPA bus. For this to be useful, you need
  	  an appropriate vDPA device implementation that operates on a
  	  physical device to allow the datapath of virtio to be
  	  offloaded to hardware.
  
  	  If unsure, say M.
6e84200c0   Pankaj Gupta   virtio-pmem: Add ...
60
61
62
63
64
65
66
67
68
69
  config VIRTIO_PMEM
  	tristate "Support for virtio pmem driver"
  	depends on VIRTIO
  	depends on LIBNVDIMM
  	help
  	  This driver provides access to virtio-pmem devices, storage devices
  	  that are mapped into the physical address space - similar to NVDIMMs
  	   - with a virtio-based flushing interface.
  
  	  If unsure, say Y.
6b35e4076   Rusty Russell   virtio: balloon d...
70
  config VIRTIO_BALLOON
7a23eb28f   Rusty Russell   virtio_balloon: n...
71
72
  	tristate "Virtio balloon driver"
  	depends on VIRTIO
09316c09d   Konstantin Khlebnikov   mm/balloon_compac...
73
  	select MEMORY_BALLOON
b0c504f15   Alexander Duyck   virtio-balloon: a...
74
  	select PAGE_REPORTING
a7f7f6248   Masahiro Yamada   treewide: replace...
75
  	help
6b35e4076   Rusty Russell   virtio: balloon d...
76
77
78
79
  	 This driver supports increasing and decreasing the amount
  	 of memory within a KVM guest.
  
  	 If unsure, say M.
5f1f79bbc   David Hildenbrand   virtio-mem: Parav...
80
81
82
83
84
85
86
  config VIRTIO_MEM
  	tristate "Virtio mem driver"
  	default m
  	depends on X86_64
  	depends on VIRTIO
  	depends on MEMORY_HOTPLUG_SPARSE
  	depends on MEMORY_HOTREMOVE
a96b0d061   Weilong Chen   virtio-mem: Fix b...
87
  	depends on CONTIG_ALLOC
5f1f79bbc   David Hildenbrand   virtio-mem: Parav...
88
89
90
91
92
93
94
95
  	help
  	 This driver provides access to virtio-mem paravirtualized memory
  	 devices, allowing to hotplug and hotunplug memory.
  
  	 This driver was only tested under x86-64, but should theoretically
  	 work on all architectures that support memory hotplug and hotremove.
  
  	 If unsure, say M.
271c86516   Gerd Hoffmann   Add virtio-input ...
96
97
98
99
  config VIRTIO_INPUT
  	tristate "Virtio input driver"
  	depends on VIRTIO
  	depends on INPUT
a7f7f6248   Masahiro Yamada   treewide: replace...
100
  	help
271c86516   Gerd Hoffmann   Add virtio-input ...
101
102
103
104
  	 This driver supports virtio input devices such as
  	 keyboards, mice and tablets.
  
  	 If unsure, say M.
6166e5330   Fabrizio Castro   virtio: Fix inden...
105
  config VIRTIO_MMIO
d72c5a8c8   Kees Cook   drivers/virtio: r...
106
  	tristate "Platform bus driver for memory mapped virtio devices"
780bc7903   Andy Lutomirski   virtio_ring: Supp...
107
  	depends on HAS_IOMEM && HAS_DMA
6166e5330   Fabrizio Castro   virtio: Fix inden...
108
  	select VIRTIO
a7f7f6248   Masahiro Yamada   treewide: replace...
109
  	help
6166e5330   Fabrizio Castro   virtio: Fix inden...
110
  	 This drivers provides support for memory mapped virtio
edfd52e63   Pawel Moll   virtio: Add platf...
111
112
113
  	 platform device driver.
  
   	 If unsure, say N.
81a054ce0   Pawel Moll   virtio-mmio: Devi...
114
115
116
  config VIRTIO_MMIO_CMDLINE_DEVICES
  	bool "Memory mapped virtio devices parameter parsing"
  	depends on VIRTIO_MMIO
a7f7f6248   Masahiro Yamada   treewide: replace...
117
  	help
81a054ce0   Pawel Moll   virtio-mmio: Devi...
118
119
120
  	 Allow virtio-mmio devices instantiation via the kernel command line
  	 or module parameters. Be aware that using incorrect parameters (base
  	 address in particular) can crash your system - you have been warned.
8c27ceff3   Mauro Carvalho Chehab   docs: fix locatio...
121
  	 See Documentation/admin-guide/kernel-parameters.rst for details.
81a054ce0   Pawel Moll   virtio-mmio: Devi...
122
123
  
  	 If unsure, say 'N'.
9fe2f8974   David Stevens   virtio: fix build...
124
  config VIRTIO_DMA_SHARED_BUFFER
e03a3cf3c   Alistair Delva   ANDROID: GKI: Unh...
125
  	tristate "Virtio DMA shared buffer support"
9fe2f8974   David Stevens   virtio: fix build...
126
127
128
129
  	depends on DMA_SHARED_BUFFER
  	help
  	 This option adds a flavor of dma buffers that are backed by
  	 virtio resources.
3621c70d4   Jan Kiszka   WIP: virtio: Add ...
130
131
132
133
134
135
136
137
138
  config VIRTIO_IVSHMEM
  	tristate "Driver for ivshmem-based virtio front-end devices"
  	depends on PCI && !HIGHMEM
  	select VIRTIO
  	help
  	  This provides virtio front-end devices via ivshmem shared memory
  	  devices.
  
  	  If unsure, say 'N'.
7b95fec6d   Vincent Legoll   virtio: make VIRT...
139
  endif # VIRTIO_MENU