Files
kata-containers/src
alex.lyn e6fff6f145 runtime-rs: Pass protection device config to payload conversion
This commit implements the conversion logic for the newly introduced
CoCo/Initdata configurations, ensuring that `ProtectionDevConfig` data,
particularly the `mrconfigid`, is correctly passed. And the main Changes
are as below:
- Importing `ProtectionDevConfig` for use in conversion logic.
- Extracting `protection_device` from `NamedHypervisorConfig` and
  passing it during the conversion to `VmConfig`.
- Updating the `TryFrom` implementation for `PayloadConfig` to accept
  the `ProtectionDevConfig` and use its `mrconfigid` to populate the
  `PayloadConfig`'s `mrconfigid` field.
- Adjusting unit tests to reflect the updated `PayloadConfig` conversion
  signature and `mrconfigid` handling.

Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
2026-04-07 09:49:32 +08:00
..
2026-04-01 09:11:28 +01:00
2026-03-30 10:45:28 +01:00
2026-03-23 10:34:28 +00:00