mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 12:06:49 +00:00
runtime-rs: Specify the initdata to mrconfigid correctly
During sandbox preparation, initdata should be specified to TdxConfig, specially mrconfigid, which is used to pass to tdx guest report for measurement. Fixes #11180 Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
d6d8497b56
commit
afcb042c28
@ -425,7 +425,7 @@ impl VirtSandbox {
|
|||||||
id: "tdx".to_owned(),
|
id: "tdx".to_owned(),
|
||||||
firmware: hypervisor_config.boot_info.firmware.clone(),
|
firmware: hypervisor_config.boot_info.firmware.clone(),
|
||||||
qgs_port: hypervisor_config.security_info.qgs_port,
|
qgs_port: hypervisor_config.security_info.qgs_port,
|
||||||
mrconfigid: None,
|
mrconfigid: init_data,
|
||||||
debug: false,
|
debug: false,
|
||||||
})))
|
})))
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user