Re: [PATCH v6 00/27] VFIO PCI Live Update (noiommu mode)

From: David Matlack

Date: Fri Nov 06 2026 - 17:21:18 EST


On Mon Nov 2, 2026 at 3:36 PM UTC, Vipin Sharma wrote:

> David Matlack (4):
> vfio: Enforce preserved devices are retrieved via
> LIVEUPDATE_SESSION_RETRIEVE_FD
> docs: liveupdate: Add documentation for VFIO PCI
> vfio: selftests: Add vfio_pci_liveupdate_uapi_test
> vfio: selftests: Add Makefile support for TEST_GEN_PROGS_EXTENDED
>
> Vipin Sharma (23):
> vfio/pci: Factor out the reset logic in VFIO PCI device close path
> vfio: Export various helpers from VFIO
> liveupdate: Export symbols needed by modules
> vfio/pci: Register a file handler with Live Update Orchestrator
> PCI: liveupdate: Add helpers to preserve struct pci_saved_state
> vfio: Add helpers to identify device files that can be preserved
> vfio/pci: Preserve vfio-pci device files across Live Update
> vfio: Introduce vfio_find_device() helper
> vfio: Refactor vfio_device_fops_cdev_open()
> vfio: Add API to open cdev device for Live Update restore
> vfio/pci: Retrieve preserved device files after Live Update
> vfio/pci: Protect incoming preserved devices until they finish Live
> Update
> vfio/pci: Take over preserved devices without resetting them
> vfio: selftests: Build liveupdate library in VFIO selftests
> vfio: selftests: Initialize vfio_pci_device using a VFIO cdev FD
> vfio: selftests: Add iommufd noiommu mode
> vfio: selftests: Add helpers to map DMA memory at IOVA == PA in
> noiommu mode
> vfio: selftests: Add helpers for Live Update DMA memory and sysfs
> state
> vfio: selftests: Add an attach() driver op
> vfio: selftests: Test preserving noiommu devices in
> vfio_pci_liveupdate_uapi_test
> vfio: selftests: Add vfio_pci_liveupdate_kexec_test
> vfio: selftests: Verify that opening VFIO device fails during Live
> Update
> vfio: selftests: Add continuous DMA to vfio_pci_liveupdate_kexec_test

This series is getting quite long. I would consider splitting out the
selftests into its own series and we can iterate on each separately.