요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/.../<device>/vfio-dev/vfioX/
2
Date: September 2022
3
Contact: Yi Liu <[email protected]>
4
Description:
5
This directory is created when the device is bound to a
6
vfio driver. The layout under this directory matches what
7
exists for a standard 'struct device'. 'X' is a unique
8
index marking this device in vfio.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
VFIO-bound device instance
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/.../<device>/vfio-dev/vfioX/ |
| Date | 2022년 9월 |
| Contact | Yi Liu <[email protected]> |
| Description | Device가 VFIO driver에 bind되면 이 directory가 생성됩니다. Directory 아래 layout은 standard struct device의 layout과 같습니다. X는 VFIO에서 이 device를 표시하는 unique index입니다. |
Device binds to a VFIO driver→Create vfio-dev/vfioX/→X uniquely identifies device in VFIO→Expose standard struct device layout
VFIO binding이 uniquely indexed standard-device subtree를 만듭니다.
VFIO-bound device directory
sysfs-devices-vfio-dev:1-8vfioX는 VFIO 안에서 device를 식별하는 unique index이며 subtree는 일반 struct device와 같은 layout을 사용합니다.