xref: /linux/Documentation/ABI/testing/debugfs-vfio (revision 76ce17f6f7f78ab79b9741388bdb4dafa985b4e9)
1What:		/sys/kernel/debug/vfio
2Date:		December 2023
3KernelVersion:	6.8
4Contact:	Longfang Liu <liulongfang@huawei.com>
5Description:	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
10What:		/sys/kernel/debug/vfio/<device>/migration
11Date:		December 2023
12KernelVersion:	6.8
13Contact:	Longfang Liu <liulongfang@huawei.com>
14Description:	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
19What:		/sys/kernel/debug/vfio/<device>/migration/state
20Date:		December 2023
21KernelVersion:	6.8
22Contact:	Longfang Liu <liulongfang@huawei.com>
23Description:	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
27What:		/sys/kernel/debug/vfio/<device>/migration/features
28Date:		Oct 2025
29KernelVersion:	6.18
30Contact:	Cédric Le Goater <clg@redhat.com>
31Description:	Read the migration features of the vfio device.
32