| 1 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/MRNAME[:HASH] |
| 2 |
Date: April, 2025 |
| 3 |
KernelVersion: v6.16 |
| 4 |
Contact: [email protected] |
| 5 |
Description: |
| 6 |
Value of a TDX measurement register (MR). MRNAME and HASH above |
| 7 |
are placeholders. The optional suffix :HASH is used for MRs |
| 8 |
that have associated hash algorithms. See below for a complete |
| 9 |
list of TDX MRs exposed via sysfs. Refer to Intel TDX Module |
| 10 |
ABI Specification for the definition of TDREPORT and the full |
| 11 |
list of TDX measurements. |
| 12 |
|
| 13 |
Intel TDX Module ABI Specification can be found at: |
| 14 |
https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/documentation.html#architecture |
| 15 |
|
| 16 |
See also: |
| 17 |
https://docs.kernel.org/driver-api/coco/measurement-registers.html |
| 18 |
|
| 19 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrconfigid |
| 20 |
Date: April, 2025 |
| 21 |
KernelVersion: v6.16 |
| 22 |
Contact: [email protected] |
| 23 |
Description: |
| 24 |
(RO) MRCONFIGID - 48-byte immutable storage typically used for |
| 25 |
software-defined ID for non-owner-defined configuration of the |
| 26 |
guest TD – e.g., run-time or OS configuration. |
| 27 |
|
| 28 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrowner |
| 29 |
Date: April, 2025 |
| 30 |
KernelVersion: v6.16 |
| 31 |
Contact: [email protected] |
| 32 |
Description: |
| 33 |
(RO) MROWNER - 48-byte immutable storage typically used for |
| 34 |
software-defined ID for the guest TD’s owner. |
| 35 |
|
| 36 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrownerconfig |
| 37 |
Date: April, 2025 |
| 38 |
KernelVersion: v6.16 |
| 39 |
Contact: [email protected] |
| 40 |
Description: |
| 41 |
(RO) MROWNERCONFIG - 48-byte immutable storage typically used |
| 42 |
for software-defined ID for owner-defined configuration of the |
| 43 |
guest TD – e.g., specific to the workload rather than the |
| 44 |
run-time or OS. |
| 45 |
|
| 46 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/mrtd:sha384 |
| 47 |
Date: April, 2025 |
| 48 |
KernelVersion: v6.16 |
| 49 |
Contact: [email protected] |
| 50 |
Description: |
| 51 |
(RO) MRTD - Measurement of the initial contents of the TD. |
| 52 |
|
| 53 |
What: /sys/devices/virtual/misc/tdx_guest/measurements/rtmr[0123]:sha384 |
| 54 |
Date: April, 2025 |
| 55 |
KernelVersion: v6.16 |
| 56 |
Contact: [email protected] |
| 57 |
Description: |
| 58 |
(RW) RTMR[0123] - 4 Run-Time extendable Measurement Registers. |
| 59 |
Read from any of these returns the current value of the |
| 60 |
corresponding RTMR. Write extends the written buffer to the |
| 61 |
RTMR. All writes must start at offset 0 and be 48 bytes in |
| 62 |
size. Partial writes will result in EINVAL returned by the |
| 63 |
write() syscall. |