From f310dc09164942ca266b63edf4f88f5a7f50585b Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 30 Mar 2022 12:12:47 +0200 Subject: [PATCH] hypervisor: Don't enable TDX debug This might not be correctly supported, therefore best to keep it disabled by default. Signed-off-by: Sebastien Boeuf --- hypervisor/src/kvm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/src/kvm/mod.rs b/hypervisor/src/kvm/mod.rs index 14a39ba8c..8636dc7f6 100644 --- a/hypervisor/src/kvm/mod.rs +++ b/hypervisor/src/kvm/mod.rs @@ -525,7 +525,7 @@ impl vm::Vm for KvmVm { let data = TdxInitVm { max_vcpus, tsc_khz: 0, - attributes: 1, // TDX1_TD_ATTRIBUTE_DEBUG, + attributes: 0, cpuid: cpuid.as_fam_struct_ptr() as u64, mrconfigid: [0; 6], mrowner: [0; 6],