lkml.org 
[lkml]   [2020]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 66/67] fixup! KVM: TDX: Add "basic" support for building and running Trust Domains
Date
From: Isaku Yamahata <isaku.yamahata@intel.com>

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

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. */
--
2.17.1
\
 
 \ /
  Last update: 2020-11-16 19:39    [W:0.594 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site