Files
Lucas ManningandgVisor bot 1251360731 Implement save/restore for TPU/VFIO devices to enable cross device C/R.
This change enables save and restore for TPU/VFIO such that they can be saved
on one device and restored on another. The change tracks open VFIO/TPU FDs and,
during save, captures the PCI Bus:Device:Function (BDF) and IOMMU group
numbers so they can be properly remapped.

During restore, it remaps these old IDs to new IDs based on the restored
container's device configuration and reopens the necessary host file
descriptors. The remapping information is passed via the context to the
afterLoad methods of the VFIO/TPU FD implementations.

PiperOrigin-RevId: 944046973
2026-07-07 13:00:19 -07:00
..
2024-08-26 13:17:41 -07:00
2024-09-13 11:15:28 -07:00