| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
config VIRTIO_VFIO_PCI |
| 3 |
tristate "VFIO support for VIRTIO PCI VF devices" |
| 4 |
depends on VIRTIO_PCI |
| 5 |
select VFIO_PCI_CORE |
| 6 |
help |
| 7 |
This provides migration support for VIRTIO NET and BLOCK PCI VF |
| 8 |
devices 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. |