CONFIG_VIRTIO_ANCHOR
CONFIG_VIRTIO
- Off
- Module
- Built in
This option is selected by any driver which implements the virtio bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG or CONFIG_S390_GUEST.
- Selects
VIRTIO_ANCHOR
CONFIG_VIRTIO_PCI_LIB
- Off
- Module
- Built in
Modern PCI device implementation. This module implements the basic probe and control for devices which are based on modern PCI device with possible vendor specific extensions. Any module that selects this module must depend on PCI.
CONFIG_VIRTIO_PCI_LIB_LEGACY
- Off
- Module
- Built in
Legacy PCI device (Virtio PCI Card 0.9.x Draft and older device) implementation. This module implements the basic probe and control for devices which are based on legacy PCI device. Any module that selects this module must depend on PCI.
CONFIG_VIRTIO_MENU Virtio drivers
If VIRTIO_MENU
CONFIG_VIRTIO_HARDEN_NOTIFICATION Harden virtio notification
Enable this to harden the device notifications and suppress those that happen at a time where notifications are illegal.
Experimental: Note that several drivers still have issues that may cause crashes or hangs when correct handling of notifications is enforced; depending on the subset of drivers and devices you use, this may or may not work.
If unsure, say N.
- Depends on
VIRTIO_MENU && BROKEN
CONFIG_VIRTIO_PCI PCI driver for virtio devices
- Off
- Module
- Built in
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).
If unsure, say M.
- Depends on
VIRTIO_MENU && PCI - Selects
VIRTIO_PCI_LIB if VIRTIO_MENU && PCI - Selects
VIRTIO if VIRTIO_MENU && PCI
CONFIG_VIRTIO_PCI_ADMIN_LEGACY
- Depends on
VIRTIO_MENU && VIRTIO_PCI && (X86 || COMPILE_TEST)
If VIRTIO_PCI
CONFIG_VIRTIO_PCI_LEGACY Support for legacy virtio draft 0.9.X and older devices
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.
- Depends on
VIRTIO_MENU && VIRTIO_PCI - Selects
VIRTIO_PCI_LIB_LEGACY if VIRTIO_MENU && VIRTIO_PCI
CONFIG_VIRTIO_VDPA vDPA driver for virtio devices
- Off
- Module
- Built in
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.
- Depends on
VIRTIO_MENU && VDPA - Selects
VIRTIO if VIRTIO_MENU && VDPA
CONFIG_VIRTIO_PMEM Support for virtio pmem driver
- Off
- Module
- Built in
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.
- Depends on
VIRTIO_MENU && VIRTIO && LIBNVDIMM
CONFIG_VIRTIO_BALLOON Virtio balloon driver
- Off
- Module
- Built in
This driver supports increasing and decreasing the amount of memory within a KVM guest.
If unsure, say M.
- Depends on
VIRTIO_MENU && VIRTIO - Selects
BALLOON if VIRTIO_MENU && VIRTIO - Selects
PAGE_REPORTING if VIRTIO_MENU && VIRTIO
CONFIG_VIRTIO_MEM Virtio mem driver
- Off
- Module
- Built in
This driver provides access to virtio-mem paravirtualized memory devices, allowing to hotplug and hotunplug memory.
This driver currently supports x86-64, arm64, riscv and s390. Although it should compile on other architectures that implement memory hot(un)plug, architecture-specific and/or common code changes may be required for virtio-mem, kdump and kexec to work as expected.
If unsure, say M.
- Depends on
VIRTIO_MENU && ( || ARM64 || RISCV || S390) && VIRTIO && MEMORY_HOTPLUG && MEMORY_HOTREMOVE && CONTIG_ALLOC && EXCLUSIVE_SYSTEM_RAM
CONFIG_VIRTIO_INPUT Virtio input driver
- Off
- Module
- Built in
This driver supports virtio input devices such as keyboards, mice and tablets.
If unsure, say M.
- Depends on
VIRTIO_MENU && VIRTIO && INPUT
CONFIG_VIRTIO_MMIO Platform bus driver for memory mapped virtio devices
- Off
- Module
- Built in
This drivers provides support for memory mapped virtio platform device driver.
If unsure, say N.
- Depends on
VIRTIO_MENU && HAS_IOMEM && HAS_DMA - Selects
VIRTIO if VIRTIO_MENU && HAS_IOMEM && HAS_DMA
If VIRTIO_MMIO
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES Memory mapped virtio devices parameter parsing
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. See Documentation/admin-guide/kernel-parameters.rst for details.
If unsure, say 'N'.
- Depends on
VIRTIO_MENU && VIRTIO_MMIO
CONFIG_VIRTIO_DMA_SHARED_BUFFER
- Off
- Module
- Built in
This option adds a flavor of dma buffers that are backed by virtio resources.
- Depends on
VIRTIO_MENU && DMA_SHARED_BUFFER
CONFIG_VIRTIO_DEBUG Debug facilities
Enable this to expose debug facilities over debugfs. This allows to debug features, to see what features the device advertises and to set filter for features used by driver.
If unsure, say N.
- Depends on
VIRTIO_MENU && VIRTIO
CONFIG_VIRTIO_RTC Virtio RTC driver
- Off
- Module
- Built in
This driver provides current time from a Virtio RTC device. The driver provides the time through one or more clocks. The Virtio RTC PTP clocks and/or the Real Time Clock driver for Virtio RTC must be enabled to expose the clocks to userspace.
To compile this code as a module, choose M here: the module will be called virtio_rtc.
If unsure, say M.
- Depends on
VIRTIO_MENU && VIRTIO && PTP_1588_CLOCK_OPTIONAL
If VIRTIO_RTC
- Depends on
VIRTIO_MENU && VIRTIO_RTC
WARNING: Consider enabling VIRTIO_RTC_PTP and/or VIRTIO_RTC_CLASS.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && !VIRTIO_RTC_PTP && !VIRTIO_RTC_CLASS
Enable PTP_1588_CLOCK in order to enable VIRTIO_RTC_PTP.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && PTP_1588_CLOCK=n
CONFIG_VIRTIO_RTC_PTP Virtio RTC PTP clocks
This exposes any Virtio RTC clocks as PTP Hardware Clocks (PHCs) to userspace. The PHC sysfs attribute "clock_name" describes the clock type.
If unsure, say Y.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && PTP_1588_CLOCK
If VIRTIO_RTC_PTP
CONFIG_VIRTIO_RTC_ARM Virtio RTC cross-timestamping using Arm Generic Timer
This enables Virtio RTC cross-timestamping using the Arm Generic Timer. It only has an effect if the Virtio RTC device also supports this. The cross-timestamp is available through the PTP clock driver precise cross-timestamp ioctl (PTP_SYS_OFFSET_PRECISE2 aka PTP_SYS_OFFSET_PRECISE).
If unsure, say Y.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && VIRTIO_RTC_PTP && ARM_ARCH_TIMER
Enable RTC_CLASS in order to enable VIRTIO_RTC_CLASS.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && !RTC_CLASS
CONFIG_VIRTIO_RTC_CLASS Real Time Clock driver for Virtio RTC
This exposes the Virtio RTC UTC-like clock as a Linux Real Time Clock. It only has an effect if the Virtio RTC device has a UTC-like clock which smears leap seconds to avoid steps. The Real Time Clock is read-only, and may support setting an alarm.
If unsure, say Y.
- Depends on
VIRTIO_MENU && VIRTIO_RTC && RTC_CLASS