mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: tdx: Unconditionally enable TDX debug
For now enable the TDX attribute for TDX debug. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -373,7 +373,7 @@ impl vm::Vm for KvmVm {
|
|||||||
let data = TdxInitVm {
|
let data = TdxInitVm {
|
||||||
max_vcpus,
|
max_vcpus,
|
||||||
reserved: 0,
|
reserved: 0,
|
||||||
attributes: 0,
|
attributes: 1, // TDX1_TD_ATTRIBUTE_DEBUG,
|
||||||
cpuid: cpuid.as_fam_struct_ptr() as u64,
|
cpuid: cpuid.as_fam_struct_ptr() as u64,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user