mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 00:23:24 +00:00
Support TDX debugging feature
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
05ff441577
commit
d67976da88
@ -43,14 +43,14 @@ pub(crate) fn init_cvm_guest() {
|
||||
match init_tdx() {
|
||||
Ok(td_info) => {
|
||||
early_println!(
|
||||
"Intel TDX initialized\ntd gpaw: {}, td attributes: {:?}",
|
||||
"[kernel] Intel TDX initialized\n[kernel] td gpaw: {}, td attributes: {:?}",
|
||||
td_info.gpaw,
|
||||
td_info.attributes
|
||||
);
|
||||
}
|
||||
Err(InitError::TdxGetVpInfoError(td_call_error)) => {
|
||||
panic!(
|
||||
"Intel TDX not initialized, Failed to get TD info: {:?}",
|
||||
"[kernel] Intel TDX not initialized, Failed to get TD info: {:?}",
|
||||
td_call_error
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user