mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-18 21:55:59 +00:00
This commit extends the Cloud Hypervisor integration within `runtime-rs` to correctly process and extract CoCo related device configurations. Specifically, it includes: - Adds handling for `DeviceType::Protection` to `add_device`, allowing these devices to be queued for processing. - Retrieve the pending device list, identify and extract `ProtectionDevConfig` and implements the logic to handle the `mrconfigid` from protection device. This ensures that initdata related prameters are properly consumed by the runtime and made it available for Cloud Hypervisor to utilize during the setup of CVM. Signed-off-by: alex.lyn <alex.lyn@antgroup.com>