← Documents Documentation/ABI/testing/debugfs-hisi-migration GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

HiSilicon accelerator VFIO migration debugfs ABI

HiSilicon accelerator VFIO live migration에 필요한 현재 device·queue·task·attribute data, 마지막 완료 migration data와 command channel status log debugfs files를 설명합니다.

Source pathDocumentation/ABI/testing/debugfs-hisi-migration
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Current와 migrated device data

debugfs-hisi-migration:1-17

dev_data는 live migration에 필요한 현재 configuration·status를, migf_data는 마지막 완료 migration에서 실제로 이동된 같은 device status data를 제공합니다.

Migration command channel status

debugfs-hisi-migration:19-25

Device command send·receive channel의 상태를 확인하고 결과에 따라 success 또는 failure logs를 반환합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/dev_data
2 Date: Jan 2025
3 KernelVersion: 6.13
4 Contact: Longfang Liu <liulongfang@huawei.com>
5 Description: Read the configuration data and some status data
6 required for device live migration. These data include device
7 status data, queue configuration data, some task configuration
8 data and device attribute data. The output format of the data
9 is defined by the live migration driver.
10
11 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/migf_data
12 Date: Jan 2025
13 KernelVersion: 6.13
14 Contact: Longfang Liu <liulongfang@huawei.com>
15 Description: Read the data from the last completed live migration.
16 This data includes the same device status data as in "dev_data".
17 The migf_data is the dev_data that is migrated.
18
19 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/cmd_state
20 Date: Jan 2025
21 KernelVersion: 6.13
22 Contact: Longfang Liu <liulongfang@huawei.com>
23 Description: Used to obtain the device command sending and receiving
24 channel status. Returns failure or success logs based on the
25 results.
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Live migration device data

1-17
공통 항목내용
Date2025년 1월
KernelVersion6.13
ContactLongfang Liu <liulongfang@huawei.com>
What설명
/sys/kernel/debug/vfio/<device>/migration/hisi_acc/dev_dataDevice live migration에 필요한 configuration data와 일부 status data를 읽습니다. Device status, queue configuration, 일부 task configuration과 device attribute data를 포함합니다. 출력 형식은 live migration driver가 정의합니다.
/sys/kernel/debug/vfio/<device>/migration/hisi_acc/migf_data마지막으로 완료된 live migration의 data를 읽습니다. dev_data와 같은 device status data를 포함하며, migf_data는 실제로 migration된 dev_data입니다.

Command send·receive channel status

19-25
항목내용
What/sys/kernel/debug/vfio/<device>/migration/hisi_acc/cmd_state
Date2025년 1월
KernelVersion6.13
ContactLongfang Liu <liulongfang@huawei.com>
DescriptionDevice command send·receive channel status를 확인합니다. 결과에 따라 failure 또는 success logs를 반환합니다.
HiSilicon live migration debug data 관계
Device / queue / task / attributesdev_dataLive migration driver formatMigration transfermigf_data
Command send channelcmd_stateSuccess or failure log
Command receive channelcmd_stateSuccess or failure log

현재 migration snapshot은 dev_data로 보이고, migration이 완료되면 실제 전달된 snapshot을 migf_data에서 확인한다. cmd_state는 그 과정의 command channel 결과를 보여 준다.