diff options
| author | Paolo Bonzini <[email protected]> | 2015-09-22 21:02:14 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2015-09-25 08:31:28 +0000 |
| commit | 6fec21449a62702a582cecbb0b351363e039c95e (patch) | |
| tree | ef62742a58747275e7d852dec6fdc8526a4f14fd /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | KVM: svm: do not call kvm_set_cr0 from init_vmcb (diff) | |
| download | kernel-6fec21449a62702a582cecbb0b351363e039c95e.tar.gz kernel-6fec21449a62702a582cecbb0b351363e039c95e.zip | |
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 <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
