summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/Kconfig
blob: ecf66987b3ed17ff1798050892bda6397f25272a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SPDX-License-Identifier: GPL-2.0-only
config VIRTIO
	bool
	help
	  This option is selected by any driver which implements the virtio
	  bus, such as CONFIG_VIRTIO_MMIO, CONFIG_VIRTIO_PCI.

config ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS
	bool
	help
	  This option is selected if the architecture may need to enforce
	  VIRTIO_F_ACCESS_PLATFORM

menuconfig VIRTIO_MENU
	bool "Virtio drivers"
	default y

if VIRTIO_MENU

config VIRTIO_MMIO
	bool "Platform bus driver for memory mapped virtio devices"
	depends on HAS_DMA
	select VIRTIO
	help
	 This drivers provides support for memory mapped virtio
	 platform device driver. This is usually used with Qemu.

config VIRTIO_PCI
	tristate "PCI driver for virtio devices"
	depends on PCI && HAS_DMA
	select VIRTIO
	help
	  This driver provides support for virtio based paravirtual device
	  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).

endif # VIRTIO_MENU