xref: /linux/Documentation/ABI/testing/debugfs-vfio (revision 3342dc8b4623d835e7dd76a15cec2e5a94fe2f93)
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