| 1 | What: /sys/kernel/debug/vfio |
| 2 | Date: December 2023 |
| 3 | KernelVersion: 6.8 |
| 4 | Contact: Longfang Liu <[email protected]> |
| 5 | Description: This debugfs file directory is used for debugging |
| 6 | of vfio devices, it's a common directory for all vfio devices. |
| 7 | Vfio core will create a device subdirectory under this |
| 8 | directory. |
| 9 | |
| 10 | What: /sys/kernel/debug/vfio/<device>/migration |
| 11 | Date: December 2023 |
| 12 | KernelVersion: 6.8 |
| 13 | Contact: Longfang Liu <[email protected]> |
| 14 | Description: This debugfs file directory is used for debugging |
| 15 | of vfio devices that support live migration. |
| 16 | The debugfs of each vfio device that supports live migration |
| 17 | could be created under this directory. |
| 18 | |
| 19 | What: /sys/kernel/debug/vfio/<device>/migration/state |
| 20 | Date: December 2023 |
| 21 | KernelVersion: 6.8 |
| 22 | Contact: Longfang Liu <[email protected]> |
| 23 | Description: Read the live migration status of the vfio device. |
| 24 | The contents of the state file reflects the migration state |
| 25 | relative to those defined in the vfio_device_mig_state enum |
| 26 | |
| 27 | What: /sys/kernel/debug/vfio/<device>/migration/features |
| 28 | Date: Oct 2025 |
| 29 | KernelVersion: 6.18 |
| 30 | Contact: Cédric Le Goater <[email protected]> |
| 31 | Description: Read the migration features of the vfio device. |
| 32 | |
| 33 | What: /sys/kernel/debug/vfio/<device>/pci |
| 34 | Date: June 2026 |
| 35 | KernelVersion: 7.2 |
| 36 | Contact: Alex Williamson <[email protected]> |
| 37 | Description: This debugfs file directory is used for debugging |
| 38 | VFIO PCI devices. |
| 39 | |
| 40 | What: /sys/kernel/debug/vfio/<device>/pci/nointxmask |
| 41 | Date: June 2026 |
| 42 | KernelVersion: 7.2 |
| 43 | Contact: Alex Williamson <[email protected]> |
| 44 | Description: Read the nointxmask policy latched for this device. This |
| 45 | policy governs whether the device may use PCI 2.3 style |
| 46 | INTx masking when supported, reporting a value of "N", or |
| 47 | requires APIC level INTx masking, reporting a value of "Y". |
| 48 | |
| 49 | What: /sys/kernel/debug/vfio/<device>/pci/disable_idle_d3 |
| 50 | Date: June 2026 |
| 51 | KernelVersion: 7.2 |
| 52 | Contact: Alex Williamson <[email protected]> |
| 53 | Description: Read the disable_idle_d3 policy latched for this device. This |
| 54 | policy governs whether the device PM runtime usage count is |
| 55 | kept elevated while the device is bound to the driver and |
| 56 | unused, reporting a value of "Y", or decremented to allow the |
| 57 | device to enter a low power state, reporting a value of "N". |