diff options
| author | Junaid Shahid <[email protected]> | 2018-05-04 18:37:13 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2018-05-11 09:21:12 +0000 |
| commit | c19986fea873f3c745122bf79013a872a190f212 (patch) | |
| tree | 3d2dd64d5a9cd0d5ef154be7cce2ca944597a8c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: selftests: exit with 0 status code when tests cannot be run (diff) | |
| download | kernel-c19986fea873f3c745122bf79013a872a190f212.tar.gz kernel-c19986fea873f3c745122bf79013a872a190f212.zip | |
kvm: x86: Suppress CR3_PCID_INVD bit only when PCIDs are enabled
If the PCIDE bit is not set in CR4, then the MSb of CR3 is a reserved
bit. If the guest tries to set it, that should cause a #GP fault. So
mask out the bit only when the PCIDE bit is set.
Signed-off-by: Junaid Shahid <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
