요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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바인딩의 역할과 필수 속성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.