2018-10-15 09:21:00 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Copyright (C) 2018, Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
|
|
|
|
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
#
|
|
|
|
# VirtIO is a virtualization standard for network and disk device drivers
|
|
|
|
# where just the guest's device driver "knows" it is running in a virtual
|
|
|
|
# environment, and cooperates with the hypervisor. This enables guests to
|
|
|
|
# get high performance network and disk operations, and gives most of the
|
|
|
|
# performance benefits of paravirtualization. In the U-Boot case, the guest
|
|
|
|
# is U-Boot itself, while the virtual environment are normally QEMU targets
|
|
|
|
# like ARM, RISC-V and x86.
|
|
|
|
#
|
|
|
|
# See http://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.pdf for
|
|
|
|
# the VirtIO specification v1.0.
|
|
|
|
|
|
|
|
menu "VirtIO Drivers"
|
|
|
|
|
|
|
|
config VIRTIO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option is selected by any driver which implements the virtio
|
|
|
|
transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI.
|
|
|
|
|
2018-10-15 09:21:02 +00:00
|
|
|
config VIRTIO_MMIO
|
|
|
|
bool "Platform bus driver for memory mapped virtio devices"
|
|
|
|
select VIRTIO
|
|
|
|
help
|
|
|
|
This driver provides support for memory mapped virtio
|
|
|
|
platform device driver.
|
|
|
|
|
2018-10-15 09:21:17 +00:00
|
|
|
config VIRTIO_PCI
|
|
|
|
bool "PCI driver for virtio devices"
|
2021-08-02 00:54:44 +00:00
|
|
|
depends on PCI
|
2018-10-15 09:21:17 +00:00
|
|
|
select VIRTIO
|
|
|
|
help
|
|
|
|
This driver provides support for virtio based paravirtual device
|
|
|
|
drivers over PCI.
|
|
|
|
|
2022-04-21 16:10:59 +00:00
|
|
|
config VIRTIO_PCI_LEGACY
|
|
|
|
bool "PCI driver for legacy virtio devices"
|
|
|
|
depends on PCI
|
|
|
|
select VIRTIO
|
|
|
|
default VIRTIO_PCI
|
|
|
|
help
|
|
|
|
This driver provides support for legacy virtio based paravirtual
|
|
|
|
device drivers over PCI.
|
|
|
|
|
2018-10-15 09:21:25 +00:00
|
|
|
config VIRTIO_SANDBOX
|
|
|
|
bool "Sandbox driver for virtio devices"
|
|
|
|
depends on SANDBOX
|
|
|
|
select VIRTIO
|
|
|
|
help
|
|
|
|
This driver provides support for Sandbox implementation of virtio
|
|
|
|
transport driver which is used for testing purpose only.
|
|
|
|
|
2018-10-15 09:21:03 +00:00
|
|
|
config VIRTIO_NET
|
|
|
|
bool "virtio net driver"
|
|
|
|
depends on VIRTIO
|
|
|
|
help
|
|
|
|
This is the virtual net driver for virtio. It can be used with
|
|
|
|
QEMU based targets.
|
|
|
|
|
2018-10-15 09:21:11 +00:00
|
|
|
config VIRTIO_BLK
|
|
|
|
bool "virtio block driver"
|
|
|
|
depends on VIRTIO
|
|
|
|
help
|
|
|
|
This is the virtual block driver for virtio. It can be used with
|
|
|
|
QEMU based targets.
|
|
|
|
|
2019-12-29 10:00:14 +00:00
|
|
|
config VIRTIO_RNG
|
2020-05-31 09:02:42 +00:00
|
|
|
bool "virtio rng driver"
|
|
|
|
depends on DM_RNG
|
|
|
|
depends on VIRTIO
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This is the virtual random number generator driver. It can be used
|
|
|
|
with QEMU based targets.
|
2018-10-15 09:21:00 +00:00
|
|
|
endmenu
|