mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
edfd52e636
This patch, based on virtio PCI driver, adds support for memory mapped (platform) virtio device. This should allow environments like qemu to use virtio-based block & network devices even on platforms without PCI support. One can define and register a platform device which resources will describe memory mapped control registers and "mailbox" interrupt. Such device can be also instantiated using the Device Tree node with compatible property equal "virtio,mmio". Cc: Anthony Liguori <aliguori@us.ibm.com> Cc: Michael S.Tsirkin <mst@redhat.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
# Virtio always gets selected by whoever wants it.
|
|
config VIRTIO
|
|
tristate
|
|
|
|
# Similarly the virtio ring implementation.
|
|
config VIRTIO_RING
|
|
tristate
|
|
depends on VIRTIO
|
|
|
|
menu "Virtio drivers"
|
|
|
|
config VIRTIO_PCI
|
|
tristate "PCI driver for virtio devices (EXPERIMENTAL)"
|
|
depends on PCI && EXPERIMENTAL
|
|
select VIRTIO
|
|
select VIRTIO_RING
|
|
---help---
|
|
This drivers 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).
|
|
|
|
Currently, the ABI is not considered stable so there is no guarantee
|
|
that this version of the driver will work with your VMM.
|
|
|
|
If unsure, say M.
|
|
|
|
config VIRTIO_BALLOON
|
|
tristate "Virtio balloon driver (EXPERIMENTAL)"
|
|
select VIRTIO
|
|
select VIRTIO_RING
|
|
---help---
|
|
This driver supports increasing and decreasing the amount
|
|
of memory within a KVM guest.
|
|
|
|
If unsure, say M.
|
|
|
|
config VIRTIO_MMIO
|
|
tristate "Platform bus driver for memory mapped virtio devices (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
select VIRTIO
|
|
select VIRTIO_RING
|
|
---help---
|
|
This drivers provides support for memory mapped virtio
|
|
platform device driver.
|
|
|
|
If unsure, say N.
|
|
|
|
endmenu
|