← Documents Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Reserved Memory

Xen 공유 예약 메모리

Xen VM 사이에 미리 공유한 예약 메모리 영역의 속성을 설명합니다.

Source pathDocumentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

xen,shared-memory.txt:1-24

바인딩의 역할과 필수 속성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Xen hypervisor reserved-memory binding
2
3 Expose one or more memory regions as reserved-memory to the guest
4 virtual machine. Typically, a region is configured at VM creation time
5 to be a shared memory area across multiple virtual machines for
6 communication among them.
7
8 For each of these pre-shared memory regions, a range is exposed under
9 the /reserved-memory node as a child node. Each range sub-node is named
10 xen-shmem@<address> and has the following properties:
11
12 - compatible:
13 compatible = "xen,shared-memory-v1"
14
15 - reg:
16 the base guest physical address and size of the shared memory region
17
18 - xen,offset: (borrower VMs only)
19 64 bit integer offset within the owner virtual machine's shared
20 memory region used for the mapping in the borrower VM.
21
22 - xen,id:
23 a string that identifies the shared memory region as specified in
24 the VM config file
25

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 구성 파일에 지정한 공유 메모리 영역을 식별하는 문자열입니다.