summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-10-03 01:10:03 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-03 12:07:25 +0100
commitc49c759f7a68b70d2fed019760a66843b3df39b8 (patch)
tree74cbdd262839df571ed9ef86b6603fb0f1e0cb68 /arch/x86/kvm/svm.c
parent0e8a09969afb56b6bcdfe159f90a5fa20f831e85 (diff)
downloadop-kernel-dev-c49c759f7a68b70d2fed019760a66843b3df39b8.zip
op-kernel-dev-c49c759f7a68b70d2fed019760a66843b3df39b8.tar.gz
KVM: x86: Emulator performs code segment checks on read access
When read access is performed using a readable code segment, the "conforming" and "non-conforming" checks should not be done. As a result, read using non-conforming readable code segment fails. This is according to Intel SDM 5.6.1 ("Accessing Data in Code Segments"). The fix is not to perform the "non-conforming" checks if the access is not a fetch; the relevant checks are already done when loading the segment. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud