drivers/vfio/pci/virtio

VFIO PCI variant driver for Virtio VFs (virtio-net and virtio-block)

A specialised passthrough driver that lets hypervisors hand virtio-net and virtio-block PCIe virtual functions directly to guest VMs while still supporting features like legacy I/O access and live migration. It is used mainly with NVIDIA BlueField DPUs and similar SmartNIC hardware that exposes virtio devices via SR-IOV, and it underpins live-migration of those VFs between hosts.

keep conf=0.88 deploy=low replacement=none subsystem=vfio category=virtualization
88%

recommendation

It should stay because the code is actively maintained and growing: introduced in late 2023 for virtio-net VFs, extended in early 2025 to cover virtio-block live migration, and updated again in late 2025 alongside broader VFIO API work. NVIDIA's current BlueField documentation shows it is the supported path for assigning virtio VFs to VMs and migrating them, so while overall deployment is niche, the hardware is still being sold and the driver is clearly not obsolete.

repository signals

6 files
2,091 source lines
15 commits, 5y
+2,665 / −539 lines added / removed, 5y
7 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 15 total · active in 10/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 2 commits · +595 −1 2024-01: 1 commit · +1 −1 2024-02: 1 commit · +26 −46 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 3 commits · +2,001 −434 2024-12: 1 commit · +3 −3 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +9 −6 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 1 commit · +3 −0 2025-08: 0 commits · +0 −0 2025-09: 1 commit · +1 −2 2025-10: 0 commits · +0 −0 2025-11: 3 commits · +22 −42 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 1 commit · +4 −4 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Initial upstream series introduced this driver for virtio-net VFs, exposing legacy I/O via VFIO rather than removing legacy-only functionality.

  2. lore.kernel.org

    Upstream expanded the driver in 2025 to support virtio-block live migration, showing feature growth rather than obsolescence.

  3. lore.kernel.org

    The driver received substantive VFIO API maintenance in late 2025 as part of active subsystem work.

  4. docs.nvidia.com

    Current vendor documentation describes live migration using Virtio VF PCIe devices and VFIO on BlueField-era deployments.

  5. docs.nvidia.com

    Current vendor deployment documentation shows SR-IOV virtio-net PF/VF provisioning and assignment of virtio VFs to VMs, indicating ongoing real-world deployment.

codex reasoning notes (technical)

Real driver confirmed locally via shell (`rg`, `sed`) in Kconfig/main.c: PCI driver with module_pci_driver() for virtio-net/block VFs. Lore evidence came from local `git -c safe.directory=... log -- drivers/vfio/pci/virtio`, which exposed canonical lore Link URLs for 2023 introduction, 2025 virtio-block enablement, and 2025 VFIO API conversion. Deployment evidence came from `web.search_query` to NVIDIA docs showing current BlueField virtio-net/VF live-migration and SR-IOV VF deployment guidance. Additional `web.search_query` against lore for removal/deprecate terms returned no hits; combined with substantive 2025 maintenance, that argues against deprecation. This is niche virtualization infrastructure, so deployments are low rather than medium/high, but it is clearly not obsolete.