summaryrefslogtreecommitdiff
path: root/drivers/vfio/pci/virtio/Kconfig
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2023-12-19 12:16:24 -0700
committerAlex Williamson <alex.williamson@redhat.com>2023-12-19 12:16:24 -0700
commit0214392d5dd13876852be0dcf7a939fd5aa07da0 (patch)
tree0267d38b9f26fa1b36c5965688e6a1e05bcabb5a /drivers/vfio/pci/virtio/Kconfig
parent946cff255dfaa204cd7b7f05e3bb4b5b3466c6e7 (diff)
parenteb61eca0e8c3efbdd6d3c9d2b7f70bf67e165f7d (diff)
Merge branch 'v6.8/vfio/virtio' into v6.8/vfio/next
Diffstat (limited to 'drivers/vfio/pci/virtio/Kconfig')
-rw-r--r--drivers/vfio/pci/virtio/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/vfio/pci/virtio/Kconfig b/drivers/vfio/pci/virtio/Kconfig
new file mode 100644
index 000000000000..fc3a0be9d8d4
--- /dev/null
+++ b/drivers/vfio/pci/virtio/Kconfig
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config VIRTIO_VFIO_PCI
+ tristate "VFIO support for VIRTIO NET PCI devices"
+ depends on VIRTIO_PCI_ADMIN_LEGACY
+ select VFIO_PCI_CORE
+ help
+ This provides support for exposing VIRTIO NET VF devices which support
+ legacy IO access, using the VFIO framework that can work with a legacy
+ virtio driver in the guest.
+ Based on PCIe spec, VFs do not support I/O Space.
+ As of that this driver emulates I/O BAR in software to let a VF be
+ seen as a transitional device by its users and let it work with
+ a legacy driver.
+
+ If you don't know what to do here, say N.