1*7b994177SLongfang LiuWhat: /sys/kernel/debug/vfio 2*7b994177SLongfang LiuDate: December 2023 3*7b994177SLongfang LiuKernelVersion: 6.8 4*7b994177SLongfang LiuContact: Longfang Liu <liulongfang@huawei.com> 5*7b994177SLongfang LiuDescription: This debugfs file directory is used for debugging 6*7b994177SLongfang Liu of vfio devices, it's a common directory for all vfio devices. 7*7b994177SLongfang Liu Vfio core will create a device subdirectory under this 8*7b994177SLongfang Liu directory. 9*7b994177SLongfang Liu 10*7b994177SLongfang LiuWhat: /sys/kernel/debug/vfio/<device>/migration 11*7b994177SLongfang LiuDate: December 2023 12*7b994177SLongfang LiuKernelVersion: 6.8 13*7b994177SLongfang LiuContact: Longfang Liu <liulongfang@huawei.com> 14*7b994177SLongfang LiuDescription: This debugfs file directory is used for debugging 15*7b994177SLongfang Liu of vfio devices that support live migration. 16*7b994177SLongfang Liu The debugfs of each vfio device that supports live migration 17*7b994177SLongfang Liu could be created under this directory. 18*7b994177SLongfang Liu 19*7b994177SLongfang LiuWhat: /sys/kernel/debug/vfio/<device>/migration/state 20*7b994177SLongfang LiuDate: December 2023 21*7b994177SLongfang LiuKernelVersion: 6.8 22*7b994177SLongfang LiuContact: Longfang Liu <liulongfang@huawei.com> 23*7b994177SLongfang LiuDescription: Read the live migration status of the vfio device. 24*7b994177SLongfang Liu The contents of the state file reflects the migration state 25*7b994177SLongfang Liu relative to those defined in the vfio_device_mig_state enum 26