요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Immutable and extendable measurements
sysfs-devices-virtual-misc-tdx_guest:19-63MRCONFIGID·MROWNER·MROWNERCONFIG은 48-byte immutable IDs, MRTD는 initial TD content measurement, RTMR0-3은 48-byte SHA-384 value를 offset 0에서 extend하는 runtime registers입니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/devices/virtual/misc/tdx_guest/measurements/MRNAME[:HASH]
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
Value of a TDX measurement register (MR). MRNAME and HASH above
are placeholders. The optional suffix :HASH is used for MRs
that have associated hash algorithms. See below for a complete
list of TDX MRs exposed via sysfs. Refer to Intel TDX Module
ABI Specification for the definition of TDREPORT and the full
list of TDX measurements.
Intel TDX Module ABI Specification can be found at:
https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/documentation.html#architecture
See also:
https://docs.kernel.org/driver-api/coco/measurement-registers.html
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrconfigid
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
(RO) MRCONFIGID - 48-byte immutable storage typically used for
software-defined ID for non-owner-defined configuration of the
guest TD – e.g., run-time or OS configuration.
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrowner
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
(RO) MROWNER - 48-byte immutable storage typically used for
software-defined ID for the guest TD’s owner.
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrownerconfig
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
(RO) MROWNERCONFIG - 48-byte immutable storage typically used
for software-defined ID for owner-defined configuration of the
guest TD – e.g., specific to the workload rather than the
run-time or OS.
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrtd:sha384
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
(RO) MRTD - Measurement of the initial contents of the TD.
What: /sys/devices/virtual/misc/tdx_guest/measurements/rtmr[0123]:sha384
Date: April, 2025
KernelVersion: v6.16
Contact: [email protected]
Description:
(RW) RTMR[0123] - 4 Run-Time extendable Measurement Registers.
Read from any of these returns the current value of the
corresponding RTMR. Write extends the written buffer to the
RTMR. All writes must start at offset 0 and be 48 bytes in
size. Partial writes will result in EINVAL returned by the
write() syscall.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
TDX measurement-register naming template
1-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/MRNAME[:HASH] |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | TDX measurement register(MR)의 value입니다. MRNAME과 HASH는 placeholder이며, 연관된 hash algorithm이 있는 MR에는 optional :HASH suffix를 사용합니다. Sysfs로 expose되는 전체 TDX MR 목록은 아래 entries에 나옵니다. TDREPORT 정의와 전체 TDX measurement 목록은 Intel TDX Module ABI Specification을 참조하십시오. Specification은 https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/documentation.html#architecture 에 있습니다. https://docs.kernel.org/driver-api/coco/measurement-registers.html 도 참조하십시오. |
Immutable identity/configuration MRs와 measured/extendable SHA-384 registers입니다.
Register에 associated hash algorithm이 있을 때만 :HASH suffix를 붙입니다.
TDX guest configuration identifier
19-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/mrconfigid |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | (RO) MRCONFIGID는 보통 guest TD의 owner가 정의하지 않은 configuration, 예를 들어 runtime 또는 OS configuration의 software-defined ID로 쓰는 48-byte immutable storage입니다. |
TDX guest owner identifier
28-35| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/mrowner |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | (RO) MROWNER는 보통 guest TD owner의 software-defined ID로 쓰는 48-byte immutable storage입니다. |
TDX owner-defined configuration identifier
36-45| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/mrownerconfig |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | (RO) MROWNERCONFIG는 보통 guest TD의 owner-defined configuration을 위한 software-defined ID로 쓰는 48-byte immutable storage입니다. Runtime 또는 OS가 아니라 특정 workload에 대응하는 configuration이 예입니다. |
Initial TD contents measurement
46-52| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/mrtd:sha384 |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | (RO) MRTD는 TD initial contents의 measurement입니다. |
Run-time extendable measurement registers
53-63| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/virtual/misc/tdx_guest/measurements/rtmr[0123]:sha384 |
| Date | 2025년 4월 |
| KernelVersion | v6.16 |
| Contact | [email protected] |
| Description | (RW) RTMR[0123]은 네 개의 Run-Time extendable Measurement Register입니다. 어느 file이든 read하면 해당 RTMR의 current value가 반환됩니다. Write는 전달된 buffer를 RTMR에 extend합니다. 모든 write는 offset 0에서 시작하고 size가 48 bytes여야 합니다. Partial write는 write() syscall에서 EINVAL을 반환합니다. |
Write buffer가 유효하려면 offset과 size 조건을 모두 만족해야 합니다.
TDX measurement-register namespace
sysfs-devices-virtual-misc-tdx_guest:1-18MRNAME과 optional :HASH suffix로 TDX measurement register를 expose하며 TDREPORT 정의와 전체 measurement 목록은 Intel TDX Module ABI를 따릅니다.