diff mbox series

[RFC,66/67] fixup! KVM: TDX: Add "basic" support for building and running Trust Domains

Message ID 53e3cbd5e790fd41a8c12c3560409da7d19e1523.1605232743.git.isaku.yamahata@intel.com (mailing list archive)
State New, archived
Headers show
Series KVM: X86: TDX support | expand

Commit Message

Isaku Yamahata Nov. 16, 2020, 6:26 p.m. UTC
From: Isaku Yamahata <isaku.yamahata@intel.com>

---
 arch/x86/kvm/vmx/tdx.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/kvm/vmx/tdx.c b/arch/x86/kvm/vmx/tdx.c
index adcb866861b7..d2c1766416f2 100644
--- a/arch/x86/kvm/vmx/tdx.c
+++ b/arch/x86/kvm/vmx/tdx.c
@@ -331,9 +331,6 @@  static int tdx_vm_init(struct kvm *kvm)
 	kvm->arch.mce_injection_disallowed = true;
 	kvm_mmu_set_mmio_spte_mask(kvm, 0, 0);
 
-	/* TODO: Enable 2mb and 1gb large page support. */
-	kvm->arch.tdp_max_page_level = PG_LEVEL_4K;
-
 	kvm_apicv_init(kvm, true);
 
 	/* vCPUs can't be created until after KVM_TDX_INIT_VM. */