|
1 | 1 | # SPDX-License-Identifier: GPL-2.0-only
|
2 | 2 | config VIRTIO_VFIO_PCI
|
3 |
| - tristate "VFIO support for VIRTIO NET PCI devices" |
4 |
| - depends on VIRTIO_PCI && VIRTIO_PCI_ADMIN_LEGACY |
5 |
| - select VFIO_PCI_CORE |
6 |
| - help |
7 |
| - This provides support for exposing VIRTIO NET VF devices which support |
8 |
| - legacy IO access, using the VFIO framework that can work with a legacy |
9 |
| - virtio driver in the guest. |
10 |
| - Based on PCIe spec, VFs do not support I/O Space. |
11 |
| - As of that this driver emulates I/O BAR in software to let a VF be |
12 |
| - seen as a transitional device by its users and let it work with |
13 |
| - a legacy driver. |
14 |
| - |
15 |
| - If you don't know what to do here, say N. |
| 3 | + tristate "VFIO support for VIRTIO NET PCI VF devices" |
| 4 | + depends on VIRTIO_PCI |
| 5 | + select VFIO_PCI_CORE |
| 6 | + help |
| 7 | + This provides migration support for VIRTIO NET PCI VF devices |
| 8 | + using the VFIO framework. Migration support requires the |
| 9 | + SR-IOV PF device to support specific VIRTIO extensions, |
| 10 | + otherwise this driver provides no additional functionality |
| 11 | + beyond vfio-pci. |
| 12 | + |
| 13 | + Migration support in this driver relies on dirty page tracking |
| 14 | + provided by the IOMMU hardware and exposed through IOMMUFD, any |
| 15 | + other use cases are dis-recommended. |
| 16 | + |
| 17 | + If you don't know what to do here, say N. |
| 18 | + |
| 19 | +config VIRTIO_VFIO_PCI_ADMIN_LEGACY |
| 20 | + bool "Legacy I/O support for VIRTIO NET PCI VF devices" |
| 21 | + depends on VIRTIO_VFIO_PCI && VIRTIO_PCI_ADMIN_LEGACY |
| 22 | + default y |
| 23 | + help |
| 24 | + This extends the virtio-vfio-pci driver to support legacy I/O |
| 25 | + access, allowing use of legacy virtio drivers with VIRTIO NET |
| 26 | + PCI VF devices. Legacy I/O support requires the SR-IOV PF |
| 27 | + device to support and enable specific VIRTIO extensions, |
| 28 | + otherwise this driver provides no additional functionality |
| 29 | + beyond vfio-pci. |
| 30 | + |
| 31 | + If you don't know what to do here, say N. |
0 commit comments