xref: /linux/drivers/vfio/pci/virtio/Kconfig (revision bbfd5594756011167b8f8de9a00e0c946afda1e6)
1eb61eca0SYishai Hadas# SPDX-License-Identifier: GPL-2.0-only
2eb61eca0SYishai Hadasconfig VIRTIO_VFIO_PCI
3*384a5301SYishai Hadas	tristate "VFIO support for VIRTIO PCI VF devices"
440bcdb12SYishai Hadas	depends on VIRTIO_PCI
5eb61eca0SYishai Hadas	select VFIO_PCI_CORE
6eb61eca0SYishai Hadas	help
7*384a5301SYishai Hadas	  This provides migration support for VIRTIO NET and BLOCK PCI VF
8*384a5301SYishai Hadas	  devices using the VFIO framework. Migration support requires the
940bcdb12SYishai Hadas	  SR-IOV PF device to support specific VIRTIO extensions,
1040bcdb12SYishai Hadas	  otherwise this driver provides no additional functionality
1140bcdb12SYishai Hadas	  beyond vfio-pci.
1240bcdb12SYishai Hadas
1340bcdb12SYishai Hadas	  Migration support in this driver relies on dirty page tracking
1440bcdb12SYishai Hadas	  provided by the IOMMU hardware and exposed through IOMMUFD, any
1540bcdb12SYishai Hadas	  other use cases are dis-recommended.
1640bcdb12SYishai Hadas
1740bcdb12SYishai Hadas	  If you don't know what to do here, say N.
1840bcdb12SYishai Hadas
1940bcdb12SYishai Hadasconfig VIRTIO_VFIO_PCI_ADMIN_LEGACY
2040bcdb12SYishai Hadas	bool "Legacy I/O support for VIRTIO NET PCI VF devices"
2140bcdb12SYishai Hadas	depends on VIRTIO_VFIO_PCI && VIRTIO_PCI_ADMIN_LEGACY
2240bcdb12SYishai Hadas	default y
2340bcdb12SYishai Hadas	help
2440bcdb12SYishai Hadas	  This extends the virtio-vfio-pci driver to support legacy I/O
2540bcdb12SYishai Hadas	  access, allowing use of legacy virtio drivers with VIRTIO NET
2640bcdb12SYishai Hadas	  PCI VF devices. Legacy I/O support requires the SR-IOV PF
2740bcdb12SYishai Hadas	  device to support and enable specific VIRTIO extensions,
2840bcdb12SYishai Hadas	  otherwise this driver provides no additional functionality
2940bcdb12SYishai Hadas	  beyond vfio-pci.
30eb61eca0SYishai Hadas
31eb61eca0SYishai Hadas	  If you don't know what to do here, say N.
32