summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-09-23 00:02:14 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-25 11:31:28 +0300
commit6fec21449a62702a582cecbb0b351363e039c95e (patch)
treeef62742a58747275e7d852dec6fdc8526a4f14fd /arch/sh
parent79a8059d244e99454e474902e4325ee9b50e9178 (diff)
downloadlinux-6fec21449a62702a582cecbb0b351363e039c95e.tar.xz
KVM: x86: use correct page table format to check nested page table reserved bits
Intel CPUID on AMD host or vice versa is a weird case, but it can happen. Handle it by checking the host CPU vendor instead of the guest's in reset_tdp_shadow_zero_bits_mask. For speed, the check uses the fact that Intel EPT has an X (executable) bit while AMD NPT has NX. Reported-by: Borislav Petkov <bp@alien8.de> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions