mirror_ubuntu-kernels/arch/x86/kvm/mmu
Paolo Bonzini 7adacf5eb2 KVM: x86: use CPUID to locate host page table reserved bits
The comment in kvm_get_shadow_phys_bits refers to MKTME, but the same is actually
true of SME and SEV.  Just use CPUID[0x8000_0008].EAX[7:0] unconditionally if
available, it is simplest and works even if memory is not encrypted.

Cc: stable@vger.kernel.org
Reported-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-08 17:33:12 +01:00
..
mmu.c KVM: x86: use CPUID to locate host page table reserved bits 2020-01-08 17:33:12 +01:00
page_track.c
paging_tmpl.h