diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-27 13:24:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-05 16:10:35 +0200 |
commit | b09481de91cce94342bac3327bb7633c39ff8bf6 (patch) | |
tree | 6ad29f9c18cab7c5845257b9042a16974efda249 /linux-user | |
parent | de431a655a7560d834e1187d6b30cb6b1946e90c (diff) | |
download | qemu-b09481de91cce94342bac3327bb7633c39ff8bf6.tar.gz qemu-b09481de91cce94342bac3327bb7633c39ff8bf6.tar.bz2 qemu-b09481de91cce94342bac3327bb7633c39ff8bf6.zip |
target-i386: fix protection bits in the TLB for SMEP
User pages must be marked as non-executable when running under SMEP;
otherwise, fetching the page first and then calling it will fail.
With this patch, all SMEP testcases in kvm-unit-tests now pass.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions