요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
PMU policy and build identity
sysfs-hypervisor-xen:13-46Guest·hypervisor profiling 범위와 privilege를 정하는 PMU mode, feature bitset, live patching용 build ID를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/hypervisor/guest_type
2
Date: June 2017
3
KernelVersion: 4.13
4
Contact: xen-devel@lists.xenproject.org
5
Description: If running under Xen:
6
Type of guest:
7
"Xen": standard guest type on arm
8
"HVM": fully virtualized guest (x86)
9
"PV": paravirtualized guest (x86)
10
"PVH": fully virtualized guest without legacy emulation (x86)
12
What: /sys/hypervisor/pmu/pmu_mode
13
Date: August 2015
14
KernelVersion: 4.3
15
Contact: Boris Ostrovsky <boris.ostrovsky@oracle.com>
16
Description: If running under Xen:
17
Describes mode that Xen's performance-monitoring unit (PMU)
18
uses. Accepted values are:
20
====== ============================================
21
"off" PMU is disabled
22
"self" The guest can profile itself
23
"hv" The guest can profile itself and, if it is
24
privileged (e.g. dom0), the hypervisor
25
"all" The guest can profile itself, the hypervisor
26
and all other guests. Only available to
27
privileged guests.
28
====== ============================================
30
What: /sys/hypervisor/pmu/pmu_features
31
Date: August 2015
32
KernelVersion: 4.3
33
Contact: Boris Ostrovsky <boris.ostrovsky@oracle.com>
34
Description: If running under Xen:
35
Describes Xen PMU features (as an integer). A set bit indicates
36
that the corresponding feature is enabled. See
37
include/xen/interface/xenpmu.h for available features
39
What: /sys/hypervisor/properties/buildid
40
Date: June 2017
41
KernelVersion: 4.13
42
Contact: xen-devel@lists.xenproject.org
43
Description: If running under Xen:
44
Build id of the hypervisor, needed for hypervisor live patching.
45
Might return "<denied>" in case of special security settings
46
in the hypervisor.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Xen guest type
1-11| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/hypervisor/guest_type |
| Date | 2017년 6월 |
| KernelVersion | 4.13 |
| Contact | xen-devel@lists.xenproject.org |
| Description | Xen에서 실행 중일 때 guest type을 표시합니다. `Xen`은 Arm의 표준 guest type, `HVM`은 x86 fully virtualized guest, `PV`는 x86 paravirtualized guest, `PVH`는 legacy emulation이 없는 x86 fully virtualized guest입니다. |
ValueArchitectureMeaning
XenArmStandard guest
HVMx86Fully virtualized guest
PVx86Paravirtualized guest
PVHx86Fully virtualized without legacy emulation
Architecture와 virtualization 방식에 따른 guest type 값입니다.
Xen pmu mode
12-29| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/hypervisor/pmu/pmu_mode |
| Date | 2015년 8월 |
| KernelVersion | 4.3 |
| Contact | Boris Ostrovsky <boris.ostrovsky@oracle.com> |
| Description | Xen에서 실행 중일 때 Xen performance-monitoring unit(PMU)의 mode를 설명합니다. `off`는 PMU disabled, `self`는 guest 자체 profiling, `hv`는 guest 자체와 privileged guest(예: `dom0`)의 hypervisor profiling, `all`은 guest 자체·hypervisor·모든 다른 guests profiling을 허용합니다. `all`은 privileged guests에서만 사용할 수 있습니다. |
ModeProfiling scopePrivilege
offDisabledAny guest
selfCurrent guestAny guest
hvCurrent guest and hypervisorHypervisor access requires privileged guest
allCurrent guest, hypervisor and all guestsPrivileged guest only
Mode가 넓어질수록 profiling 대상과 필요한 privilege가 증가합니다.
Xen pmu features
30-38| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/hypervisor/pmu/pmu_features |
| Date | 2015년 8월 |
| KernelVersion | 4.3 |
| Contact | Boris Ostrovsky <boris.ostrovsky@oracle.com> |
| Description | Xen에서 실행 중일 때 Xen PMU features를 integer로 표시합니다. 설정된 각 bit는 대응하는 feature가 enabled임을 뜻하며, 사용 가능한 features는 `include/xen/interface/xenpmu.h`를 참조합니다. |
Xen buildid
39-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/hypervisor/properties/buildid |
| Date | 2017년 6월 |
| KernelVersion | 4.13 |
| Contact | xen-devel@lists.xenproject.org |
| Description | Xen에서 실행 중일 때 hypervisor의 build ID를 표시합니다. Hypervisor live patching에 필요하며, hypervisor의 특수 security settings에 따라 `<denied>`를 반환할 수 있습니다. |
Guest virtualization type
sysfs-hypervisor-xen:1-12Arm과 x86에서 Xen이 제공하는 표준, HVM, PV, PVH guest type의 의미를 구분합니다.