KVM: X86: Skip allocating pae_root for vcpu->arch.guest_mmu when !tdp_enabled
authorLai Jiangshan <laijs@linux.alibaba.com>
Thu, 18 Nov 2021 11:08:09 +0000 (19:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:25:08 +0000 (04:25 -0500)
commit27f4fca29f9cfd740dcb7b2bc577bcfd02ae367d
treea2fe80f8e961ddee2a9bd303ddd0c5ff1128eed3
parent58356767107a6b02c9277810809aca8a36c473d7
KVM: X86: Skip allocating pae_root for vcpu->arch.guest_mmu when !tdp_enabled

It is never used.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211118110814.2568-11-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c