요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
* Xen hypervisor reserved-memory binding
Expose one or more memory regions as reserved-memory to the guest
virtual machine. Typically, a region is configured at VM creation time
to be a shared memory area across multiple virtual machines for
communication among them.
For each of these pre-shared memory regions, a range is exposed under
the /reserved-memory node as a child node. Each range sub-node is named
xen-shmem@<address> and has the following properties:
- compatible:
compatible = "xen,shared-memory-v1"
- reg:
the base guest physical address and size of the shared memory region
- xen,offset: (borrower VMs only)
64 bit integer offset within the owner virtual machine's shared
memory region used for the mapping in the borrower VM.
- xen,id:
a string that identifies the shared memory region as specified in
the VM config file
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Xen 예약 공유 메모리
1-6하나 이상의 메모리 영역을 게스트 가상 머신에 예약 메모리로 노출합니다. 일반적으로 VM을 만들 때 여러 가상 머신 사이의 통신에 사용할 공유 메모리 영역으로 구성합니다.
예약 메모리 자식 노드
7-10미리 공유한 각 메모리 영역은 `/reserved-memory` 노드 아래의 자식 범위로 노출합니다. 각 범위 하위 노드의 이름은 `xen-shmem@<address>`입니다.
Xen 공유 메모리 속성
11-24`compatible`은 정확히 `compatible = "xen,shared-memory-v1"`로 지정합니다. `reg`는 공유 메모리 영역의 게스트 물리 시작 주소와 크기를 담습니다.
차용자 VM에서만 사용하는 `xen,offset`은 소유자 VM의 공유 메모리 영역 안에서 차용자 VM 매핑에 사용할 64비트 정수 오프셋입니다.
`xen,id`는 VM 구성 파일에 지정한 공유 메모리 영역을 식별하는 문자열입니다.
요약과 해설
xen,shared-memory.txt:1-24바인딩의 역할과 필수 속성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.