xref: /linux/Documentation/ABI/testing/debugfs-vfio (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
17b994177SLongfang LiuWhat:		/sys/kernel/debug/vfio
27b994177SLongfang LiuDate:		December 2023
37b994177SLongfang LiuKernelVersion:	6.8
47b994177SLongfang LiuContact:	Longfang Liu <liulongfang@huawei.com>
57b994177SLongfang LiuDescription:	This debugfs file directory is used for debugging
67b994177SLongfang Liu		of vfio devices, it's a common directory for all vfio devices.
77b994177SLongfang Liu		Vfio core will create a device subdirectory under this
87b994177SLongfang Liu		directory.
97b994177SLongfang Liu
107b994177SLongfang LiuWhat:		/sys/kernel/debug/vfio/<device>/migration
117b994177SLongfang LiuDate:		December 2023
127b994177SLongfang LiuKernelVersion:	6.8
137b994177SLongfang LiuContact:	Longfang Liu <liulongfang@huawei.com>
147b994177SLongfang LiuDescription:	This debugfs file directory is used for debugging
157b994177SLongfang Liu		of vfio devices that support live migration.
167b994177SLongfang Liu		The debugfs of each vfio device that supports live migration
177b994177SLongfang Liu		could be created under this directory.
187b994177SLongfang Liu
197b994177SLongfang LiuWhat:		/sys/kernel/debug/vfio/<device>/migration/state
207b994177SLongfang LiuDate:		December 2023
217b994177SLongfang LiuKernelVersion:	6.8
227b994177SLongfang LiuContact:	Longfang Liu <liulongfang@huawei.com>
237b994177SLongfang LiuDescription:	Read the live migration status of the vfio device.
247b994177SLongfang Liu		The contents of the state file reflects the migration state
257b994177SLongfang Liu		relative to those defined in the vfio_device_mig_state enum
26*451bb963SCédric Le Goater
27*451bb963SCédric Le GoaterWhat:		/sys/kernel/debug/vfio/<device>/migration/features
28*451bb963SCédric Le GoaterDate:		Oct 2025
29*451bb963SCédric Le GoaterKernelVersion:	6.18
30*451bb963SCédric Le GoaterContact:	Cédric Le Goater <clg@redhat.com>
31*451bb963SCédric Le GoaterDescription:	Read the migration features of the vfio device.
32